HTTP Error 500

Hi,
I'm just a beginner with this kind of things and I hope you could help me. I have successfully deployed your proxy script on my VPS. Just yesterday, it doesn't work anymore with HTTP error 500.
I have destroyed the droplet and start fresh and used your one-click install and with still the same issue.
Hope you could help me. Thank you in advance!

Yup, I'm aware of this issue. This is the issue:
https://github.com/Athlon1600/php-proxy/issues/60

Hello, thank you for acknowledging the issue. May I know if the solution will be automatic and nothing to do/change in our config? thank you!

Not sure. Is your system setup to automatically update php-proxy package via "composer update"?

I think if my config had the problem without me changing anything, then it automatically updates right?
By the way, why does unblockvideos.com works even though it is based on PHP-proxy? Anyway, thanks for this proxy and looking forward on your fix

It's automatically updated if you have a cron-job or something similar that runs periodically and calls the command "composer update" inside a directory where php-proxy-app is installed. If you installed php-proxy-app via this installer:
https://github.com/Athlon1600/php-proxy-installer
then that periodic check is automatically added to your list of cron-jobs. Either way, it's not going to matter in a few days because I plan on fixing it today or tomorrow.

@Athlon1600 Hi, so older version will be fine?
I hope to deploy one

Is this caused by PHP7?
The default version installed by ubuntu16.04 is PHP7.

Do a "composer update" now and it should work with this new release:
https://github.com/Athlon1600/php-proxy/commit/12584d6892779c719d26f79bf464e7d9a2b48f88

Alright, it is now working!
Thank you so much!


It doesn't seem to catch impl block in Rust

When you are in a function inside an implementation in Rust, this doesn't show the impl line. It would be really helpful. context.vim also doesn't show it (only sometimes, it's weird)

Either install ts-playground and tell me which groups are missing, or provide an example Rust source file with annotations where the missing groups are. Group names are things like for_in_statement or function_declaration.


Pasting with long press does not work (in a very specific case) (iOS only)

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
Nothing happens when trying to paste on iOS (long press inside TextInput, not ctrl+v) when:

The TextInput is inside a wrapping View.
The wrapping View has style with flexDirection: 'row'.
The TextInput has style with textAlign: 'center'.
The TextInput has a placeholder.
The placeholder is longer than the size of the TextInput (this is what I think from the testing I've done - see the examples in the example project).

React Native version:
This is from the example project.
System:
OS: macOS Mojave 10.14.6
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Memory: 451.64 MB / 16.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 11.13.0 - ~/.nvm/versions/node/v11.13.0/bin/node
Yarn: 1.19.1 - /usr/local/bin/yarn
npm: 6.13.4 - ~/.nvm/versions/node/v11.13.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.8.4 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 21, 22, 23, 24, 25, 26, 27, 28, 29
Build Tools: 26.0.1, 26.0.3, 27.0.3, 28.0.3, 29.0.0
System Images: android-19 | Google APIs Intel x86 Atom, android-22 | Google APIs Intel x86 Atom, android-24 | Google Play Intel x86 Atom, android-26 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64
Android NDK: 17.2.4988734
IDEs:
Android Studio: 3.5 AI-191.8<IP_ADDRESS>77832
Xcode: 11.2.1/11B500 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_201 - /usr/bin/javac
Python: 2.7.10 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
npmGlobalPackages:
react-native: Not Found
Steps To Reproduce

Use the example project or copy the small snippet bellow into an existing project.
Long press on the first TextInput to try and paste into it.

Expected Results
The platform's paste option should open (as it does on the other examples I provided in the example project).
Snack, code example, screenshot, or link to a repository:
Example project: https://github.com/M-i-k-e-l/react-native-paste-on-ios/blob/master/App.js
Minimal code:
<View style={{flexDirection: 'row'}}>
  <TextInput style={{textAlign: 'center'}} placeholder="Placeholder"/>
</View>

i'm too have this problem =/

Something weird: the scenario were the pasting does not occur still happens but when trying to paste in a previously working scenario the app becomes stuck...
The new example project info is below.
System:
OS: macOS Mojave 10.14.6
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Memory: 1.78 GB / 16.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 11.13.0 - ~/.nvm/versions/node/v11.13.0/bin/node
Yarn: 1.19.1 - /usr/local/bin/yarn
npm: 6.13.4 - ~/.nvm/versions/node/v11.13.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.8.4 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 21, 22, 23, 24, 25, 26, 27, 28, 29
Build Tools: 26.0.1, 26.0.3, 27.0.3, 28.0.3, 29.0.0, 29.0.2
System Images: android-19 | Google APIs Intel x86 Atom, android-22 | Google APIs Intel x86 Atom, android-24 | Google Play Intel x86 Atom, android-26 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom
Android NDK: 17.2.4988734
IDEs:
Android Studio: 4.0 AI-193.69<IP_ADDRESS>26763
Xcode: 11.2.1/11B500 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_201 - /usr/bin/javac
Python: 2.7.10 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.2 => 0.63.2
npmGlobalPackages:
react-native: Not Found

I'll wait for the next major version before I reproduce this again for you 🤖 .


Add support for the component groups syntax

Pull Request Description

Add support for a new metadata syntax describing the component groups:
component-groups:
  new:
  - Group 1:
    color: '#C047AB'
    icon: icon-name
    exports:
      - foo:
        shortcut: f
      - bar
  extends:
  - Standard.Base.Group 2:
    exports:
      - bax

Changelog:

feat: Extend the package config description with the new component groups
feat: Implement the JSON codecs
fix: Enso runner shows the original failure message when loading the package

Important Notes

Checklist
Please include the following checklist in your PR:

[x] The documentation has been updated if necessary.
[x] All code conforms to the Scala, Java, and Rust style guides.
[x] All documentation and configuration conforms to the markdown and YAML style guides.
[x] All code has been tested where possible.

@radeusgd the algorithm for loading extended libraries got complicated pretty quickly, and I decided to create a separate PR for it

That's a good note. I didn't realize that the config can be used by the launcher to only parse the essential fields. I made the Config backward compatible by making the field Either[DecodingFailure, ComponentGroups].


Update readme.md

Small typo
Types of Changes

Docs

Contribution

[X] I agree to the Developer's Certificate of Origin 1.1.

Thanks!


[SPARK-49480][CORE] Fix NullPointerException from SparkThrowableHelper.isInternalError

What changes were proposed in this pull request?

Handle null input for SparkThrowableHelper.isInternalError method.
Why are the changes needed?

The SparkThrowableHelper.isInternalError method doesn't handle null input, and it could lead to NullPointerException. It happens when a SparkException without errorClass is invoked isInternalError.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Add 2 assertions to current test cases to cover this issue.
Was this patch authored or co-authored using generative AI tooling?

No

Kindly ping @bozhang2820 @cloud-fan. Please take a look, thanks!

After your changes, this check st.getErrorClass != null is redundant.
https://github.com/apache/spark/blob/c58148da5496245403b55c3fc423d35f3a669c79/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala#L2883
@jshmchenxi Could your remove it, please.

@MaxGekk Removing it will change the condition from false to true when st.getErrorClass is null, which doesn't seem to be right.

Thanks for review! Removing it will change the condition from false to true when st.getErrorClass is null, which doesn't seem to be right.

I see, it checks not only internal but not internal AND defined error class. Thank you for checking.

thanks, merging to master/3.5!


Cocoa pod spec update

Hello,
Would someone be able to update the cocoa pod spec for the repo?
I see that it hasn't been updated in 6 months, but other changes have been committed.

As far as I am aware Cocoa pods users won't get these changes unless the spec version is progressed.

Cheers!

While you wait for the pod spec update, you can get the latest version of the code by adding the :head option to your Podfile:
pod 'AHKActionSheet', :head

@james-ff Thanks for bringing this to my attention. I just released version 0.5.3.

Thanks guys!


E-mail address for submitting solutions does not work

I tried to submit my scores to the e-mail address mentioned in the README, but I got back an automated response that it does not exist.

I closed the issue.


Helidon-Generator: Cannot find symbol FormParams on newer Helidon Versions

It seems the FormParams class no longer exists on newer helidon versions
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project helidon-POC: Compilation failure: Compilation failure:
[ERROR] /Experiments/helidon-poc/target/generated-sources/annotations/com/jojo/test/helidon/controller/ControllerClass$Route.java:[7,30]  Cannot find symbol
[ERROR]   symbol:   class FormParams
[ERROR]   location: package io.helidon.common.http

Yes. I have locally a Nima specific generator and now that it's ALPHA I can look to merge that in etc.
At the moment this could be confusing in terms of artifact names in that the new one is currently called avaje-http-nima-generator vs the old one avaje-http-helidon-generator.
Anyway, first step is to get this Nima specific one into master and then figure out if that is going to be confusing and if the name for the 'reactive' one should change and reflect that etc.

Covered by nima support issue.


Support for angular 2

Is there any plan for angular2 support with typescript?

Also interested in this one

+1

My recommendation is that a new repo is created to support angular 2

Can I not use this in Angular 2 as it is? Are all Angular 1 modules incompatible with Angular 2?

+1

@chieffancypants  Do you have any plan on releasing it for angular 2 ?

+1

see https://github.com/aitboudad/ng-loading-bar


Fresh install: Pre-transform error: Failed to resolve import

Fresh install on node 18.19, following all directions on https://tailwind.primevue.org/nuxt/
Which seems to have incorrect instructions on this
export default defineNuxtConfig({     modules: [         'nuxt-primevue'     ],     primevue: {         unstyled: true     } })
Portion as it seems un-styled should be included in options? Like this?
import path from 'path';

export default defineNuxtConfig({
  devtools: { enabled: true },
  css: ['~/assets/css/main.css'],
  modules: [
    'nuxt-primevue',
  ],
  postcss: {
    plugins: {
      tailwindcss: {},
      autoprefixer: {},
    },
  },
  primevue: {
    options: {
      unstyled: true,
    },
    importPT: { as: 'Wind', from: path.resolve(__dirname, './presets/wind/') },
    //import and apply preset
  }
})

The config seems to be incorrectly documented in multiple places.
https://primevue.org/nuxt/#unstyled
https://tailwind.primevue.org/nuxt/
The typing for importPT for primevue config in the documentation also fails to mention the 'as' property it expects as so:
importPT: { as: 'Lara', from: path.resolve(__dirname, './presets/lara/') }
NOT
importPT: { from: path.resolve(__dirname, './presets/lara/') }
OS: Windows 10
Shell: Powershell and bash produce
Node Version: 18.19
Can reproduce from the example repository as well on different machines.
Produces this error:
` ERROR  Pre-transform error: Failed to resolve import "C:UsersTreyDesktop       estpresetswind" from "virtual:nuxt:C:\Users\Trey\Desktop\test.nuxt\primevue-plugin.mjs". Does the file exist?                        2:47:35 PM
If this is a ooof on my behalf feel free to close. There seems to be some mismatching in documentation at the moment though.

virtual:nuxt:C:\Users\Trey\Desktop\test.nuxt\primevue-plugin.mjs
Changing this:
importPT: { as: 'Lara', from: path.resolve(__dirname, './presets/lara/') }
to
importPT: { as: 'Lara', from: '../presets/lara/index.js' }
resolves this issue for me.

For people on windows the handler doesn't expect windows path format, it expects a posix format. To make sure that documentation includes all systems perhaps changing all referencs of path.resolve to path.posix.resolve will help a dummy like myself in the future. 😆 Thanks guys


app: ui testing API proposal

Is your feature request related to a problem? Please describe.
Provides a series naïve API(s) to enable application UI testing.
Describe the solution you'd like
API Shapes
Bootstrap
bootstrap(): TestSuite
TestSuite
TestSuite#application(): TSApplication
TestSuite#audioFocus(): TSAudioFocus
TestSuite#speechSynthesis(): TSSpeechSynthesis
TSApplication
TSApplication#openUrl()
TSAudioFocus
TSAudioFocus#on('gain')
TSAudioFocus#on('loss')
TSSpeechSynthesis
TSSpeechSynthesis#startRecord()
TSSpeechSynthesis#stopRecord()
TSSpeechSynthesis#getRecords()
TSSpeechSynthesis#clearRecords()
Usage
var bootstrap = require('@yodaos/volksempfanger/bootstrap')
var test = require('tape')

test('speech synthesis test example', t => {
  var tt = bootstrap()
  var app = tt.application()
  var speechSynthesis = tt.speechSynthesis()
  var audioFocus = tt.audioFocus()
  audioFocus.on('gain', focus => {
    speechSynthesis.startRecord()
  })
  audioFocus.on('loss', focus => {
    speechSynthesis.stopRecord()
    var utters = speechSynthesis.getRecords()
    speechSynthesis.clearRecords()
    t.deepEqual(utters, [{ text: 'foo' }])
    tt.teardown()
    t.end()
  })
  app.openUrl('yoda-app://cloud-player/play?text=foo')
})

A wrapper over @yodaos/volksempfanger/bootstrap with tape example:
var test = require('@yodaos/volksempfanger/tape')

test('speech synthesis test example', t => {
  var app = t.application()
  var speechSynthesis = t.speechSynthesis()
  var audioFocus = t.audioFocus()
  audioFocus.on('gain', focus => {
    speechSynthesis.startRecord()
  })
  audioFocus.on('loss', focus => {
    speechSynthesis.stopRecord()
    var utters = speechSynthesis.getRecords()
    speechSynthesis.clearRecords()
    t.deepEqual(utters, [{ text: 'foo' }])
    t.end()
  })
  app.openUrl('yoda-app://cloud-player/play?text=foo')
})

Describe alternatives you've considered
Please describe alternative solutions or features you have considered.

Some methods description?

Landed on https://github.com/yodaos-project/yodart/pull/700


Cool.

COOL.

Thank you!

it looks werid thouh

That is just a sample site. You can edit the variable setting for overallcode to change it.

I invited you to do js and kind of js

?

I invited You to do js and css

OK.

It now has API! We just have to update some API and it will be able to run any website!


Adding Microformats support

Closes #41
Adds the following:

rel="home"
.h-feed
.h-entry (with author, bookmark, text, publication date/time, and media)
@-mention .h-card

TODO: Add categories when hashtag support comes online

Amazing, @aarongustafson! 😍 Thank you!
There's only one little detail I noticed: is there a hyphen missing in the h-feed class in index.11ty.js and the other files where you added it?


Can't disable preload and prefetch

Version
2.6.0
Node and OS info
Node 12.21.0 / yarn 1.22.10 / macOS 10.15.7
Environment info
Environment Info:

  System:
    OS: macOS 10.15.7
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  Binaries:
    Node: 12.21.0 - ~/.nvm/versions/node/v12.21.0/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.11 - ~/.nvm/versions/node/v12.21.0/bin/npm
  Browsers:
    Chrome: 94.0.4606.71
    Firefox: 92.0.1
    Safari: 15.0
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.2.1
    @vue/babel-plugin-transform-vue-jsx:  1.2.1
    @vue/babel-preset-app:  3.12.1
    @vue/babel-preset-jsx:  1.2.4
    @vue/babel-sugar-composition-api-inject-h:  1.2.1
    @vue/babel-sugar-composition-api-render-instance:  1.2.4
    @vue/babel-sugar-functional-vue:  1.2.2
    @vue/babel-sugar-inject-h:  1.2.2
    @vue/babel-sugar-v-model:  1.2.3
    @vue/babel-sugar-v-on:  1.2.3
    @vue/cli-overlay:  3.12.1
    @vue/cli-plugin-babel: ^3.5.0 => 3.12.1
    @vue/cli-plugin-e2e-cypress: ^4.4.6 => 4.5.11
    @vue/cli-plugin-eslint: ^3.5.0 => 3.12.1
    @vue/cli-plugin-pwa: ^3.5.0 => 3.12.1
    @vue/cli-plugin-unit-jest: ^4.1.2 => 4.5.11
    @vue/cli-service: ^3.5.0 => 3.12.1
    @vue/cli-shared-utils:  3.12.1 (4.5.11)
    @vue/component-compiler-utils:  3.2.0
    @vue/preload-webpack-plugin:  1.1.2
    @vue/test-utils: 1.0.0-beta.29 => 1.0.0-beta.29
    @vue/web-component-wrapper:  1.3.0
    eslint-plugin-vue: ^5.0.0 => 5.2.3 (4.7.1)
    jest-serializer-vue:  2.0.2
    vue: ^2.6.6 => 2.6.12
    vue-cli-plugin-tailwind: ~1.2.0 => 1.2.0
    vue-eslint-parser:  5.0.0 (2.0.3)
    vue-flatpickr-component: ^8.1.6 => 8.1.6
    vue-hot-reload-api:  2.3.4
    vue-jest:  3.0.7
    vue-loader:  15.9.6
    vue-server-renderer: ^2.6.10 => 2.6.12
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.5.21 => 2.6.12
    vue-template-es2015-compiler:  1.9.1
    vuex: ^3.0.1 => 3.6.2
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce
In vue.config.js:
chainWebpack: config => {
config.plugins.delete('prefetch')
config.plugins.delete('preload')

What is expected?
All chunks are not added in the HTML within a
<link rel="prefetch" href="XX"

What is actually happening?
All chunks are being added in as a prefetch

I've tried
config.plugins.delete('prefetch-index')
config.plugins.delete('preload-index')

also tried
config.plugin('prefetch').tap((options) => {
        options[0] = {
          rel: 'prefetch',
          include: 'asyncChunks',
          fileBlacklist: [/\.map/]
        };
        return options;
      });

but have had no success.

Thanks for submitting this issue. Due to our limited time, we ask you to include a reproduction link to a minimal full reproduction of your problem (for example in a GitHub repository) so we can find what is causing the issue. Thank you for your understanding.

ok working on it..


GriefPrevention crashes on start with Sponge version 1.10.2-2254-5.2.0-BETA-2230

Hello,
I am attempting to setup GriefPrevention with Sponge version 1.10.2-2254-5.2.0-BETA-2230 on the new FTB Infinity modpack. When I do so, I get this error and any GriefPrevention features do not work in-game as if the plugin is not installed at all. I am using Java 8.
Thank you.
(If there is any other information that is needed, please let me know)

GP requires LuckPerms. Install it and you wont get errors.

can i ask at what version did GP require luckperms?

Also, why LuckPerms? Sponge has a plugin-agnostic permissions api.

There literally is ONLY 3 permission plugins being used in Sponge....
PermissionsEx - DEAD plugin
PermissionsManager - Did not fully implement Sponge's permissions API for quite some time and has had various issues with GP. Latest builds may work.
LuckPerms - Fully implements Sponge's API and is currently the best in terms of performance and features.
GP will load with the other 2 plugins but expect problems.


Unify multiple tolerance combinations

Currently, for AM vs BDF and JWS vs Biomodels, different tolerance combinations are considered, that should be unified. @paulstapor which one had we decided on?

Depends a bit how long this takes. Ir doesn't get easier by this:
We need the trajectory comparison for two things:

Deciding, which models we want to accept
Plotting Supplementary Figure 1
For both purposes, we have different tolerances again...

If the script are fast enough now, I would strongly suggest to unify also these...

Overall, I would suggest the following list:

(atol, rtol) = (1.e-3, 1.e-3)
(atol, rtol) = (1.e-6, 1.e-3)
(atol, rtol) = (1.e-6, 1.e-6)
(atol, rtol) = (1.e-8, 1.e-8)
(atol, rtol) = (1.e-12, 1.e-10)
(atol, rtol) = (1.e-10, 1.e-12)
(atol, rtol) = (1.e-16, 1.e-8)
(atol, rtol) = (1.e-8, 1.e-16)
(atol, rtol) = (1.e-14, 1.e-14)


Rename repository

Now that we've modularized, we need to rename the repository. Currently the links in the docs still point to https://github.com/GoogleCloudPlatform/gcloud-node, so those will need to be updated as well.

/cc @jgeewax

/cc @omaray

We are now google-cloud-node. Hooray, everyone! Good work, team!

Good work indeed! Thanks everyone!!


Youtube

Could we make a choice to make our YouTube full screen? really hope that would happen.

For the URL:
Go on your Youtube stream
Right-Click, Copy embed code
When you'll paste it, only take the URL

And add this at the end of the url
« ?rel=0&autoplay=1;fs=0;autohide=0;hd=0;mute=1 »
If you want sound, you can enter mute=0 instead of mute=1

Thank you @nicolasrodi for the step by step guide.
For the more tech savvy I suggest instead of using the YouTube link directly, that you download the videos locally and add them to a simple html file containing a <video> tag. This way you get a clean video player where you can control, things like repeat, sound and any other playback feature you may need.


Move from ConfigMap to CustomResourceDefinitions

Fixes #2 and #8

Codecov Report

Merging #30 into master will decrease coverage by 22.26%.
The diff coverage is 24.71%.

@@             Coverage Diff             @@
##           master      #30       +/-   ##
===========================================
- Coverage   84.49%   62.23%   -22.27%
===========================================
  Files          11        8        -3
  Lines         458      421       -37
===========================================
- Hits          387      262      -125
- Misses         56      149       +93
+ Partials       15       10        -5

Impacted Files
Coverage Δ

controllers/secretdefinition_controller.go
0% <0%> (ø)

controllers/metrics.go
100% <100%> (ø)

backend/vault_metrics.go
100% <100%> (ø)
:arrow_up:

backend/backend.go
100% <100%> (ø)
:arrow_up:

backend/vault.go
75.17% <76.31%> (+6.33%)
:arrow_up:

Continue to review full report at Codecov.

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


Implement Testing

Is your feature request related to a problem?
It's a development feature. The problem is that random stuff breaks all the time because there are no automated tests.
Describe the feature you'd like
Some automated tests.
Have you considered alternative ways to get this feature
Use pytest, consult this flask documentation
https://flask.palletsprojects.com/en/1.0.x/testing/

I'm going to close this as we have pytest integrated with the server now and automatically running through circleci thanks to @ajacques. This issue isn't measurable, there's no end state other than "there are tests" which there is now. We can open a more specific ticket at a later date if we want to reach specific test coverage goals.


Fixes ENYO-2176

Adopts a new design that uses otherwise inert properties to apply the
necessary a11y attributes. Also adds more comprehensive aria support to
the core Enyo controls.
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy<EMAIL_ADDRESS>

Closing in favor of rebased version: https://github.com/enyojs/enyo/pull/1263.


Rearrange plugins template repo, add non-Python subcommand plugin files

Description
Resolves #14
Since we will have tutorials for multiple types of subcommands, this PR re-organizes the code so that each tutorial type (e.g., subcommands, virtual packages, etc.) will be in their own separate directories with their own README files.
The new subcommand plugin tutorials (one for a plugin written in C and another in Rust) will also be added via this PR, using the newly rearranged layout.
This work is a direct result of the following spike issue:

https://github.com/conda/conda/issues/11860

Just an FYI that Maturin is available on default channel!

🚨 Blocker 🚨
Depending on how things get rearranged via the currently-open virtual packages PR, I'll have to update the import statements etc in the tutorial examples.

If you wish to remove the CoC and HWUG you need to also go update the sync file in conda/infra.

I wasn't trying to remove those files, just wasn't sure why they were showing up in this PR without me adding them (I didn't want to re-add redundant files); I'll un-delete those since they can stay in this repo.


Ubuntu arangodb-apps folder set to 0700

Hello,
Firstly, I am loving all the support I have gotten thus far about arangodb. Thank you all so much.
I have found a small issue that is more of a nuisance than a real problem.
I am using ubuntu 14.04 and every time I restart the arangodb service it changes the permissions of /var/lib/arangodb-apps to 0700
Which means for me to access the foxx application I am developing I need to first change the permission of that folder.
Like I said not a big deal, I changed /etc/init.d/arangodb to not do that any more.
Just thought I should let you guys know.
Cheers

@geekygnr Thanks for reporting. I'll need to check the install script of the RPM if we can do better.

I can confirm it has always been this way (or at least since very early 2.x).
This may have previously not been a problem because apps running in development mode were installed in a different location.

I might be wrong, but I believe this changed with 2.7. These folders used to be group-readable and changed permissions would survive restarts. We actually had to change our deployment script which used to depend on being able to copy files out of this folder.

Hm... it could be that the exact permissions changed but I'm pretty sure I've encountered the permission reset itself at least as early as 2.4 (maybe even 2.3).

the 0700 is the proper value for production use (security..) - which is what packages should be made for by default.
If you want to do foxx service development isn't it more practical to configure it to some compfortable directory in first place like: (/etc/arangodb/arangod.conf)
[javascript]
app-path = /home/myuser/public_arangoapp/

or similar?

@dothebart should it bulldoze the file permissions on ever restart, though? This can probably be argued either way, but I think the issue is about the app folder's permissions being enforced on each restart rather than the permissions themselves.

If this is the case I think I am more confused about what the "Set Development Mode" button does. If I make a new app and push that button I expect to be able to start development.
The project I am on has been so fast and furious I have had to go by the seat of my pants and probably miss some key things like the arangod.conf configuration option.
That being said perhaps this brings up question of documentation. I was using the Foxx in 10 minutes tutorial. Option 2 on https://www.arangodb.com/tutorial-foxx/#developing seems a little misleading.

@geekygnr the development mode just means the service/app will be "reloaded" (i.e. files from the filesystem being executed instead of reusing the executed code) every time you access a route. It doesn't affect the files on the filesystem -- it actually works the other way around.


[5.4] Cannot access file upload from PUT Request

Laravel Version: 5.4.3
PHP Version: 7.0.14
Database Driver & Version: None

Description:
running a curl command
curl -s -S -X PUT -F<EMAIL_ADDRESS><EMAIL_ADDRESS>I cannot access the key request attribute (note i do see the whole file uploaded via the content-length header)
however if i run
curl -s -S -X POST -F<EMAIL_ADDRESS><EMAIL_ADDRESS>i have access to the key attribute
Steps To Reproduce:
dump($request->key);
dd($request->all());

This is because Laravel uses a header to override the post request to convert it into a put request due to the fact that most browsers doesn't support the put request or default just yet. By setting the method field to put or x-request-override (not sure if it's the exact name) to request the server with a post request but have it treated as a put request.

Hope @morloderex comments helps, please continue on the forums though since we try to keep this repo for bug reporting only :) Appreciate your understanding.

You didn't read the text of the post. curl -s -S -X PUT That's method of PUT.. The put is working. i can access the put method. But i cannot access the File on the put method. Laravel detects the method is put.
I'm NOT using a browser i'm using curl. Please READ the post.

This method doesn't work. Nothing is returned on value $request->key, $request->hasFile('key')
| => curl -s -S -X PUT -F<EMAIL_ADDRESS><EMAIL_ADDRESS>-vvv
*   Trying <IP_ADDRESS>...
* Connected to ssh.local.dev (<IP_ADDRESS>) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate: *.local.dev
> PUT<EMAIL_ADDRESS>HTTP/1.1
> Host: ssh.local.dev
> User-Agent: curl/7.43.0
> Accept: */*
> Content-Length: 1641
> Expect: 100-continue
> Content-Type: multipart/form-data; boundary=------------------------3723665f2ba6059e
>
< HTTP/1.1 100 Continue
< HTTP/1.1 200 OK
< Server: nginx/1.10.2
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Powered-By: PHP/7.0.14
< allow: GET, HEAD, POST
< Cache-Control: no-cache, private
< Date: Thu, 26 Jan 2017 11:41:49 GMT
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Credentials: true
< Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
< Access-Control-Allow-Headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization
<

    Route::put('/', function (Request $request, $email) {
        dd($request->key);
    });

This however returns the value without problems.
| => curl -s -S -X POST -F<EMAIL_ADDRESS><EMAIL_ADDRESS>-vvv
*   Trying <IP_ADDRESS>...
* Connected to ssh.local.dev (<IP_ADDRESS>) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate: *.local.dev
> POST<EMAIL_ADDRESS>HTTP/1.1
> Host: ssh.local.dev
> User-Agent: curl/7.43.0
> Accept: */*
> Content-Length: 1641
> Expect: 100-continue
> Content-Type: multipart/form-data; boundary=------------------------f8d5874d8263d417
>
< HTTP/1.1 100 Continue
< HTTP/1.1 200 OK
< Server: nginx/1.10.2
< Date: Thu, 26 Jan 2017 11:41:27 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Powered-By: PHP/7.0.14
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Credentials: true
< Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
< Access-Control-Allow-Headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization
<

    Route::post('/', function (Request $request, $email) {
        dd($request->key);
    });

I've tested in 5.4.6 and 5.3.30 and neither work for PUT. POST is fine on both.

Yes it looks like it's a PHP thing rather than a laravel core thing, the $_FILES global is empty on PUT on a plain PHP project (non-laravel), however it holds the file in a POST request.
Closing this issue then since it's not laravel related, try the forums though.

http://php.net/manual/en/features.file-upload.put-method.php I just found this when searching for file uploads with put.. apparently php does file uploads for put requests differently.

I've spent 2 hours banging my head trying to figure out why $_FILES superglobal isn't being populated for PUT requests and now found this. Since PHP doesn't natively do this, I wonder if there's a reason why the multipart/form-data request body parsing isn't abstracted in the Symfony package?


Jesse: Blacklist rupeezy.in

Jesse requests the blacklist of the website rupeezy\.in. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

rupeezy\.in has been seen in 5 true positives, 0 false positives, and 0 NAAs.

Approved by cocomac in Charcoal HQ


Add tests for deletion policy

Description of changes:
Adds a new set of e2e tests for the deletion policy. @pytest.mark.parametrize sets up a matrix for all test combinations of namespace and resource annotations. The new test fixture creates a new namespace (with optional deletion policy annotation) and then creates a bucket (also with optional deletion policy namespace) into it.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/hold
Needs changes to runtime, code-generator and test-infra

/unhold
Rebased onto the latest v0.22.1 runtime

/retest s3-release-test

/test all

/lgtm


tests(wit-component): update wasi-http interface

Sync to https://github.com/WebAssembly/wasi-http/commit/53e2d258ae3008d254bda79ec958355ded8751a9
This was done as part of debugging #967

Sure! FWIW this is only used as a test for the parser itself, so there's no need to keep it in sync in the future and if issues are encountered specific smaller tests can be added to showcase the problem.


WaitingForActivation  status returned

have installed into classlibrary NETFramework 4.6.1 and running code
public async Task Test(string srcFilename)
        {
            var et = new ExifTool(new ExifToolOptions{ExifToolPath = @"C:\users\xxx\exiftool.exe" });
            var list = await et.GetTagsAsync(srcFilename);

            // use list...
        }

which point to the exiftool exe...am able to run it  successfully from the cli

never mind...it was how I was calling it in my code...nothing to do with this..all good


Remove duplication of argument names in common kernel setup

The generic kernel setup requires specifying the kernel arguments twice - once as a parameter in the generic lambda, and once as an argument to run_kernel. I think it should be possible to avoid this duplication with a bit of preprocessor magic (basically a foreach macro). The approach I have in mind would transform
run_kernel(exec, []GKO_KERNEL(auto i, auto x, auto y) { ... }, size, x, y);

into
run_kernel(exec, size, GKO_KERNEL(x, y) { ... });

where the macro gets expanded to x, y, []__device__(auto i, auto x, auto y). The downside of this approach is that it would require users to handle the row_vector and default_stride annotations separately, since I don't think there's a clean way to evaluate the same macro to two different things inside another macro. So instead of passing row_vector(x), you would have to use auto x_ = row_vector(x); and pass x_ to GKO_KERNEL.

this won't simplify things enough to justify the confusion, so I'm closing it


Scroll Behaviour stops working in Scale Down & Scale Rotate effect

The content stops scrolling when Scale Down or Scale Rotate effect is selected and burger menu is opened and closed. A usual workaround can be fixing overflow properties and make the content scroll as soon as the menu is closed back.

@mbj36 Please assign me to this :)

Fixed

I just had this problem with Scale Down effect, maybe this should be revised.


Allow Vite entry points to be merged

This PR aims to solve an issue when Vite entry points are conditionally determined at runtime.
The existing withEntryPoints method in the Vite class replaces any entry points which have already been applied, and $this->entryPoints is protected with no accessor method. So this backwards-compatible PR simply adds an additional method to merge a set of entry points with any which have already been set.

I recently found myself in this situation:

I have two main Vite entry points, app.css and app.js.
I also have some additional entry points for custom React components: component-1.ts, component-2.ts etc.
My app uses Filament for the backend admin functionality, so I've used ->viteTheme(['app.css', 'app.js']) to set my entry points in their service provider.
On pages which require a specific React component, I can add @vite(['component-2.ts']) to include them as needed.

However, if component-2.ts references assets which are also used by app.css (e.g. website logo etc.), duplicate chunk tags are rendered in the HTML markup.
With this PR I can let Filament call withEntryPoints in its service provider, then later attach any additional components I need to include conditionally, before letting Filament render them once in a single output.

There are other ways to solve this, I figured mergeEntryPoints was the simplest but am open to any other ideas.
Let me know if any changes are necessary. Thanks! 🙏

@JackWH Thank you for this PR, I came to the same conclusion you did after having the same issue. Glad to see your PR made it into v11.29.0


[BUG] system restore missing services

Describe the bug (🐛 if you encounter this issue)
Missing to restore Services.
To Reproduce
Steps to reproduce the behavior:

Create a system backup.
Restore the system backup.
Check the rollout log and see Unknown resource kind ServiceList.

Expected behavior
Should restore Services.
Log or Support bundle

time="2022-12-15T05:54:34Z" level=error msg="Unknown resource kind ServiceList" backupTargetURL="s3://c3y1huang-s3@ap-southeast-1/" controller=longhorn-system-rollout engineImage="longhornio/longhorn-engine:master-head" systemRestore=test2

Environment
N/A
Additional context
None

cc @longhorn/qa


Center mode not working for last slide

Hi,
I setup center mode options with some modifications for don't an active slider.
The first load it's not center.
See the ss:
http://prntscr.com/hpem6z
When I clicked next arrow, that's fine.
see: http://prntscr.com/hpemeq
When on the last slide, the problem appears again.
Please help, Thank you!

I've got the same trouble. I'm using vertical:true, slidesToShow:3. The current slider sets to the first one? not to the center. https://maksimradziuk.github.io/toyokawa/ - the slider is in the main page.


Create single backup zip of all potentially affected files rather than renaming

Creating a single backup zip would make it possible to support deleting files such as packages.config and AssemblyInfo.cs and would be simpler to clear up once finished.
Alternatively make a copy of the whole folder like VS does (or did) when upgrading to a later version.

I can see all of this happening, would be behind a command line switch but how would you know that it is safe to delete assemblyinfo.cs? There's a lot of other assembly level attributes like InternalsVisibleTo etcetera that would still need a place in the project.

I would only delete it if all existing properties in it were accounted for. In our case we rarely use InternalsVisibleTo so that particular one wouldn't affect us. There are other cases you wouldn't be able to deal with too like 1.0.* style versioning.
I think rather than command line switching, you could switch this to be a nuget package that took additional Func<>'s or something for pre and post-processing. For example in our case, I know how we will deal with 1.0.* style versioning which is fairly bespoke, so I could add a pre-conversion step to remove it from the AssemblyInfo and a post-conversion step to add the appropriate props to the converted project file.

If you're saying that it would be helpful to extract the actual conversion logic from the console project itself, I can do that and publish that as a nuget package.
About dealing with the 1.0.* style versioning, do you have a link on that? I've not been able to find anything on that yet.

#67 added for creating a package, yes please :)
Versioning in the new sdk projects can use these properties:
    <Version>1.0.7777.0</Version>
    <AssemblyVersion>1.0.8888.0</AssemblyVersion>
    <FileVersion>1.0.9999.0</FileVersion>

This is equivalent to:
[assembly: AssemblyInformationalVersion("1.0.7777")]
[assembly: AssemblyVersion("1.0.8888")]
[assembly: AssemblyFileVersion("1.0.9999")]

I can't remember if you already do that conversion for non 1.0.* style versions, but it would be useful to.
As for 1.0.* style versions, these are no longer supported, so everybody is having to roll their own somewhat. It will often be dependent on build servers or things like that and people's versioning strategies will vary so I don't think you can realistically cater for it. That's where supporting pre and post-processing functions would work well.
Here's one of a few threads with different ideas on how people solve it, but again I wouldn't expect any of these to be embedded in your tool:
https://stackoverflow.com/questions/43019832/auto-versioning-in-visual-studio-2017-net-core

Given that the package now exists, I assume you'll build this one on top of the package, so we can close this one?

Can do but I would still prefer it as part of the tool or make backups optional. Otherwise to clear up I have to look for individual backup files.
The VS project upgrader normally makes a backup folder of the whole project which would be fine too.


Investigating jsonld for URI collapsing

When looking to truncate the display of a URIRef but still gain access to the data associated with said term... need to investigate jsonld as an implementation of this feature.
Also, investigate use of CSS to truncate the URIRef names. For example, class RDFCSSLabeler(HTML) that is attached to a style sheet and can then automatically represent RDF URIRefs as their truncated form.

Current implementation strategy is to use NamespaceManager for simple collapsing.

JSON-LD context application would allow us to maintain the actual data used (e.g. namespace and fragment). This would help, because "you always want the most machine readable information available, but show the most humane version" (-Nick).
Example from Nick:

Would probably require custom widget and custom typescript (native selection widgets don't let you have duplicate labels).


"WhatsApp has failed to load." ERR_NAME_NOT_RESOLVED

Describe the bug
Suddenly WhatsApp service went non-functional, Oh no! screen with error message: "WhatsApp has failed to load." ERR_NAME_NOT_RESOLVED. (Android Messages loads fine.)
Verified phone and laptop internet connection, NPF.
Reloaded Franz, NG.
Restarted WhatsApp app, NG.
Restarted phone, NG.
Restarted Windows, NG.
Updated Franz, current version 5.7.0, NG.
Deleted %AppData%\Franz\Cache, NG.
To Reproduce
Steps to reproduce the behavior:

Start Franz
See error

Expected behavior
WhatsApp service loads.
Screenshots

Desktop (please complete the following information):

OS: Windows 10 Home
Browser: Chrome
Version: 94.0.4606.71

Smartphone (please complete the following information):

Device: LG ThinQ G7
OS: Android 9
Browser: Chrome
Version: 94.0.4606.61

Additional context
Add any other context about the problem here.

Same problem here.
Same problem with Facebook MESSENGER service!
(other services, like Skype, Slack, Android Messages, etc, are working fine)
Any worarounds?

Apologies, this is a worldwide Facebook/Instagram/WhatsApp crash, nothing to do with Franz.


Add schedule details in focus card

Focus card when there is no interview for the candidate:

When there is an interview:

Closes #195

wow it rocks! ❤ ______ ❤


View an app's Compose YAML in Lorry.io

depends on https://github.com/CenturyLinkLabs/panamax-api/pull/290

:+1:

:+1:


Adding a selected bar for the bar chart?

I was going to select all the .ct-bars and then draw a bigger rectangle over each one. Afterwards, i would use CSS to hide and reveal each one. I didn't see anything documented that supported this use case, so is this the best way to do it?

Can you describe what effect you'd like to achieve?

Cant you use CSS for flagging a bar as selected? I.e. using transform scale and color?

Closing this because of inactivity


ISPN-15459 Memcached client 1.2.3

https://issues.redhat.com/browse/ISPN-15459

Failures are unrelated

Integrated into main, thanks @tristantarrant !


feat(Gamut): Disable GridForm submit until required field are complete

Disable GridForm submit until required field are complete
NOTE
NOT READY - Doing this so we can have a deployed gamut style guide so that design can review this and discuss
PR Checklist

[x] Related to Abstract Slide 3 and Slide 4:
[x] Related to JIRA ticket: https://codecademy.atlassian.net/browse/GM-1
[x] I have run this code to verify it works
[x] This PR includes unit tests for the code change

Description
Disable the GridForm submit button until all of the required fields are completed.

Merging your changes
When you are ready to merge to master and publish your changes, use the "squash and merge" button in GitHub, and follow the PR Title Guide to format your PR title and write your PR merge description.
IMPORTANT: If your PR contains breaking changes, please remember to follow the instructions for breaking changes!

This looks fantastic from a technical perspective. I'm hesitant to approve because we need design to weigh in on whether this should always be enabled or only sometimes... but ✅ if it's 'always'!

Yep agree. We'll write an update here when Tamar and other designers get back to us.

📬Published Alpha Packages:@codecademy/brand-components@1.5.14-alpha.38a263.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ebadf85a471e1cf2f291326--codecademy-styleguide.netlify.appDeploy Logs

@JoshuaKGoldberg We discussed with Tamar and found the need to be able to toggle GridForm's validation for CheckoutV3.
As such we've implemented that feature here.
Re-requesting review now

📬Published Alpha Packages:@codecademy/brand-components@1.7.1-alpha.62b8ed.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ebe9bab3ef93eff995d0cc5--codecademy-styleguide.netlify.appDeploy Logs

Oh also @mbthiery I think it'd be valuable to use a select knob in the root GridForm story to let users select validation. I did that for local testing.

📬Published Alpha Packages:@codecademy/brand-components@1.7.1-alpha.600354.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ebeb89c437b4a019edd9ac8--codecademy-styleguide.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/brand-components@1.7.1-alpha.0c8468.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ebebd01ee5fc8024ed4c813--codecademy-styleguide.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-labs@1.7.1-alpha.81ddf3.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ebec0d8123405022202d1a4--codecademy-styleguide.netlify.appDeploy Logs

@JoshuaKGoldberg
Added a select know to the main GridForm story.
Let me know if there are any other touch ups you'd like to see

📬Published Alpha Packages:@codecademy/gamut-labs@1.7.2-alpha.377ed2.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ebec4c5496fb502361e22cf--codecademy-styleguide.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-labs@1.7.3-alpha.c7f7d9.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ebed96a496fb567231e1df9--codecademy-styleguide.netlify.appDeploy Logs


Embedding projection for non-knn based kernels

[ ] Additional function parameters, change functionality or change defaults?
[ ] New estimator in cr.tl.estimators?
[ ] New kernel in cr.tl.kernels?
[ ] New gene trend model in cr.ul.models?
[ ] New plotting function in cr.pl?
[x] Other?

Description
#665 fixes the embedding projection for knn based kernels. However, the fix restricts the method to only these kernels. As already discussed in #603, the (original) embedding projection did not work correctly for WOTKernel. As outlined here in #603, using the originally implemented projection on the on reprogramming data from Schiebinger et al., Cell 2019 leads to

Omitting the random uniform correction term leads to improved results:

This is also true when weighing by inverse connectivities:

As discussed here, results look not as promising for the PseudoTimeKernel.

Thanks for opening this issue! We may make some progress here using the optimization approach Ruslan suggested.

Doesn't the suggested optimization approach solve only the problem of: P_{i, j} uniform => proj_vec = (0, 0) and not the non-KNN based projection (i.e. WOT case), or am I missing something?
Also, 1 idea I had to achieve (0, 0) projection if uniform is to scale the vector by scale = 1 - (entropy(probs, base=2) / np.log2(len(probs))).

In your last comment, @michalk8, you mean achieving this for non-KNN based graphs? Because we know how to do it for KNN- based graphs, our current implementation takes care of that already. You can check that for 0-velocity vector, the current implementation will give a zero vector in the embedding.

@WeilerP, if I remember correctly, we wanted to look at this for at least 1 other non-KNN based projection before making a decision on this.

@Marius1311, @michalk8, I think we can close is. We tried the WOTKernel on the the erythroid branch of the mouse gastrulation data by Pijuan-Sala et al. where it did not work.
ATM, we check in compute_projection whether or not a connectivity matrix exists here. Do you think this suffices or should we be more specific and explicitly exclude the case of non-knn based methods (e.g. through a class attribute acting as a flag)?

I think that's okay for now. If there's no connectivity matrix, the kernel isn't KNN based, hence the current projection won't work.

But what about combined kernels, e.g. 0.9 * WOTKernel + 0.1 ConnectivityKernel? In this case, there will be a connectivity matrix but the projection will (most likely) be off.

@michalk8, any thoughts on this? Or do you agree with @Marius1311 s.t. we can close the issue?

closed via #733


File name too long when downloading models

Describe the bug
When I am downloading a pre-trained model, the following error occurs:
OSError: [Errno 36] File name too long: '/home/haoxuan/.cache/huggingface/hub/models--Salesforce--blip2-opt-6.7b/blobs/W/"4ebe4bb3f3114daf2e4cc349f24873a1175a35d7.lock'.
However, the length of above file is only 126.
>>> len('/home/haoxuan/.cache/huggingface/hub/models--Salesforce--blip2-opt-6.7b/blobs/W/"4ebe4bb3f3114daf2e4cc349f24873a1175a35d7.lock')
126

Reproduction
My code is borrowed from https://github.com/Vision-CAIR/ChatCaptioner. I tried different versions of BLIP-2 and they all fail. It seems others can successfully download pre-trained BLIP2 without any problem. Would that be something wrong with my system config?
Logs
Traceback (most recent call last):
  File "/home/haoxuan/code/PGV/blip_gpt_main.py", line 584, in <module>
    main(args)
  File "/home/haoxuan/code/PGV/blip_gpt_main.py", line 555, in main
    'OPT6.7B': Blip2('OPT6.7B', device_id=args.device_id, bit8=True),
  File "/home/haoxuan/code/PGV/blip_gpt_main.py", line 113, in __init__
    self.blip2_processor = Blip2Processor.from_pretrained(BLIP2DICT[self.tag])
  File "/dvmm-filer2/users/haoxuan/anaconda3/envs/chatcap/lib/python3.9/site-packages/transformers/processing_utils.py", line 184, in from_pretrained
    args = cls._get_arguments_from_pretrained(pretrained_model_name_or_path, **kwargs)
  File "/dvmm-filer2/users/haoxuan/anaconda3/envs/chatcap/lib/python3.9/site-packages/transformers/processing_utils.py", line 228, in _get_arguments_from_pretrained
    args.append(attribute_class.from_pretrained(pretrained_model_name_or_path, **kwargs))
  File "/dvmm-filer2/users/haoxuan/anaconda3/envs/chatcap/lib/python3.9/site-packages/transformers/models/auto/tokenization_auto.py", line 694, in from_pretrained
    return tokenizer_class.from_pretrained(pretrained_model_name_or_path, *inputs, **kwargs)
  File "/dvmm-filer2/users/haoxuan/anaconda3/envs/chatcap/lib/python3.9/site-packages/transformers/tokenization_utils_base.py", line 1770, in from_pretrained
    resolved_vocab_files[file_id] = cached_file(
  File "/dvmm-filer2/users/haoxuan/anaconda3/envs/chatcap/lib/python3.9/site-packages/transformers/utils/hub.py", line 409, in cached_file
    resolved_file = hf_hub_download(
  File "/dvmm-filer2/users/haoxuan/anaconda3/envs/chatcap/lib/python3.9/site-packages/huggingface_hub/utils/_validators.py", line 120, in _inner_fn
    return fn(*args, **kwargs)
  File "/dvmm-filer2/users/haoxuan/anaconda3/envs/chatcap/lib/python3.9/site-packages/huggingface_hub/file_download.py", line 1296, in hf_hub_download
    with FileLock(lock_path):
  File "/dvmm-filer2/users/haoxuan/anaconda3/envs/chatcap/lib/python3.9/site-packages/filelock/_api.py", line 220, in __enter__
    self.acquire()
  File "/dvmm-filer2/users/haoxuan/anaconda3/envs/chatcap/lib/python3.9/site-packages/filelock/_api.py", line 173, in acquire
    self._acquire()
  File "/dvmm-filer2/users/haoxuan/anaconda3/envs/chatcap/lib/python3.9/site-packages/filelock/_unix.py", line 35, in _acquire
    fd = os.open(self._lock_file, open_mode)
OSError: [Errno 36] File name too long: '/home/haoxuan/.cache/huggingface/hub/models--Salesforce--blip2-opt-6.7b/blobs/W/"4ebe4bb3f3114daf2e4cc349f24873a1175a35d7.lock'

System info
- huggingface_hub version: 0.13.3
- Platform: Linux-4.15.0-189-generic-x86_64-with-glibc2.27
- Python version: 3.9.16
- Running in iPython ?: No
- Running in notebook ?: No
- Running in Google Colab ?: No
- Token path ?: /home/haoxuan/.cache/huggingface/token
- Has saved token ?: False
- Configured git credential helpers:
- FastAI: N/A
- Tensorflow: N/A
- Torch: 1.12.1
- Jinja2: 3.1.2
- Graphviz: N/A
- Pydot: N/A
- Pillow: 9.4.0
- hf_transfer: N/A
- ENDPOINT: https://huggingface.co
- HUGGINGFACE_HUB_CACHE: /home/haoxuan/.cache/huggingface/hub
- HUGGINGFACE_ASSETS_CACHE: /home/haoxuan/.cache/huggingface/assets
- HF_TOKEN_PATH: /home/haoxuan/.cache/huggingface/token
- HF_HUB_OFFLINE: False
- HF_HUB_DISABLE_TELEMETRY: False
- HF_HUB_DISABLE_PROGRESS_BARS: None
- HF_HUB_DISABLE_SYMLINKS_WARNING: False
- HF_HUB_DISABLE_IMPLICIT_TOKEN: False
- HF_HUB_ENABLE_HF_TRANSFER: False

I'm having similar issues. For me, it loads forever, until I delete the blobs folder in which I get
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\EthanPorcaro/.cache\\huggingface\\diffusers\\models--runwayml--stable-diffusion-v1-5\\blobs\\W/"a087b121ef108ea987e84c9c81f5759a81666f29.lock'

The fix in #1423 helped for me

Hi, thanks for reporting :) The issue has been identified and fixed server-side.
PR https://github.com/huggingface/huggingface_hub/pull/1428 will still be merged to handle this case in the future.
I'm now closing this issue but feel free to re-open if you still have issues on this matter.


Check useIsolation setting when using internal scripts

Codecov Report

Merging #14952 (a6f478b) into isolate (6899e31) will increase coverage by 0%.
The diff coverage is 64%.

@@           Coverage Diff            @@
##           isolate   #14952   +/-   ##
========================================
  Coverage       65%      65%
========================================
  Files          557      557
  Lines        26180    26189    +9
  Branches      3714     3715    +1
========================================
+ Hits         17042    17050    +8
  Misses        8444     8444
- Partials       694      695    +1

Impacted Files
Coverage Δ

src/client/common/process/internal/python.ts
58% <50%> (ø)

...rc/client/common/process/internal/scripts/index.ts
67% <71%> (+2%)
:arrow_up:


Include default visualizations as real dependencies

Currently:
All visualizations are treated as "plugins" with an initial set of them being included by default. Instead of being included as project dependencies these are fetched in the postinstall step to maintain uniformity between the way default visualizations and subsequently installed visualization plugins are handled.
Proposed:
Treat the initial set of visualizations as hard dependencies and include them in the dependencies list. This will help several issues, including (1) speed up overall installation time, (2) get rid of some weird error messages if the thing times out that @mafintosh had seen, (3) make the heroku builds more straightforward, (4) and hopefully reduce the surface of possible errors during installation in general.
Would appreciate a second set of eyes on this @freeman-lab

Tests seem to be failing for an unrelated reason

Nice @mathisonian , definitely 👍  to this change! And all the code changes make sense. It does couple the default visualizations more strongly to the server, on the other hand, I like that the versions of the default visualizations are now clearly specified, whereas before it would just pull the latest.


Admin command to convert a local domain to global domain

The main purpose is to let customers to keep using the same domain name, so that they don't have to update all their commands everywhere(runbook/wiki/etc)

this is not doable, e.g. same domain (domain name) in 2 different cluster (diff domain ID)


Error When Attempting Anything

I have had no luck with this addon, I have access to ChatGPT-4 but I always get these errors popping up when using either option, even the ChatGPT-3.5 option.

same here


SQLite

Is SQLite still supported in D365 for Retail CRT?

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

ID: 9eafa281-1f4f-5a63-d2ce-26fb2c90ba47
Version Independent ID: 9a222e6a-8bd3-53c3-02ad-d27518632d7e
Content: Commerce runtime (CRT) architecture and configuration - Retail | Dynamics 365
Content Source: articles/retail/dev-itpro/commerce-runtime-overview.md
Service: dynamics-365-retail
GitHub Login: @sericks007
Microsoft Alias: yabinl

@OksanaKovaliova, thanks for posting this question.
@mugunthanm, please answer the question and update the topic if necessary.

Bug 276840 has been logged to track this issue.

@OksanaKovaliova  - SQLite is not currently supported in CRT.


Implement long polling transport

I have successfully used SignalR-Cpp to connect some C++ applications to an ASP.NET web application with IIS 8. It works really great! It would be even better if I could support some existing installations with IIS 7.5 which does not have web sockets. Are there any plans to support the long polling transport in the near future?

@nicolasr75 we don't have any specific timeline at the moment.

OK. Thanks anyway, I think you did a great job with this project!

Any update on long polling? We've got web sockets doing great things but need to support older OS's / servers.

Any update on long polling? We know of many scenarios where firewalls will not allow an upgrade of the http connection to long polling so we need the possibility to use a fallback else SignalR is no alternative for us?

@moozzyk Do you happen to have a rough estimate of how much effort it would be to support Long Polling? We'd urgently need a native SignalR client with fallback support, and we'd think about implementing it ourselves.

My rough estimate would be ~2 weeks but I think there might be a few tricky spots.

I see some work has been done since your last comment here: https://github.com/aspnet/SignalR-Client-Cpp/commit/4eabfb4429d3a33a8f13063e6683eba54bd1c64a
I assume that was just a small bit of work against the 2 week estimate?

Yeah. I started looking at this some time ago but have been busy with other things.

Hello, everyone.
I suppose all the code moved to https://github.com/aspnet/SignalR-Client-Cpp and no progress will be done here.
Am I right?
Any chance long polling transport to be implemented?

This Repo is for ASP.NET SignalR and will likely have very little code changes in the future.
Work on the new client for ASP.NET Core SignalR is located at the repo you linked.


Changing colors of elements or tags (like in obsidian)

Discussed in https://github.com/epwalsh/obsidian.nvim/discussions/391

Originally posted by BigLadDylan February 12, 2024
Hello, can somebody tell me where i can change (or override) colors of certain tags like headings bullet points etc.
(both fg and bg) Ideally without editing my theme config. Is it handled by Tree sitter? idk
This is my current theme: https://github.com/navarasu/onedark.nvim
Here is what my current theme is set to:
darker = {
		black = "#0e1013",
		bg0 = "#1f2329",
		bg1 = "#282c34",
		bg2 = "#30363f",
		bg3 = "#323641",
		bg_d = "#181b20",
		bg_blue = "#61afef",
		bg_yellow = "#e8c88c",
		fg = "#a0a8b7",
		purple = "#bf68d9",
		green = "#8ebd6b",
		orange = "#cc9057",
		blue = "#4fa6ed",
		yellow = "#e2b86b",
		cyan = "#48b0bd",
		red = "#e55561",
		grey = "#535965",
		light_grey = "#7a818e",
		dark_cyan = "#266269",
		dark_red = "#8b3434",
		dark_yellow = "#835d1a",
		dark_purple = "#7e3992",
		diff_add = "#272e23",
		diff_delete = "#2d2223",
		diff_change = "#172a3a",
		diff_text = "#274964",
},

The bullet point seems to be using  bg1 =#282c34  as the background color...
but editing the configuration from the repo doesnt have an effect ALTHOUGH i managed to successfully switch the bullet point character with another so that shows its working? I should also mention that other elements are also miscolored like the checkboxes.
 ui = {
        enable = true,
        update_debounce = 200,
        checkboxes = {
            [" "] = { char = "󰄱", hl_group = "ObsidianTodo" },
            ["x"] = { char = "", hl_group = "ObsidianDone" },
            [">"] = { char = "", hl_group = "ObsidianRightArrow" },
            ["~"] = { char = "󰰱", hl_group = "ObsidianTilde" },
        },
        bullets = { char = "", hl_group = "ObsidianBullet" }, -- does recognise this change.
        external_link_icon = { char = "", hl_group = "ObsidianExtLinkIcon" },
        reference_text = { hl_group = "ObsidianRefText" },
        highlight_text = { hl_group = "ObsidianHighlightText" },
        tags = { hl_group = "ObsidianTag" },
        hl_groups = {
            ObsidianTodo = { bold = true, fg = "#f78c6c" },
            ObsidianDone = { bold = true, fg = "#89ddff" },
            ObsidianRightArrow = { bold = true, fg = "#f78c6c" },
            ObsidianTilde = { bold = true, fg = "#ff5370" },
            ObsidianBullet = { bold = true, fg = "#ffffff", bg = "#000000" }, --colors dont change accordingly
            ObsidianRefText = { underline = true, fg = "#c792ea" },
            ObsidianExtLinkIcon = { fg = "#c792ea" },
            ObsidianTag = { italic = true, fg = "#89ddff" },
            ObsidianHighlightText = { bg = "#75662e" },
        },
    },

still, even this doesnt explain how to change the colors of other elements such as headings and bolds...
not sure if they are related but im getting these warning from lua-ls diagnostics:
│     Missing required fields in type obsidian.config.ClientOpts: picker Lua Diagnostics. (missing-fields) [1, 27]
│     Missing required fields in type obsidian.config.CompletionOpts: perferred_link_style Lua Diagnostics. (missing-fields) [16, 18]
│     Annotations specify that at most 0 return value(s) are required, found 1 returned here instead. Lua Diagnostics. (redundant-return-value) [64, 16]
│     Missing required fields in type obsidian.config.UIOpts: tick Lua Diagnostics. (missing-fields) [92, 10]
I just decided to ignore them seeing as i copied the configuration straight from the repo. But I thought it was worth mentioning.
Any help would be greatly appreciated. I understand this issue is multifaceted but its very important i get the colors right for my note taking otherwise its a deal breaker

I just ran into the same issue, dont have time right now to debug it, which is what I think it is, a bug. i have been able to recreate this option by copy pasting the sourcode and adding a autocmd in my config like so
    vim.api.nvim_create_autocmd({ 'BufRead', 'BufNewFile', 'TextChanged', 'TextChangedI' }, {
      pattern = '*.md',
      group = vim.api.nvim_create_augroup('MarkdownSyntaxCustomization', { clear = true }),
      callback = function()
        local hl_opts = {
          checkboxes = {
            [' '] = { char = '󰄱', hl_group = 'ObsidianTodo' },
            ['x'] = { char = '', hl_group = 'ObsidianDone' },
            ['>'] = { char = '', hl_group = 'ObsidianRightArrow' },
            ['~'] = { char = '󰰱', hl_group = 'ObsidianTilde' },
          },
          -- Use bullet marks for non-checkbox lists.
          bullets = { char = '•', hl_group = 'ObsidianBullet' },
          external_link_icon = { char = '', hl_group = 'ObsidianExtLinkIcon' },
          reference_text = { hl_group = 'ObsidianRefText' },
          highlight_text = { hl_group = 'ObsidianHighlightText' },
          tags = { hl_group = 'ObsidianTag' },
          block_ids = { hl_group = 'ObsidianBlockID' },
          hl_groups = {
            -- The options are passed directly to `vim.api.nvim_set_hl()`. See `:help nvim_set_hl`.
            ObsidianTodo = { bold = true, fg = '#f78c6c' },
            ObsidianDone = { bold = true, fg = '#89ddff' },
            ObsidianRightArrow = { bold = true, fg = '#f78c6c' },
            ObsidianTilde = { bold = true, fg = '#ff5370' },
            ObsidianBullet = { bold = true, fg = '#89ddff' },
            ObsidianRefText = { underline = true, fg = '#c792ea' },
            ObsidianExtLinkIcon = { fg = '#c792ea' },
            ObsidianTag = { italic = true, fg = '#89ddff' },
            ObsidianBlockID = { italic = true, fg = '#89ddff' },
            ObsidianHighlightText = { bg = '#75662e' },
          },
        }

        -- This is copied from obsidian source since it does not work
        local function install_hl_groups(ui_opts)
          for group_name, hlopts in pairs(ui_opts.hl_groups) do
            vim.api.nvim_set_hl(0, group_name, hlopts)
          end
        end

        install_hl_groups(hl_opts)

        vim.api.nvim_set_hl(0, 'ObsidianHighlightTag', { fg = '#e6f0d1', bold = true })
        -- Used to hide codeblock that starts with dataview
        vim.cmd [[match ObsidianHighlightTag /highlights::/]]
        -- Execute Vimscript command to define the syntax region
        vim.cmd [[ syntax region DataViewBlock start=/^\(```dataview\|^```dataviewjs\)/ end=/^```/ conceal cchar=* ]]
      end,
    })

lua_ls still throws me multiple non-fatal warnings about the default config code thats on the repo.
Could indicate either my monkey ability to read a manual or an underlying issue with the config.
Crucially I think the issue is simply that the config is having trouble overriding highlights set by your theme.
I've mentioned a functioning workaround in this identical issue


Hotosm thematic creation

Just checking in with travis. Not ready for merge.

Closing in favor of #237


cli -s do not parse secret name/namespace properly

Describe the bug
When I run the following command argocd-vault-plugin generate - -s argocd-vault-config-dev it returns this error failed exit status 1: Error: secrets "argocd" is forbidden: User "system:serviceaccount:argocd:default" cannot get resource "secrets" in API group "" in the namespace "argocd-vault-config-dev"
It is parsing the namespace as the secret's name, and the secret's name as the namespace
To Reproduce
Steps to reproduce the behavior:

Run argocd-vault-plugin generate - -s argocd-vault-config-dev

Expected behavior
If it is a permission issues, it should be Error: secrets "argocd-vault-config-dev" is forbidden: User "system:serviceaccount:argocd:default" cannot get resource "secrets" in API group "" in the namespace "argocd"

While we try to reproduce and fix, can you verify you're using the latest release?

This issue has been resolved in https://github.com/argoproj-labs/argocd-vault-plugin/releases/tag/v1.8.0

This issue is still getting in the version 1.12.0


diffEditor.ignoreTrimWhitespace unclear wording

diffEditor.ignoreTrimWhitespace: Controls whether the diff editor shows changes in leading or trailing whitespace as diffs.
I think:
Controls whether the diff editor *ignores* changes in leading or trailing whitespace in diffs.
or
When enabled, the diff editor ignores changes in leading or trailing whitespace in diffs.
Would be more clear.

@JacksonKearl Should it maybe even say "leading AND trailing"?


Server docroot returned 500-level response. Please check your configuration for possible errors.

Steps to reproduce:

Download the current daux.io-master.zip. (At time of writing, the last commit is 9b7b76a.)
Extract the archive.
Execute the command: npm install
Execute the command: grunt

Expected result:
The website should open in my browser.
Actual result:
It aborts with the following warning:
Warning: Server docroot returned 500-level response. Please check your configuration for possible errors. Use --force to continue.
See attached full output
Additional information:
This was introduced by commit 2c3042a.
My environment:

Windows 10 Pro (64-bit)
PHP v5.4.45
node.js v4.3.1
grunt-cli v2.14.12

Hello, actually, grunt is the old way of running it, the best is to simply run  php -S <IP_ADDRESS>:8085 index.php (normally that would be ./serve but as you are on windows, this won't work.)
Grunt and gulp are just wrappers around that command.

I don't think port <IP_ADDRESS> works on Windows, so I tried php -S <IP_ADDRESS>:8085 index.php in addition to <IP_ADDRESS>.
The command window did not show the warning, but then it also didn't try to open the page for me. When I attempted to connect to the page via my browser using http://<IP_ADDRESS>:8085/ (http://<IP_ADDRESS>:8085/ does not work in my browser) I got a 500 response like before.
This would suggest that the problem is deeper in the code and isn't limited to the use of grunt.

I had a look with the latest version (0.2.1) on windows and it works fine with php bin/daux serve (the new way to run daux)
So I'm closing this issue, please reopen it if you encounter this issue again

I tried again using the latest copy of master. (Latest commit is 57f3111) I get the same result.

php bin/daux serve

and

php -S <IP_ADDRESS>:8085 index.php

both give me the same result. Opening http://<IP_ADDRESS>:8085/ in my browser gives a blank response with a status code of 500.
If it works for you, perhaps something is different with my environment. Do I need to upgrade any of the items I listed in my initial post?

Okay, I think we need to figure out why the page is blank and why you don't see the error messages.
Can you check in your php.ini to have display_errors set to On.
If you can't change your ini file, you can add this snippet to the beginning of the bin/daux file, (it's a text file) just after the <?php opening tag.
ini_set('display_errors', 'On');
error_reporting(-1);

About your environment I think it should work fine.

We established it's not linked to node/grunt/gulp.
I tested it on windows recently and it works.
Daux should still work on php 5.4 even if composer will refuse to install dependencies on a version older than 5.5

I suspect there is a missing PHP Extension. but we'll find out once you can see the exact error message.

Thanks for the suggestions. Here's what I found.
When I run the php bin/daux serve command, I see this error message in the console:
Warning: chdir(): Invalid argument (errno 22) in phar://C:/daux.io-master/daux.phar/libs/Console/Serve.php on line 41
The error displayed on the page is:

Warning:  Unknown: failed to open stream: phar error: "index.php" is not a file in phar "C:/daux.io-master/daux.phar" in Unknown on line 0

Fatal error:  Unknown: Failed opening required 'phar://C:/daux.io-master/daux.phar/libs/Console/../..//index.php' (include_path='.;C:\php\pear') in Unknown on line 0
I don't know the purpose of daux.phar, but it seems like it shouldn't be included in these paths.

I'm closing this issue as the Daux project has been moved to https://github.com/dauxio/daux.io
If you still encouter this issue with the latest version (0.8.0) I encourage you to report it in the new repository.


Test collecting lsp4mp extensions

Adds test for collecting lsp4mp extensions and java version requirements.
Switches mocha interface from tdd to bdd so we don't need to import describe / it in test files.
Also removes the vscodeTests directory since vscode-microprofile has no vscodeUITests folder like vscode-quarkus so the extra vscodeTests folder is not needed.
Signed-off-by: Ryan Zegray<EMAIL_ADDRESS>

FYI if you merge https://github.com/redhat-developer/vscode-microprofile/pull/8 first. I can rebase and update the tests to include document selectors as well.

Thanks @rzgry!


Unable to configure letsencrypt

Below is the auth_config.yaml I am using
`server:
addr: ":5001"
certificate: "/registryconfig/tls.crt"
key: "/registryconfig/tls.key"
token:
issuer: "Acme auth server"  # Must match issuer in the Registry config.
expiration: 900
letsencrypt:
# Email is required. It will be used to register with LetsEncrypt.
email<EMAIL_ADDRESS># Cache directory, where certificates issued by LE will be stored. Must exist.
# It is recommended to make it a volume mount so it persists across restarts.
cache_dir: /data/sslcache
# Normally LetsEncrypt will obtain a certificate for whichever host the client is connecting to.
# With this option, you can limit it to a specific host name.
host: "blueforge.eastus.azurecontainer.io"
`
I assume that I do not need certification and key to be configured when I use letsencrypt, but if I remove the certificate and key from the configuration the container does not come up. But if I configure the certificate and key with selfsigned certificate, the registry is still insecure and I get the error "x509: certificate signed by unknown authority".
If letsencrypt is configure correctly, I should not see the error and I need not add the registry as insecure to docker config right? How do I correctly configure letsencrypt?

I don't think LE is working if you have certfile and keyfile set, per this conditional https://github.com/cesanta/docker_auth/blob/3fb13f1d7eb9bbe0285c3877ed1938e39609e1af/auth_server/main.go#L100
It could be that LE when you have the correct config for LE to activate it won't as you aren't listening on port 443 per the tls-alpn-01 challenge type requirement https://letsencrypt.org/docs/challenge-types/#tls-alpn-01
Could you try having auth_server listen on port 443 to see if LE is able to provision a certificate for you?

Closing, but if the above doesn't work please re-open :)


No matching version found for<EMAIL_ADDRESS>

No matching version found for<EMAIL_ADDRESS>Project dependencies cannot be installed properly


Remove SetValue usage

Fixes non-static usage of DependencyObject.SetValue

Fixes non-static usage of DependencyObject.SetValue

Happen to know why it was this way before?
There's no linked issue here so can you flesh out a bit more of the "why" in this PR description?
Looking at the change itself... looks just clearly better :'D

Fixes non-static usage of DependencyObject.SetValue

Happen to know why it was this way before?
There's no linked issue here so can you flesh out a bit more of the "why" in this PR description?
Looking at the change itself... looks just clearly better :'D


Currency converter source and result fields overlap if window is small

Happens when running from main branch and not in the latest stable release

Only happens with GTK 4.12
Gonna change the design then...

Here is a screencast incase it helps in anyway
screencast

https://github.com/NickvisionApps/Denaro/releases/tag/2023.9.2-beta1


@CanIgnoreReturnValue in Builders

This PR updates the Builder API with @CanIgnoreReturnValue annotations where they are needed.
The library version is set to 2.0.0-SNAPSHOT.66.

@alexander-yevsyukov @dmdashenkov PTAL.


Add support for file attachments in core.sendmail

For my use case, I'm writing a workflow that'll

query an API and write the results to a file; and
email the file as an attachment.

This patch enables core.sendmail to send file attachments. There are two things of note here:

The attachments parameter is a comma-separated stringinstead of an array. This can be changed when we have better support for array serialization for shell scripts. (see discussion)
Only files found locally on the StackStorm host may be sent as attachments currently. We could change core.sendmail to a remote-shell-script instead of local-shell-script with a default host of localhost to make this more flexible. Thoughts?

# st2 run core.sendmail from=test<EMAIL_ADDRESS>subject="Just Testing" body="Gotta get 'em good" attachments="/tmp/image1.png,/tmp/image2.png"
..
id: 56d60990fb3b871d916f8043
status: succeeded
parameters:
  attachments: /tmp/image1.png,/tmp/image2.png
  body: Gotta get 'em good
  from: test
  subject: Just Testing
  to<EMAIL_ADDRESS>result:
  localhost:
    failed: false
    return_code: 0
    stderr: ''
    stdout: Successfully sent mail to<EMAIL_ADDRESS>    succeeded: true

The email was received with both attachments (named image1.png and image2.png in the email).
The action still works as expected when the attachments parameter is omitted.
 st2 run core.sendmail from=test<EMAIL_ADDRESS>subject="Just Testing" body="Gotta get 'em for real"
.
id: 56d60e1dfb3b871d916f804f
status: succeeded
parameters:
  body: Gotta get 'em for real
  from: test
  subject: Just Testing
  to<EMAIL_ADDRESS>result:
  failed: false
  return_code: 0
  stderr: ''
  stdout: Successfully sent mail to<EMAIL_ADDRESS>  succeeded: true

I followed this guide for attachments with sendmail.
/cc @Kami @m4dcoder

Thanks for the contribution!
We will have a look shortly.

After quickly looking at it, the changes looks good to me, but I still need to test it.
It would also be good to add some tests for it, but this would be quite hard right now. Hopefully, https://github.com/StackStorm/st2/issues/2522 will make it easier in the future.

Yeah, I was wondering about how tests may be written. Didn't see them for any other shell scripts, so I passed on it. For what its worth, before I moved on to testing with sendmail proper, I changed MAIL from sendmail to tee so that I could just see the email as text. Something like that may be doable and useful for a test like this. Much like writing "real code", though, it requires a bit of design to make sure your code is testable.

I checked it locally and seems to be working fine so I will go ahead and merge it.
I will also try to work on the local / remoter runner testing code infrastructure and framework in the near future so we can finally add some tests for those actions.

Merged, thanks.


Update properties

The .gitignore was extended by the directory classes and .attach_pid files. Also the configuration for cors (enabled by default) has been added to local.application.properties.template.

@thombergs, could you merge this PR?


Update to work with three.js rev86

Actually doesn't work correctly if you use last version of threejs (r86) (and I suppose and above)
Is there any plan to update to with with the last revision of threejs which is not using VREffect and VRControls yet?

thanks for bringing this to our attention, we will look into this, it is our plan to support future THREE.js versions

Do you have any update on this? Many thanks!

I have created a pull request for three.js that resolves this issue. I am hoping this gets merged as it is best for the device to be captured through the event.
Until then you can work around the issue with one additional step:
var enterVR = new webvrui.EnterVRButton(renderer.domElement, {});
enterVR.getVRDisplay().then(display=> renderer.setDevice(display));


Suggestion : toujours afficher le planning sur les 3 mois à venir (= dates glissantes à l'ouverture)

By default, the public forecasts open with a 3 months timeframe - from the start of the previous month to the end of next month. I am not sure it is a good idea to change this behavior.


Embed Code pop over is behind the footer

Describe the bug
The embed code pop over is covered by the footer, which makes it hard to copy the embed code needed for AEM
To Reproduce
Steps to reproduce the behavior:

Go to https://int.visualize.admin.ch/en/v/nYQIQwAoYJeG
Click on Embed
See error

Expected behavior
the pop over should be in the foreground not behind/ hidden by the footer
Screenshots

Environment (please complete the following information):

Visualize environment and version: INT v3.6.1 [a03b62e]
Browser and version: FF, Version 99.0.1 (64-bit)

Additional context
Add any other context about the problem here.

Fixed on int, I used popover from MUI now that have not the same problem so the look might be a little difference.
In addition to not having this z-index bug, MUI popovers try to place themselves in the current viewport, this is why if you do not scroll down to the bottom, the top of the popovers is not exactly at the same vertical place. If you scroll down to the bottom or dezoom the page, both the share and embed popovers will have enough space to display on the bottom and their top position will be the same.

LGTM! Thanks for the prompt fix @ptbrowne


MRG: Initialize self._current in Epochs

Reference issue
Fixes #5449 and fixes #5450.
What does this implement/fix?

Initializes self._current in Epochs. I also added some notes that the iteration state for an Epochs object is shared between the different methods (something I stumbled over a while ago).
remove call no non-existing stop method of Thread (there do not seem to be tests or examples that use RtClient!?)
while at it, I added a verbose decorator to RtEpochs.next() to be able to turn off the "Waiting for epoch i" messages

PR looks clean to me. I didn't try it on my computer though ...


Convert port entry data

H028Disc4.txt
We only used "P" and "N" which indicate the timestamps for each port entry and port exit. You can probably discard the rest.

Header:
File: C:\MED-PC IV\DATA\H028Disc4.txt

Start Date: 02/20/20
End Date: 02/20/20
Subject: H028
Experiment: DiscDay4
Group: Exp
Box: 4
Start Time: 13:43:54
End Time: 16:48:03
MSN: HL_Disc_CSr20k_CSshk3,5k

Port entry times are added from the MAT file that contains the stimulus presentation, port entry, reward delivery, shock relay and phototagging event onset and offset times. #14


"Râșca", "Buda", "Dumbrăveni", "Jahalia" and "Slătioara" villages are listed in the drop-down menu.

Description:
The villages are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Preconditions:
The website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

">Step 1
Write in the search bar "Râșca".
Expected results
The location is listed in the drop-down menu as "Sat Râșca SUCEAVA (Râșca)".

">Step 2
Write in the search bar "Buda".
Expected results
The location is listed in the drop-down menu as "Sat Buda SUCEAVA (Râșca)".

Step 3
Write in the search bar "Dumbrăveni".

Expected results
The location is listed in the drop-down menu as "Sat Dumbrăveni SUCEAVA (Râșca)".

Step 4
Write in the search bar "Jahalia".

Expected results
The location is listed in the drop-down menu as "Sat Jahalia SUCEAVA (Râșca)".

Step 5
Write in the search bar "Slătioara".

Expected results
The location is listed in the drop-down menu as "Sat Slătioara SUCEAVA (Râșca)".


fix endpoint

https://github.com/rancher/rancher/issues/7556

@StrongMonkey can you reenable the previously failing test?

@alena1108 @cjellick i ll close this pr in favor of https://github.com/rancher/cattle/pull/2446


Add basic rspec-puppet setup

@petems
Thanks for this, it looks great ! could you please squash your commits.

@tphoney Done! :+1:

thanks @petems  !