Duplicate directives error.

We just ran into an issue on my current project where the duplicate directives in your ui.bootstrap.dropdown example are breaking when you are using angular-bootstrap v0.11.0.
Click the plunker link here and then change the ui-bootstrap version to 0.11.0 to see the error:

Error: [$compile:multidir] Multiple directives [dropdown, dropdown] asking for 'dropdown' controller on:
http://errors.angularjs.org/1.2.16/$compile/multidir?p0=dropdown&p1=dropdow…%3D"dropdown" dropdown%3D"" on-toggle%3D"toggled(open)">

I realize this is an older version and you'll probably close this ticket immediately, but I figured this may help some people who run into a similar situation, and I also think there are a few problems to address regarding this.
Can update the example code to specify that you need 0.12.0 or greater, or that previous versions should use the class directive only?
Also, maybe I am missing something, but why would you ever want the the same directive on any element twice..? I skimmed through #2156, and it sounds like there was a conflict between non-angular bootstrap dropdowns and angular-bootstrap dropdowns.

For startes, don't use both the Twitter Bootstrap JS and UI Bootstrap in one project side-by-side. UI Bootstrap is designed to replace Twitter Bootstrap JS (not the CSS) so you don't need a jQuery dependency in your Angular projects.
This is probably not an issue if you don't include the Twitter Bootstrap JS and use the latest 0.13.0 release.


Known examples of flex service providers

For now I'm going to try and collect links here of known flex service that we can potentially use as sample producers of GTFS-flex:

RTD Denver - http://www.rtd-denver.com/callNRide.shtml
JTA Jacksonville

http://claytransit.com/default2.asp?active_page_id=1018 ?

HART Tampa - http://www.gohart.org/Pages/services-van.aspx
FDOT report for all of Florida from 2013 - http://www.dot.state.fl.us/research-center/Completed_Proj/Summary_PTO/FDOT-BDK85-977-37-rpt.pdf
King County Metro (Seattle, WA) - On-demand service, w/in a specific service area.  Within that geographic area, the trip must either start or end at one particular transit hub - https://kingcounty.gov/depts/transportation/metro/programs-projects/innovation-technology/innovative-mobility/first-last-mile/ride2.aspx

Mitfahr|DE|zentrale  promotes development of an rideshare data exchange standard. GTFS-flex might become such a standard, if common features of ridematching providers are supported. I think we could convince one or two german providers to produce a GTFS-flex stream.

This is an interesting idea to use GTFS-flex as a way of modeling planned rideshare trips, as they often have a "fixed route" with a tolerance for deviation.
It may also be useful to look at the rideshare section of this data formats roundup: http://trilliumtransit.com/2016/07/06/data-formats-roundup/
SF MTC's work with 3rd part rideshare apps is also interesting.
Can we coordinate? email me at<EMAIL_ADDRESS>
On Nov 3, 2016, at 11:47 AM, Holger Bruch<EMAIL_ADDRESS>wrote:
Mitfahr|DE|zentrale promotes development of an rideshare data exchange standard. GTFS-flex might become such a standard, if common features of ridematching providers are supported. I think we could convince one or two german providers to produce a GTFS-flex stream.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Stadtnavi Herrenberg uses GTFS-Flex to let OTP compute routes including local on-demand buses (but doesn't follow the spec entirely); We built generate-herrenberg-gtfs-flex to patch the GTFS dataset and add flex trips.


Failed to install on MacOS

I get the following error when installing via Terminal. Either there's an issue with my python install or Rtree and oxmnx
robs-mac-pro:optiburb mlaich$ pip3 install -r requirements.txt
Requirement already satisfied: shapely in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (1.7.0)
Requirement already satisfied: gpxpy in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (1.4.2)
Requirement already satisfied: numpy in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 3)) (1.19.1)
Requirement already satisfied: networkx in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 4)) (2.4)
Requirement already satisfied: pandas in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 5)) (1.1.0)
Requirement already satisfied: geopandas in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 6)) (0.8.1)
Collecting osmnx
  Using cached osmnx-0.15.1-py2.py3-none-any.whl (84 kB)
Requirement already satisfied: decorator>=4.3.0 in /usr/local/lib/python3.8/site-packages (from networkx->-r requirements.txt (line 4)) (4.4.2)
Requirement already satisfied: python-dateutil>=2.7.3 in /usr/local/lib/python3.8/site-packages (from pandas->-r requirements.txt (line 5)) (2.8.1)
Requirement already satisfied: pytz>=2017.2 in /usr/local/lib/python3.8/site-packages (from pandas->-r requirements.txt (line 5)) (2020.1)
Requirement already satisfied: fiona in /usr/local/lib/python3.8/site-packages (from geopandas->-r requirements.txt (line 6)) (1.8.13.post1)
Requirement already satisfied: pyproj>=2.2.0 in /usr/local/lib/python3.8/site-packages (from geopandas->-r requirements.txt (line 6)) (2.6.1.post1)
Collecting descartes>=1.1
  Using cached descartes-1.1.0-py3-none-any.whl (5.8 kB)
Collecting requests>=2.23
  Using cached requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting Rtree>=0.9
  Using cached Rtree-0.9.4.tar.gz (62 kB)
    ERROR: Command errored out with exit status 1:
     command<EMAIL_ADDRESS>-c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j0/hxwg1sp12yqgc10bd7hdvlvw0000gn/T/pip-install-fxwmeoh_/Rtree/setup.py'"'"'; __file__='"'"'/private/var/folders/j0/hxwg1sp12yqgc10bd7hdvlvw0000gn/T/pip-install-fxwmeoh_/Rtree/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j0/hxwg1sp12yqgc10bd7hdvlvw0000gn/T/pip-pip-egg-info-t8kncwja
         cwd: /private/var/folders/j0/hxwg1sp12yqgc10bd7hdvlvw0000gn/T/pip-install-fxwmeoh_/Rtree/
    Complete output (15 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/j0/hxwg1sp12yqgc10bd7hdvlvw0000gn/T/pip-install-fxwmeoh_/Rtree/setup.py", line 3, in <module>
        import rtree
      File "/private/var/folders/j0/hxwg1sp12yqgc10bd7hdvlvw0000gn/T/pip-install-fxwmeoh_/Rtree/rtree/__init__.py", line 1, in <module>
        from .index import Rtree
      File "/private/var/folders/j0/hxwg1sp12yqgc10bd7hdvlvw0000gn/T/pip-install-fxwmeoh_/Rtree/rtree/index.py", line 6, in <module>
        from . import core
      File "/private/var/folders/j0/hxwg1sp12yqgc10bd7hdvlvw0000gn/T/pip-install-fxwmeoh_/Rtree/rtree/core.py", line 143, in <module>
        rt.Error_GetLastErrorNum.restype = ctypes.c_int
      File<EMAIL_ADDRESS>line 386, in __getattr__
        func = self.__getitem__(name)
      File<EMAIL_ADDRESS>line 391, in __getitem__
        func = self._FuncPtr((name_or_ordinal, self))
    AttributeError: dlsym(RTLD_DEFAULT, Error_GetLastErrorNum): symbol not found
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Google tells me you're missing libspatialindex.  See if you can instal that with whatever package manager you're using (eg brew)

I tried that.
robs-mac-pro:optiburb mlaich$ brew install libspatialindex
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
nanorc
==> Updated Formulae
Updated 222 formulae.

Error: No available formula with the name "libspatialindex"
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

On brew the name of the package appears to be spatialindex

Thank you, worked a treat.


merge package template from arlac77/npm-package-template

package.json

chore(devDependencies): update<EMAIL_ADDRESS>from template

Coverage remained the same at 34.286% when pulling 24a7d8bac9f5090473366512ce134f842bffc4d0 on template-sync-1 into 9c66e12ed18801cab69fdf9ddb69b3a060b7a653 on master.

Coverage remained the same at 34.286% when pulling 24a7d8bac9f5090473366512ce134f842bffc4d0 on template-sync-1 into 9c66e12ed18801cab69fdf9ddb69b3a060b7a653 on master.


Ability to listen on surface Unfocus events

PopOS's Iced fork has an ability to listen on unfocus events, e.g. clicking outside of surface, which is useful for application launcher-like applications
See implementation in PopOS's fork: https://github.com/pop-os/iced/blob/5a3803923ee13388ef8638675f237998443aa45c/winit/src/platform_specific/wayland/sctk_event.rs#L460-L470

I have already handle the Unfocus event now.. Emm

Great! Thanks for doing it so fast


Use Nginx and eventlet to run SBS for websockets to work

A prerequisite for "Live" updates when something changes https://github.com/SURFscz/SBS/issues/206 is to change the deployment of SBS to use Nginx as reverse proxy with eventlet as wsgi server. See https://flask-socketio.readthedocs.io/en/latest/deployment.html#embedded-server.
The https://github.com/SURFscz/SBS/issues/206 feature is implemented in the feature brach feature/socketio

Done, tested and works perfectly.  (but see https://github.com/SURFscz/SBS/issues/391)


Update spring-context, spring-core to 5.2.11.RELEASE

Updates

org.springframework:spring-context
org.springframework:spring-core

from 5.2.10.RELEASE to 5.2.11.RELEASE.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.springframework" } ]

labels: library-update

Codecov Report

Merging #717 (c7a7f50) into master (be398cd) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #717   +/-   ##
=======================================
  Coverage   80.98%   80.98%
=======================================
  Files         116      116
  Lines        4023     4023
  Branches       95       95
=======================================
  Hits         3258     3258
  Misses        765      765

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 be398cd...c7a7f50. Read the comment docs.


Only run helm upgrade of changes are needed

It seems that the helm chart is applied on every reconcile even if the crd does not have any changes.

Somehow the operatro should keep track of crd revisions.

Good point, however the extension also needs to keep track of the namespace labels therefore a in-memory state could be used which includes the CR revision as well as all labeled namespaces.

Perhaps the infomation could be hashed and stored in an annotation.

Sounds like a plan, however we need to be carful because updating the ArgoCD CR also triggers a reconcile in the original operator that it does not trigger an endless loop of reconciles between the operator and the extension.

After a restart/upgrade of the extension pod the helm chart in the config map might have changed and a helm upgrade should be executed. Therefore the revision/state of that config map should also be part of the hash or a state hold in memory is still more appropriate for this additional requirement.


.ForSqlServer().Column("AName") fails to change name of column

I have a class
    public class BadIdentity
    {
        public int Id { get; set; }
        public string Name { get; set; }
    }

If my Code First Configuration is
            // Demo issue with ForSqlServer
            modelBuilder.Entity<BadIdentity>(b =>
            {
                b.Table("BadIdentity");
                b.Key(bi => bi.Id);
                b.Property(bi => bi.Id).ForSqlServer().Column("BadIdentityId").UseIdentity();
            });

then the PK in the table is "Id" not the expected "BadIdentityId".
If I move the ForSqlServer() after the Column(...) then it works.
            // Demo issue with ForSqlServer
            modelBuilder.Entity<BadIdentity>(b =>
            {
                b.Table("BadIdentity");
                b.Key(bi => bi.Id);
                b.Property(bi => bi.Id).Column("BadIdentityId").ForSqlServer().UseIdentity();
            });

I have created a repo with tests for EF issues as I find them at https://github.com/matthewDDennis/E7Issue.git
The test you should see is OrderOfForSqlDoesNotMatter().
Why does SqlServerPropertyBuilder even have a Column method?

The issue is actually not about ordering.
At present Migrations don't use the columnname annotation set for sqlserver so ForSqlServer().Column(...) doesn't have any effect which is bug.
But if you put Column(...) right after Property(..) it will use Relational annotations which are being used in migrations so that would work as you intend to.
We have Column method in SqlServerPropertyBuilder so that you can specifically set column name for SqlServerProvider and use different column name for any other provider.

the issue is being tracked at #1975

Closing as this is covered by the issue @smitpatel linked to (#1975).
Note we also decided in today's API review to remove the ForSqlServer() method and just have root level methods like SqlServerColumn(...). Also note this just allows a different column name to be set for individual relational providers (i.e. ProductId on SQL Server and PRODUCT_ID on Oracle). You can just use Column(...) if you want to set a column names for you relational provider(s).


Use Arc inside Field (#3955)

Draft as I am not sure about this and needs some shenanigans to work for serde
Which issue does this PR close?

Part of #3955
Rationale for this change

Allows for cheaper cloning of DataType and potentially faster comparisons, by comparing pointers instead of string contents
What changes are included in this PR?

Are there any user-facing changes?

I think if we Arc the entire Field -- as in https://github.com/apache/arrow-rs/pull/3965 we may not need this
I know that @crepererum  has mentioned other downstream places that copy the field name (like Statistics in DataFusion) but I think maybe a better design would be to update those downstream uses to hold a FieldRef rather than just the name 🤔

hold a FieldRef rather than just the name

That's not always possible, since you may not have the datatype at hand yet. So at least during logical planning in DF this ain't an option.

That's not always possible, since you may not have the datatype at hand yet. So at least during logical planning in DF this ain't an option.

🤔  I think as soon as DataFusion creates a LogicalPlan / Expr it is possible to get the type using https://docs.rs/datafusion/latest/datafusion/prelude/enum.Expr.html#impl-ExprSchemable-for-Expr
Or more to the point, with a LogicalPlan you also have a Schema with Field

Going to close this for now to clear up the review backlog slightly


PostCSS plugins don't do anything

I'm trying to add some PostCSS plugins. Currently trying to get pxtorem working, but my compiled CSS is unchanged. Here's the relevant config:
module.exports = {
  css: [
    { src: '~assets/scss/main.scss', lang: 'scss' }
  ],

  build: {
    postcss: [
      require('postcss-pxtorem')({
        propList: ['*']
      })
    ]
  }
}

@benjarwar this is similar to my issue. I found that you need to overite the default Sass loader like this but then that causes another issue (which is what my issue is about).

@benjarwar I was stumbling into the same - postcss plugins configured just fine in nuxt.config.js, but my css was not getting processed whatsoever. I was using nuxt.config.jss css field to specify my global css file.
However, I got it to work now by still using the config file to set postcss options, but to include my css from ie pages/index.vue using just the style element(without lang attr!).
Kinda like this
# pages/index.vue

...

<style>
@import "../styles/index.css";
</style>

...

# nuxt.config.js

...

build: {
    postcss: [
      require('postcss-easy-import')(),
      require('postcss-custom-properties')(),
      require('postcss-calc')(),
      require('postcss-custom-media')(),
    ]
  }

...

Btw in your above post, you got a typo: lang: 'scss'?!

Is that your want use scss in global css with post-css??

@didiself that is the use case. Looking to use SASS for pre-processing, then using postCSS for autoprefixing, pxtorem, etc. Bad practice?

@benjarwar of course not.
this is my config.

sass-resources-loader & postcss-loader can use in vue & scss.
but need add a postcss.config.js in root dir, for the line 42.
// I can't find a better way to reuse the postcss config in nuxt.config.js  for now.

last, sometimes run dev will console some error about scss, but pages still normal.
hope somebody can tell me why. LOL

Does adding postcss-scss scss will work ?

of course @piyushchauhan2011

Thanks for the advice, folks!
@didiself I'm trying your solution, but the compiled CSS still seems unaffected.
Here's my nuxt.config.js:
const pxtorem = require('postcss-pxtorem');
const StyleLintPlugin = require('stylelint-webpack-plugin');
const { resolve } = require('path');

const isVueRule = (rule) => {
  return rule.test.toString() === '/\\.vue$/'
}

const isSCSSRule = (rule) => {
  return rule.test.toString() === '/\\.scss$/'
}

const sassResourcesLoader = {
  loader: 'sass-resources-loader',
  options: {
    resources: resolve(__dirname, './assets/scss/main.scss')
  }
}

module.exports = {
  css: [
    { src: '~assets/scss/main.scss', lang: 'scss' }
  ],

  build: {
    loaders: [
      {
        test: /\.md$/,
        loaders: ['markdown-with-front-matter-loader']
      },
      {
        test: /\.svg$/,
        loaders: ['svg-sprite-loader']
      },
      {
        test: /\.(woff2?)(\?.*)?$/,
        loader: 'url-loader',
        query: {
          limit: 1000,
          name: 'fonts/[name].[hash:7].[ext]'
        }
      }
    ],

    plugins: [
      new StyleLintPlugin({
        files: 'assets/scss/**/*.scss'
      })
    ],

    postcss: [
      require('autoprefixer')({
        browsers: ['last 2 versions']
      }),
      require('postcss-pxtorem')({
        propList: ['*']
      })
    ],

    vendor: [
      'babel-polyfill'
    ],

    /*
    ** Extend Nuxt Webpack config
    */
    extend (config, ctx) {
      if (ctx.isClient) {
        config.module.rules.push({
          enforce: 'pre',
          test: /\.(js|vue)$/,
          loader: 'eslint-loader',
          exclude: /(node_modules)/
        })
      }

      config.module.rules.forEach((rule) => {
        if (isVueRule(rule)) {
          rule.query.loaders.scss.push(sassResourcesLoader)
        } else if (isSCSSRule(rule)) {
          rule.use.push('postcss-loader', sassResourcesLoader)
          console.log(rule)
        }
      })
    }
  }
}

And here's postcss.config.js:
module.exports = {
  plugins: [
    require('autoprefixer')({
      browsers: ['last 2 versions']
    }),
    require('postcss-pxtorem')({
      propList: ['*']
    })
  ]
}

No errors in the console. When I log out the rule in the else if (isSCSSRule(rule)) block, it looks like the postcss-loader has been properly added:
{ test: /\.scss$/,
  use:
   [ 'vue-style-loader?sourceMap',
     'css-loader?sourceMap',
     'sass-loader?sourceMap',
     'postcss-loader',
     { loader: 'sass-resources-loader', options: [Object] } ] }

RE @piyushchauhan2011's suggestion of postcss-scss, I'm not sure how to implement, since that doesn't compile the SCSS.

I also haven't tried integration of postcss-scss, having problems with postcss with scss hence currently we shifted to postcss only. Apparently the editor support is not quite good, and keep getting warnings related to sourceMap if use lang="postcss" in .vue files. Not sure how to remove them. @benjarwar
Will try today, let's see if the above works for me too!

Thanks, @piyushchauhan2011, keep me posted.
@Atinux saw your comment over on @damian-nz's similar Issue. Any thoughts? I think I'm applying your recommended config correctly, but postCSS doesn't affect the output of compiled global SCSS files (see configs above).

@benjarwar @Atinux I have been AFK. I too have attempted to apply the same config as was suggested and also cannot get postCSS to do anything.
My issue has been closed but I will follow this thread along now that we have the same problem and now that this one has been labeled as a bug

PostCSS support is improved a lot. Coming with rc5 :) Also while the old array will be still supported, here is recommended usage:  (Another option is using postcss.config.js which will be automatically detected if exists in your project)
  postcss: {
      'postcss-pxtorem': { propList: ['*'] }
   }

Will update docs after release too.

Please upgrade to rc5 :)
https://github.com/nuxt/nuxt.js/releases/tag/v1.0.0-rc5

Thanks, @pi0 and @Atinux!

I'm trying to use rupture and lost with stylus in my vue files. I've already installed the node_modules and added them to my nuxt.config.js file but it seems like when I try to use rupture or lost, it doesn't understand it....
https://github.com/jescalan/rupture
https://github.com/peterramsing/lost#vertical-grids
Are there some external configuration from the nuxt.config.js file that I need to do for them to work properly? Thanks!
  /*
  ** PostCSS Plugins
  */
  postcss: [
    require('lost')(),
    require('rupture')(),
    require('axis')(),
    require('postcss-nested')
  ]

Having the same issue here trying to use Stylus with Rupture.
I had no problem using SASS libraries, but this isn't the same with Stylus.
I tried adding them in nuxt.config.js :
config.plugins.push(new webpack.LoaderOptionsPlugin({           test: /\.styl$/,           stylus: {             default: {               use: [rupture()], // rupture is required above             },           },         }));
Since I added this, I get no errors when building, but I land on the Nuxt error page :
failed to locate @import file rupture.styl at CachedPathEvaluator.visitImport (/Users/.../Sites/project/node_modules/stylus-loader/lib/evaluator.js:157:21)
I'm sure I'll get to the bottom of this somehow but if someone already solved this and wanna help, that would be delightful

@rlam3 did you get rupture to work?
When I added it to postcss: [] as you did, I'm getting a build error,
something about style.include.. ?!

@eybarta no i didn't I'm still trying to figure out nuxt plugins as well... i opted to use css media as a workaround for the time being. if you find anything please let me know as well. :)


Performance regression with urlURL

The changes for the RouterRequest URL API (#859 and #904, and the associated changes in Kitura-net) caused a throughput regression.
The original change to use URLComponents (#859) costs around 6% throughput, but also introduced a memory leak (a bug in Foundation), which #904 resolves using URL.  Unfortunately, it turns out that creating a URL is expensive - this cost us over 20%, adding up to around 30% regression overall on our 1.2.0 performance (for simple hello-world type requests).
Ultimately the solution is URLComponents, once the memory leak is fixed.  Until then, I'd like to avoid the ~30% performance regression when possible.

@djones6 Please see KituraNet branch issue_933_2 which attempts to defer the creation of the URLs as much as possible.

On an Ubuntu 16.04 box with Swift 3.0.2,  Kitura 1.2.0 (pre-URL changes) /plaintext performance = 67k req/s.
1.4.0 (plus check for log level before accessing headers in onHeadersComplete()) = 48k
Calculation of the full url (as a String) but not creating a URL = 63k
Calculation of the full url and creating a URL (but not using it in RouterRequest) = 54k
Using the URL in RouterRequest (getting the String representation and converting it to a Data) = 48k
In other words, the costs:

Accessing the headers and building up the URL string = 6%
Creating the URL object = 14%
Converting the URL object to a Data so that we can pass it to URLParser = 9%

The lazy initialization introduced in IBM-Swift/Kitura-net#162 and IBM-Swift/Kitura#943 recovers the whole regression for cases where the URL does not have to be initialized.  Reasons why we may still initialize it include accessing the query params, the parsedURL property of RouterResponse, or the urlURL property of ServerRequest.
The ~6% regression that I measured in Kitura 1.2.2, when URLComponents was introduced, may well have been the cost of calculating the full url - ie. not the cost of creating a URLComponents.  It should still be our long-term goal to move back once the memory leak is resolved.

For reference, I raised https://bugs.swift.org/browse/SR-3481 for the memory leak in URLComponents.


Port guncases

Description
Some ColMarTech vendors vends guns in gun cases, for example MP Equipment Vender:

Additional context
/obj/item/storage/box/guncase
  name = "\improper gun case"
  desc = "It has space for firearm(s). Sometimes magazines or other munitions as well."
  icon_state = "guncase"

from code/modules/cm_marines/equipment/guncases.dm

Completed gun cases:
MK80 Case
Smart Pistol case
SL construction case (squad leader)
M4SPR case (squad leader)
M54C case (squad leadeR)


clean drone conf

Codecov Report

Merging #52 (0c2c428) into master (20e43f7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #52   +/-   ##
=======================================
  Coverage   42.67%   42.67%
=======================================
  Files          15       15
  Lines         478      478
=======================================
  Hits          204      204
  Misses        261      261
  Partials       13       13

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 ba61f0f...bf1c71e. Read the comment docs.

@techknowlogick should have the same but looks cleaner

right ... https://pkgs.alpinelinux.org/package/v3.12/community/x86_64/go


Allow users to change their DTag

Description
This PR make a small edit inside profiles workflow to allow users to change their DTag.
Closes #226.
Checklist

[x] Targeted PR against correct branch.
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[x] Wrote unit tests.
[x] Wrote integration tests (simulation & CLI).
[ ] Updated the documentation.
[x] Added an entry to the CHANGELOG.md file.
[ ] Re-reviewed Files changed in the Github PR explorer.

Looks like there is a test failing @bragaz. Otherwise looks good to be merged.

@RiccardoM Everything works fine. CLI tests keep stopping for an unknown error, but they all pass locally.
I think we can merge now


"Rompetomp\InertiaBundle\Architecture\InertiaInterface" is not an existing service

I tried to install the package but this exception is raised when using InertiaTrait:
Cannot autowire service "App\Controller\FrontController": argument "$inertiaService" of method "setInertiaService()" references interface "Rompetomp\InertiaBundle\Architecture\InertiaInterface" but no such service exists. Did you create a class that implements this interface?

And this exception is raised when autowiring:
The service "App\Controller\FrontController" has a dependency on a non-existent service "Rompetomp\InertiaBundle\Architecture\InertiaInterface".

PHP version: 8.2
Symfony version: Tried with 6.3 and 7.1
Code snippet:
namespace App\Controller;

use Rompetomp\InertiaBundle\Architecture\InertiaInterface;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Attribute\Route;
use Symfony\Contracts\Service\Attribute\Required;

class FrontController extends AbstractController {
    // Or:
    // use InertiaTrait;

    #[Required]
    public InertiaInterface $inertia;

    #[Route('/', name: 'home')]
    public function index() {
        return $this->inertia->render('HomePage');
    }
}

composer.json:
"skipthedragon/inertia-bundle": "^1.1"

I also tried to autowire InertiaService but it didn't work.

Hi,
I'll have a look over the weekend.

Hi, I can't seem to reproduce this error. I have tried to reproduce it in this project: https://github.com/SkipTheDragon/nft-marketplace/tree/admin-panel
Your controller: https://github.com/SkipTheDragon/nft-marketplace/blob/admin-panel/src/Controller/FrontController.php
P.s.: I have tested with symfony 7.0 and 7.1, did you try cleaning the cache or removing the vendor folder and reinstalling your dependencies?

Also, could you provide me with a repository showcasing this problem? That would greatly help me in finding what's wrong.


ListView recycling bug using custom component

A Discord user reports:

It looks like the ListView has a pretty nasty recycling bug when you try to use a custom component in the template. Is there a common fix for this?

<listView bind:items={items}>
    <Template let:item>
        <Item content="{item}"/>
    </Template>
</listView>

Item.svelte
<flexboxLayout></flexboxLayout>

Result

Since about 13 items fit in the frame, item one will be recycled for item 14, while still keeping the same data, so the 14th item contains "One" rather than "Fourteen"
Nativescript has this problem with other frameworks too, there is a workaround where you just put the contents of your custom component in the Template, but if components have their own logic, you're going to have to write some truly ugly code to compensate for that, and it might significantly impact performance as well.

I tried to reproduce with svelte-native 0.9.3 and nativescript 7.0.6 and couldn't.

The only change I made to your code was to remove the bind;items and replace with just items since it was a const it can't be bound.
I guess we need more information on how to reproduce.
The code below was pasted into a fresh template npx degit halfnelson/svelte-native-template listviewtest
App.svelte:
<page>
    <listView items={items}>
        <Template let:item>
            <Item content={item}/>
        </Template>
    </listView>
</page>

Item.svelte:
<flexboxLayout></flexboxLayout>

closing due to no repro


Non-Metal based perceptual image comparison

Overview
Remove Metal usage since some virtualized environments don’t support it and silently fail (only logging something in the console). Replaces the CoreImage operations that require Metal with CPU-based calculation.
Context
Metal is supported by all iOS/tvOS devices (2013 models or later) and Macs (2012 models or later). Older devices that don't support Metal also do not support iOS/tvOS 13 and macOS 10.15 which are the minimum versions of swift-snapshot-testing. However, some virtualized Mac environments do not have a GPU and therefore do not support Metal. In this case, macOS falls back to a CPU-based OpenGL ES renderer that silently fails when Metal commands are issued. The output of the silent failure is a solid black image. And since the threshold filter returns black pixels when it passes, the solid black image from the silent failure causes false positives.

Related PRs

Utilizes the byte buffer iteration speedup from https://github.com/pointfreeco/swift-snapshot-testing/pull/664

Thank you! I spent a bunch of time recently trying to debug why we were having false positive on our CI/CD pipeline, I was able to narrow it down to trying to use perceptual precision on a virtualized MacOS and ended up putting some other bandaids in place to fix it temporarily.

I just recently switched to the revision with this change and what I see in the CI logs that every failing tests is now taking 12 seconds and more where without using precision (or setting it to 1.0) it takes ~2s

Having the same issue here using Xcode Cloud.
It's outputting No Metal renderer available in the logs but all the tests passes.
Even when we break the UI completely, trying to force it to fail, it still passes, so I believe it's generating all-black images there as well.

I don't think any more that my issue is related to Metal not being available. In that case I would expect 100% failures, yet some tests are still failing on CI as expected but some are not.

I don't think any more that my issue is related to Metal not being available. In that case I would expect 100% failures, yet some tests are still failing on CI as expected but some are not.

With my investigations here, when this "No Metal renderer available" runs, it renders a completely blank image for any snapshot, either the newly taken or the reference one. So, the images will always match.
It'll only fail when having different dimensions/frames. Maybe it's your case

It'll only fail when having different dimensions/frames

Yes, you are most likely right about that!

@ejensen is there any changes you could get back to this? Since it's either false positives or degraded performance will have to revert to using intel machines for recording snapshots but don't want to do that if you have an idea how to solve this.

ejensen is there any changes you could get back to this? Since it's either false positives or degraded performance will have to revert to using intel machines for recording snapshots but don't want to do that if you have an idea how to solve this.

Commit 8d402bf adds the Metal-based method back. There is not a straightforward way to determine if the (virtualized) machine supports Metal, so there is a tricky bit of conditional logic that would benefit from testing on more machine configurations.

@ejensen thanks for the update, although I don't think it will help with performance when Metal is not supported. Is there a way to use a similar filter from CoreImage?

Hello, I am having the issue described here: https://github.com/pointfreeco/swift-snapshot-testing/issues/710, and this PR really fixed the problem. Great works! Is it possible to merge it as soon as possible?

@ejensen In your https://github.com/pointfreeco/swift-snapshot-testing/pull/628 you had used the CIColorThreshold filter for comparison and then switched to using Metal so you could target older versions of macOS. What do you think about going back to that?

Sounds like we should be able cover all bases if we:

If MPS is supported, use that.
If not, check if macOS 11.0+ and use CIColorThreshold.
If not, fall back to vImage buffer iteration.

Thanks for this! And sorry for the delay. Strategy-specific PRs tend to take on a lot of complexity due to all the branching and platforms involved.


Pool test is flakey

@nomeata reports that a build of shake-0.15.10 on Debian failed:
## TESTING pool
TESTS FAILED
shake-test: ASSERTION FAILED: failed in ===
LHS: (3,0)
RHS: (5,0)
Test suite shake-test: FAIL

From https://buildd.debian.org/status/fetch.php?pkg=haskell-shake&arch=amd64&ver=0.15.10-1%2Bb1&stamp=1468409225&file=log

Looking at the code, it spawns 5 threads, then expects there to be a 0.01s gap they are all running. That's a very tight gap! I've adjusted the code to a 0.1s gap, but really need to think about what I'm doing here and come up with more robust tests.

I think you want a barrier in the individual threads, instead of a wait, and then a special controller thread that releases the barrier.

I thought about that - but for one case I'm looking to spawn 6 threads in pool, wait for 5 to meet at the same time, but want to allow the 6th to meet too if it is being run simultaneously, but I really hope it isn't.  I don't see any way to check for that condition without a sleep.
That said, I could certainly make it more robust, and make it only give false-negatives - and certainly should.

I've done nice robust waits for all but the first test. That really does need to have time based meet since I don't want the final one to be penalised for being slow - if it ever meets it will be a failure. Unfortunate, but its now 10x more tolerant.


Enhancement: Add text alignment options to UI elements

In the official app, all cutscenes have the text aligned to the top left of the text area like this:

This is currently not natively supported by Valkyrie. We can fake text to have that appearance by using spaces and newlines, however this method is

Time consuming
Imprecise
Breaks whenever you change the resolution (probably a bug)

However, the centre aligned text looks really bad for cutscenes and can make the text harder to read especially when there are massive discrepancy's in the size of individual lines. What we really need is a vertical and horizontal left/centre/right alignment options like what Microsoft Excel has.

UI Text alignment would be very nice to have. Do you think this should be limited to UI text elements only? Or should it also be available for dialogue boxes and buttons?
@EwenDC A question concerning your point 2 and 3 did you position your text box with Units set to Vertical? If not, then you might want to check the new chapter in the tutorial: 'Introduction UI - the prologue'. With vertical positioning the text box should behave more predictable.

That's the thing, I am using vertical units with centre alignment. That's why I think it must be a bug, because it seems to treat spaces and word wrap differently depending on your actual resolution, regardless of aspect ratio.

I would still love to see this ticket implemented for UI texts (and if possible also for event dialogue text).
An option to set horizontal alignment:

Left
Center (<-default)
Right

An option to set Vertical alignment (will only have effect with UI Text Box, since event dialogue box sizes with the text):

Top
Center (<- default)
Bottom

The interface in the editor could look like this:

Adding extra \n in at the start or end of a text could mimic vertical alignment. But it will never look nice, and it makes the work for translators very complex. especially in cases like this:

@EwenDC, @NPBruce, @Quantumrunner , @scrubbless

@mayjak
TextMeshPro sounds like a good way to solve this. This documentation shows the stuff you can do with it. Looks like it is a HTML like format.
But some things would need to be solved first:

Does this work with Unity 2018.4?
How would this be activated for an Event Text or Label (e.g. additional checkbox "Is Richtext?")?
How would this deal with the infamous quote-character (")? This has been causing ever since because texts containing it have to be escaped. TextMeshPro texts would contain dozens of quote character.

@Quantumrunner

Does this work with Unity 2018.4?
Yes, version 1.4.1 is certified for Unity 2018.4

How would this be activated for an Event Text or Label (e.g. additional checkbox "Is Richtext?")?
I haven't decided on this yet. I think that a checkbox should be fine.

How would this deal with the infamous quote-character (")? This has been causing ever since because texts containing it have to be escaped (""). TextMeshPro texts would contain dozens of quote character.
Good point. There should be an automatic escape/unescape when you save it/load it. It shouldn't be rocket science to handle it, but that's definitely something that needs to be handled. I'll check how it works with the current text entries too. Maybe I could fix it for standard text. Is " the only character that needs to be escaped? Worst case scenario we can do html encoding like ", but I'd rather not do that as it makes the source file unreadable.

I did a quick test and it seems it's pretty straightforward to add it as a separate option:

My question is going forward is there any good reason NOT to use this?
If not, then I suggest that all new dialogs default to this, existing dialogs can use the old method with an option appearing to upgrade them. Behind the scenes you can use a legacy text flag to fall back to the old system, and apply this to all text that is imported from older quest versions.

@NPBruce Sounds like a good solution.
@mayjak
Is " the only character that needs to be escaped? Worst case scenario we can do html encoding like ", but I'd rather not do that as it makes the source file unreadable.
This is the only character I know of. Everything else should be working fine.
I guess this might be a problem for translators, but as a rule of thumb it the html structure should not be touched by translators. It raises a valid point that "rich text" would make the translation process a bit more difficult.
Yes this has always been a big problem for translators. Therefore I have been using „text“ or 'text' in my creations in the past.
Maybe we can find another character (e.g. |) for this with the new editor component or even a new logic which gets rid of this problem completely.

The simplest thing that comes to mind is basically what you were doing in your scenarios - replace " character with “. I'll take a look into localization files format. Maybe there's something else we can use there as this must be a common problem for the whole Unity community.


Update Suggestion: Amber

Please Describe Suggested Update:
Hi 6102bitcoin,
Would you mind to update Amber's location from "Australia" to "USA & Australia", please?
Linked to the site from Reddit at least 1,000 times in the past year. Keep it awesome and Bitcoin ONLY, please.

Bump @NGUmonster

Just came across this tweet (the US launch confirmed in the comments). https://twitter.com/JWWeatherman_/status/1465120597256646660
It seems like it was in beta until a couple of days ago.

ok. Ready to be made into a pull request.

Merged


[FEATURE REQUEST] Console log if only put one letter and pressed Reverse button.

Instead of logging only if there is only one letter, isn't it a better idea to log if the inserted text is palindrome? I can implement this if you like.

I replied on this one via email, I say Yes.
@HamzaYehia is already made a PR to go ahead with this, so merging that (#4)

Sure.
On Wed, 28 Sept 2022 at 14:35, Vitika Soni @.***> wrote:

Instead of logging only if there is only one letter, isn't it a better
idea to log if the inserted text is palindrome
https://en.wikipedia.org/wiki/Palindrome? I can implement this if you
like.
—
Reply to this email directly, view it on GitHub
https://github.com/KendallDoesCoding/backward-text/issues/1#issuecomment-1260608483,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUGJUTJYFMAFLPZXPLSGBULWAQC4ZANCNFSM5QCSBYCQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


[FEAT] Replace category page configuration state with page metadata

:bulb: Feature request
Feature Name

Replace category page configuration state with page metadata
The Desired Behavior

I don't want my category state to be intersected with DaffCategoryRequest

Fixed in https://github.com/graycoreio/daffodil/pull/1457


[Enhancement]: Enable caching through CLI

What happened?
There is no way to add caching through the CLI.
If we compare how we add telemetry:
dab add-telemetry
    --app-insights-enabled true
    --app-insights-conn-string "@env('app-insights-connection-string')"

{
  "runtime": {
    "telemetry": {
      "application-insights": {
        "enabled": true,
        "connection-string": "@env('app-insights-connection-string')"
      }
    }
  }
}

add-telemetry also works to update telemetry

There is no comparable for caching.
We need two commands, one for runtime the other for entity.

dab add-caching --enabled true --ttl-seconds 10
dab update Actor --caching.enabled true --caching.ttl-seconds 10 assuming my entity name is "Actor"

The only way to edit from the command line today is, for example, using PowerShell.
function Add-Caching-Runtime {
    param (
        [PSCustomObject]$jsonContent,
        [bool]$enabled,
        [int]$ttl
    )

    if (-not $jsonContent.runtime) {
        throw "Runtime section is missing in the configuration file."
    }

    if (-not $jsonContent.runtime.cache) {
        $jsonContent.runtime | Add-Member -MemberType NoteProperty -Name cache -Value @{ enabled = $enabled; "ttl-seconds" = $ttl }
    } else {
        $jsonContent.runtime.cache.enabled = $enabled
        $jsonContent.runtime.cache."ttl-seconds" = $ttl
    }

    return $jsonContent
}

function Add-Caching-Entity {
    param (
        [PSCustomObject]$jsonContent,
        [string]$entityName,
        [bool]$enabled,
        [int]$ttl
    )

    if (-not $jsonContent.entities.$entityName) {
        throw "Entity '$entityName' is missing in the configuration file."
    }

    if (-not $jsonContent.entities.$entityName.cache) {
        $jsonContent.entities.$entityName | Add-Member -MemberType NoteProperty -Name cache -Value @{ enabled = $enabled; "ttl-seconds" = $ttl }
    } else {
        $jsonContent.entities.$entityName.cache.enabled = $enabled
        $jsonContent.entities.$entityName.cache."ttl-seconds" = $ttl
    }

    return $jsonContent
}

# Example usage inline
$configFilePath = "dab-config.json"
$jsonContent = Get-Content $configFilePath -Raw | ConvertFrom-Json
$jsonContent = Add-Caching-Runtime -jsonContent $jsonContent -enabled $true -ttl 60
$jsonContent = Add-Caching-Entity -jsonContent $jsonContent -entityName "Actor" -enabled $true -ttl 60
$jsonContent | ConvertTo-Json -Depth 10 | Set-Content $configFilePath
Write-Output "Complete"

I recognize that this "works" but this is far from ideal.
Version
GA
What database are you using?
Azure SQL
What hosting model are you using?
Local (including CLI)
Which API approach are you accessing DAB through?
REST, GraphQL
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Similar to #1919


Add system-wide hotkey for "disconnect all VPN connections"

A suggestion - Add configurable  system-wide hotkey for "disconnect all VPN connections". Thanks.

The best way to do this would be to add a hotkey that marks the virtual hub offline (I think)

It may even be a simple API call (cannot verify right now), in which case you could use xmodmap or any hotkey mapper to call a script which did the appropriate api call


split pyobject.rs to multiple files

Reorganize pyobject as a internal module importing all public items from pyobject.rs and pyobjectrc.rs.
Split TryFromObject, TransmuteFromObject, TryFromBorrowedObject into vm::convert. They will still be exposed to vm crate root.
Split PyArithmaticValue, PyComparisonValue to vm::function through vm::function::arithmetic. IntoPyRef through  vm::function. They will not be exposed to crate too.
Split PyClassDef, PyClassImpl, StaticType into vm::pyclass as the same level as vm::pyobject. They will not be exposed to crate.
Hide uncommon types PyAttributse, PyLease, PyThreadingConstraint from crate root.

@coolreader18 I am going to merge this to avoid massive conflict. The changes itself is not easy to revert, but the UX can be reverted easily by just exposing a few types to root again

Oh, nice, looks good!


Design recommendation page

Issue Number
fixes #60
ISSUE #60
Describe the changes you've made
A mood page is made by adding funny movies, sad, energetic movies.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Additional context (OPTIONAL)
Add any other context or screenshots about the feature request here.
Test plan (OPTIONAL)
A good test plan should give instructions that someone else can easily follow.
How someone can test your code?
Checklist

[ ] I have added my name in the contributors list at the end of README.md file.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] The title of my pull request is a short description of the requested changes.
[x] LGMSOC21

we need to add it in the nav bar

we need to add it in the nav bar

Obviously, name it 'My recommendations'.

Add it in the navbar of every single page.

Ok i will make the changes

Done updating all the nav bar.

Check responsiveness in both mobile and desktop views.
Share screenshot.

Navbar is disoriented.
Looks like you have used a different font use the one which is used in other pages.
Change the line "movie suggestion by feeling and ....." to "My Recommendations".
And if 'my recommendation' doesn't fit in the nav bar use something else.

I named it mood still the navbar is disoriented

and search bar is also working

I named it mood still the navbar is disoriented

Try fixing it

@kshitija-2001 just remove recommendations from the navbar and add it with other genres in the drop down list.

@kshitija-2001 Any update? If you face issue in the code let me know with your problem I am here to help you out.

@kshitija-2001 any updates?

yes working on it!

@kshitija-2001 this PR is open since 21 days.
Website has been updated.
I am closing this PR.
Just add my recommendation page in the genres drop-down list.


Add warnings for using deprecated types and filter names in EnvoyFilter

Fixes https://github.com/istio/istio/issues/28920

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
3982272eb3fe47ce564ef7c70e5fbb46801fda90
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
3982272eb3fe47ce564ef7c70e5fbb46801fda90
link
/test lint_istio

integ-telemetry-k8s-tests_istio
adf781200d655eda386a0e8e9656d76c172b150b
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-multicluster-tests_istio
adf781200d655eda386a0e8e9656d76c172b150b
link
/test integ-security-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Netflix addon deletes all my Kodi library, includind libraries from another addon

Hi,
The Netflix addon is causing libraries to be purged. Jellyfin library is completely wiped at every library cleanup that the netflix addon does. I disabled the auto-update feature for tv shows seasons and episodes and everything is ok.
This is all the info: https://github.com/jellyfin/jellyfin-kodi/issues/375
Using the latest Kodi Leia build, win 10 and haven't installed any new software in ages. Everything was ok until a couple weeks ago. Maybe this issue can be fixed without disabling that option in settings.
It's 100% confirmed that this setting is purging the library when active: "Auto-update for tv shows seasons and episodes"

Hi,
The Netflix addon is causing libraries to be purged. Jellyfin library is completely wiped at every library cleanup that the netflix addon does. I disabled the auto-update feature for shows and movies and all is ok.
This is all the info: https://github.com/jellyfin/jellyfin-kodi/issues/375
Using the latest Kodi Leia build, win 10 and haven't installed any new software in ages. Everything was ok until a couple weeks ago. Maybe this issue can be fixed without disabling that option in settings.

you want to say that i should avoid use this kodi feature (clean database) because Jellyfin not works well ?!
any add-on can call the database cleaning to remove the non existing items not only this addon

Yep, this kodi feature purges library items for every addon that is streaming ( jellyfin, plex, emby ). The database is not on the pc that kodi is installed resulting in this deletion. Ty for your reply.

plex? you mean dlna server?

Yes. Plex, Jellyfin and Emby are DLNA servers and I have Jellyfin setup so I can watch my shows even when I am away with work in other cities or countries.

next days i will try plex by installing it in local on my station to better understand this

You don't need to remove this feature, just set it to disabled by default, not to scheduled - daily. Install Jellyfin because atm I have used Jellyfin in the last 6 months. I set it to disabled and all is fine, no need to completely remove it.

Same problem, now disable option auto updated, but content in netflix still empty, how can i restore it back?

I have this issue as well and was able to reproduce it with a combination of different video plugins that handle the databases differently.
Video Addons: Netflix, Jellyfin, OpenMeta
The Netflix addon generates STRM files , Jellyfin and OpenMeta put entries directly into the Kodi Database.
When a cleanup is triggered by either the Kodi Library Settings' "Cleanup" or the Netflix Library Update Now button (which seems to trigger the cleanup just like I do in the Kodi Library Settings) the Cleanup does its job. And that job is to remove all files that have no file available. Because the STRM files physically exist, they do not get removed. All the entries out of thin air by Jellyfin and OpenMeta are removed. Just like the Cleanup said.
So I think there is not really a real problem here, other than a feature request to give add an option to skip the cleanup part of the update routine.
I think disabling it would mean that Content officially removed from Netflix would remain in the Kodi Database. Are there any other implications I don't see here?
Hope I could clear things up a little and I'm open and ready to provide more info.

Nice that you took the time to investigate qnd report all this back. Maybe this will better help the developer of this great addon.

I think disabling it would mean that Content officially removed from Netflix would remain in the Kodi Database. Are there any other implications I don't see here?

exactly if you do not run the Clean, all deleted items remains visible and broken in kodi library,
otherwise to fix this we have to use the jsonRPC calls for the removal of each single library file
this could be a slow job and if i remember correctly, it also has another problem, which while doing this, it shows the loading screen. So if you are watching a movie and in same time this operation is performed you will be interrupted until it is completed...
Analyzing Kodi's source codes, there seems to be a theoretical possibility to modifiy the Clean function to add a parameter
to allow cleaning only within a certain path (eg netflix folder) as with the Scan function, this could solve all problems at the root, but would be applicable only to Kodi 19 because Kodi 18 is EOL.
FWIK there is no clean solution at moment
i have tried to install jellyfin but i am not able to add to kodi library the videos,
i have follow the instructions (also install plugin in server side) but after configured the addon (select server pw and addon or native) the tvshows are not listed in the kodi library?!? what step i missing?

Analyzing Kodi's source codes, there seems to be a theoretical possibility to modifiy the Clean function to add a parameter
to allow cleaning only within a certain path

Not what you talk about this, I think exactly this happens already in Leia, when you delete a library folder. A popup asks if I want to remove the library data from this path.
Here are my working settings for jellyfin. I also installed the kodi companion. This is only necessary to have kodi sync watched shows back to the jellyfin server. You must be able to see the tvshows even without the companion, but it won't hurt, either.
# cat .kodi/userdata/addon_data/plugin.video.jellyfin/settings.xml
<settings version="2">
    <setting id="additionalUsers" default="true"></setting>
    <setting id="askCinema" default="true">false</setting>
    <setting id="backupPath" default="true"></setting>
    <setting id="compressArt" default="true">false</setting>
    <setting id="connectMsg">true</setting>
    <setting id="dbSyncScreensaver">true</setting>
    <setting id="deleteMovies" default="true">false</setting>
    <setting id="deleteTV" default="true">false</setting>
    <setting id="deviceName" default="true">Kodi</setting>
    <setting id="deviceNameOpt" default="true">false</setting>
    <setting id="devMode" default="true">false</setting>
    <setting id="displayMessage">4</setting>
    <setting id="enableAddon">true</setting>
    <setting id="enableCinema">true</setting>
    <setting id="enableContext">true</setting>
    <setting id="enableContextDelete">false</setting>
    <setting id="enableContextTranscode">true</setting>
    <setting id="enableCoverArt">true</setting>
    <setting id="enableExternalSubs">true</setting>
    <setting id="enableMusic">true</setting>
    <setting id="getCast" default="true">false</setting>
    <setting id="groupedSets" default="true">true</setting>
    <setting id="idMethod" default="true">0</setting>
    <setting id="ignoreSpecialsNextEpisodes" default="true">false</setting>
    <setting id="kodiCompanion">true</setting>
    <setting id="LastIncrementalSync">2020-10-11T14:32:58z</setting>
    <setting id="limitIndex">15</setting>
    <setting id="limitThreads">3</setting>
    <setting id="logLevel">1</setting>
    <setting id="markPlayed">90</setting>
    <setting id="maskInfo">true</setting>
    <setting id="MinimumSetup" default="true"></setting>
    <setting id="MusicRescan" default="true">false</setting>
    <setting id="newContent">true</setting>
    <setting id="newmusictime">2</setting>
    <setting id="newvideotime">5</setting>
    <setting id="offerDelete" default="true">false</setting>
    <setting id="offlinetMsg">false</setting>
    <setting id="platformDetected" default="true">LibreElec</setting>
    <setting id="playFromStream">false</setting>
    <setting id="playFromTranscode" default="true">false</setting>
    <setting id="restartMsg">true</setting>
    <setting id="resumeJumpBack">10</setting>
    <setting id="server">http://jellyfin</setting>
    <setting id="serverName">Jellyfin</setting>
    <setting id="skipContextMenu" default="true">false</setting>
    <setting id="skipDialogTranscode">3</setting>
    <setting id="sslverify">true</setting>
    <setting id="startupDelay" default="true">0</setting>
    <setting id="syncDuringPlay">false</setting>
    <setting id="syncIndicator">999</setting>
    <setting id="SyncInstallRunDone" default="true">true</setting>
    <setting id="syncProgress">1</setting>
    <setting id="transcode_h265" default="true">false</setting>
    <setting id="transcodeHi10P" default="true">false</setting>
    <setting id="useDirectPaths">0</setting>
    <setting id="username">SiLeX</setting>
    <setting id="videoBitrate">20</setting>
</settings>

I had a couple of first-time-setup issues as well and if I remember correctly, it was very important to restart Kodi after adding the library. Also letting the addon start up for 10 seconds before trying any actions helps. The addon has options to completely reset the addon, and to add the databases from jellyfin to kodi. You must use this option to have the jellyfin librarys added to Kodi.
In the Jellyfin web ui admin interface Kodi must show as connected device as soon as the addon is enabled.

Not what you talk about this, I think exactly this happens already in Leia, when you delete a library folder. A popup asks if I want to remove the library data from this path.

the popup is not asked when running cleaning in background then kodi seem remove all by default

i have compared settings the only difference is this:
<setting id="server">http://<IP_ADDRESS>:8096</setting>
that in my settings server point to my local pc
tried again by deleting all user data files,
server notification dlna server:

selected and set as addon mode,
at add libraries selection selected ALL,
now i can see the tvshow names when kodi scan library
i try navigate to tvshows kodi library:
is empty there are only these two links but broken
one point: smb:\ another one: http:\

i try open jellyfin addon

"Serie TV" folder library is added and should cointains my tvshows but if i try browse it:
show all subfolders:

but are all empty

Looks good and it is expected that those library folders are empty. The source is smb:// for me, too, and it works.
Instead, the tvshows should appear "natively" in the Kodi librarys. You won't find them in the library folders. That's what I meant with "somehow Jellyfind adds those directly to Kodi, instead of creating STRM files".

Another way (without library integration) is to open the Jellyfin addon and browse from there. This must absolutely work to prove the Addon and your Jellyfin server work.

do not know what missing are not able to make it work on kodi
works only through the web

I don't know what you're missing, either. It's so straight-forward I don't think you could miss anything. There is only one strange thing and that is that I have to leave and return to the home screen to see the changes.
I recorded me setting up a new Kodi instance (completely removed the user data folder, beforehand, of course).
https://youtu.be/aNIKDQxUX5c
Maybe you find some differences. I also use the Jellyfin Kodi Addon on an Linux x86 PC with LibreElec without any issues regarding the Jellyfin addon installation.

thanks your video help me
i have only changed http://jellyfin to http://<IP_ADDRESS>:8096
seem now working
casually i have discovered also a bad thing in jellyfin addon
that perform a direct access to Kodi database's
I don't know what it does because the code is too large to analyze
but this behaviour is not allowed by Kodi community rules, and this could explain the problems
the "files" are added in some way in the Kodi video library with a "plugin" path eg:
plugin://plugin.video.jellyfin/7e0b1aa6c52d5c314547390ecd926b2a/?dbid=19&mode=play&id=c2658bb206be00b6d6814a0cad0b866f&filename=Legends.of.Tomorrow.4x03.Missione.Punk.ITA.ENG.1080p.mkv
but i have not found the real source for these video library "files" added,
so i believe that these "files" items in the database without a source are rightly deleted when you perform the Clean library

yes jellyfin manipulate the kodi database
found that in queries.py file there are all kodi tables
this is not suitable for regular operation of kodi
I will not waste time on addons that do not respect the rules of Kodi addons community
the only thing I can try to do is to try to propose a change in Kodi 19
to integrate library cleaning only to a specific folder (and so avoid clean all others paths)
that anyway I don't know if it will work, but i can try
so if jollyfin doesn't have problems on kodi 19 i can give it a try
for kodi 18 I will do nothing

The change to Kodi 19 seem works good, the tvshow of jellifin are not removed in my first test
i can provide only a windows 64 build of Kodi
Kodi 19 Patched: https://www.dropbox.com/s/5j4u1uvvmcap5dm/LibClean_Kodi19_Patched_Win64.zip?dl=0
You can overwrite the kodi installation folder content with the zip or if you prefer can be used as portable mode
(launch the executable with -p parameter)
This is the nf addon patched to works with the patched kodi build:
LibClean_plugin.video.netflix_1.10.0+matrix.1_20201012.zip
a feedback is welcome
please also check if the nf tvshow's are correctly removed after the sync (try remove a title)

Thanks for the updates. I absolutely understand and respect your decision on not adding workarounds for other addons not following the rules. We already have proven that there is no issue with the Netflix addon because it also happens on Kodi's built-in Library Cleanup function.
Do you think it would make sense to add an additional option to your Netflix addon to just skip triggering the Cleanup so we can consult with the Jellyfin team to improve the Library handling and follow the rules? This would get us Jellyfin+Netflix users going again for the time being. Would this be an acceptable workload for you and do you think this fits into the style of your addon? If so, we would be very happy to have it.
Regarding the patched win64 build of Kodi. I'd love to test this for you but I am struggling to run Jellyfin there, because it tries to use a non-exstisting constant called xbmc.LOGNOTICE.
                                                       xbmc.log(string, level=xbmc.LOGNOTICE)
                                                   AttributeError: module 'kodi_six.xbmc' has no attribute 'LOGNOTICE'

I don't want to bother you even more with Jellyfin stuff. Instead I'll figure out a way to test the libclean variant of your Netflix addon without Jellyfin.

Here are the results:
Environment: Your Kodi19 win64 patched build and patched netflix addon + source folder with movies over CIFS/SMB
I can confirm that running the Sync in Netflix only removes the STRM files/folder I deleted from the Kodi library and does NOT touch the other database entries from the SMB source I removed before syncing.
Thanks also for the heads-up with running Kodi in portable mode. Didn't know that flag existed.

yes i have forgot to add the fixed version for kodi 19:
plugin.video.jellyfin_fixed_kodi19.zip

the patch for Kodi 19 has been accepted,
so i will be able to modify the addon to clean the kodi library only in the specific netflix folder
and so avoid the problems with jellyfin and similar addons

Fixed by adding "Clean library by directory" to new Kodi 19 add-on release


When using a laptop with usb c to hdmi...

My laptop and TV are connected via usb c to hdmi.
I am very satisfied with the power off and on function and it works well.
"process power and screen off events only when the display input source is set to hdmi"
The above function is not working. It is a necessary function when using only a laptop separately. Please solve it.

Why do you mean by "is not working"?
Please explain what HDMI input number you've set the option to, which sources you are using on which HDMI inputs, what you expected to happen, and what actually happens.
Note that if your laptop is your only source, then there is no point in enabling this option. It is only useful when using multiple sources connected to a single TV, to prevent LGTVCompanion from turning off the TV when another source is currently in use.

I am using my laptop as the sole source.
When connecting a laptop to a TV, the function to turn on the TV is useful, but
The goal is that the TV won't turn on when you remove the usb c in the laptop.
thank you.

That is not what the "process power and screen off events only when the display input source is set to hdmi" option is for. That option is for disabling power off events depending on which HDMI input number the TV is currently on. In your case your TV is always on the same HDMI input (the one you would connect your laptop to), therefore this option is not useful in your scenario.
It looks like what you're looking for is a way to disable LGTVCompanion if the PC it's running on is not presently connected to the TV.
As far as I know LGTVCompanion doesn't have that feature but I haven't followed the latest additions - @JPersson77 isn't this something that could be addressed by your fancy new "monitor topology" stuff (#75)?

Your answer gave me a good idea of what that function is.
I found this useful when I have multiple input sources.
I'm eagerly hoping for a feature to be added to disable LG TV Companion when the TV and PC are not connected.
thank you.

Hi @eotaekyong did you try the "multi monitor topology" feature? The point of it is to do what you are looking for. But I have not tested it with usb-c to hdmi so curious to get your feedback

The input source is only 1 laptop, the laptop and TV are connected via usb c via hdmi.
Power synchronization is a very good and nice feature, but I don't like the fact that the TV turns on when I use the laptop alone (turn on the laptop by removing the usbc to hdmi cable from the laptop).
"Handle power and screen off events only when display input source is set to hdmi"
But after checking the options above and turning on the laptop by myself (after removing the usbc to hdmi cable from the laptop and turning on the laptop), I noticed that the TV turns on.

Hi @eotaekyong but did you try the multi monitor topology feature? It adds to the feature of power syncronization so that power state of the display also sync with what is connected through hdmi (which is what you want i believe)

Hi @eotaekyong any updates on this?

Closing due to missing user feedback. Please feel to reopen as needed


Chant Create page sometimes doesn't work

On #813, @annamorphism noted:

I got an email today from somebody who has been getting 502s when attempting to add new chants--though seemingly only sometimes, since he said it worked fine in the morning but not later in the day. Not sure what is going on there.

If they're hitting 502s, this means there is some sort of error going on behind the scenes - not a full-on bug in our code, but the nginx server is getting an unexpected response from gunicorn. Not sure what could be causing it, but it's certainly worth looking into.

I think this is due to "somebody" adding a Gloria patri and our site not being able to cope, and I think it has been fixed by #919. Closing; we can re-open if necessary.


Replacing Paramiko with ssh connection to host

This ssh connection to host is used to get directory paths, htxerr files and many other validations.

@PraveenPenguin Removed paramiko as per your suggestion.. please ack


Google cloud storage for TTS audio

Summary
Introduced a Google Cloud Storage management function for transient storage of Text-To-Speech (TTS) audio files. This serves as a temporary holding area for audio files, allowing users to download them. To prioritize data privacy and manage storage, the bucket content is cleared with each deployment.
Description
Added a function to manage a Google Cloud Storage bucket for temporarily storing Text-To-Speech (TTS) audio files. This function holds the audio returned from the API long enough for users to download it. To ensure data privacy and avoid indefinite storage, the associated GitHub action will clear the bucket on each deploy.
Related Issue(s)
TTS audio is returned as binary data, not a URL. (#43)
Motivation and Context
The addition of this function addresses the need to provide users with a temporary storage solution for TTS audio files. This ensures that users have adequate time to download their files without the system retaining data for extended periods, thereby aligning with data retention policies and ensuring optimal use of storage resources.
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Checklist:
Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

Successfully tested in staging, merging to master.


Couldn't find preset "@babel/preset-env"

When I add "@monaco-editor/loader": "1.2.0" to my package.json and try to run the application (via grunt auto-build), I receive the following error:
Error: Couldn't find preset "@babel/preset-env" relative to directory "<project>/node_modules/@monaco-editor/loader" while parsing file<EMAIL_ADDRESS>I have "babel-preset-env": "^1.6.1" in my dependencies. Any idea what I am missing?

Hey @Adrian-Bielefeldt 👋
I guess babel-preset-env and @babel/preset-env are incompatible. Your dev setup seems pretty outdated, am I right?


Musical Instrument sound generator

Is your feature request related to a problem? Please describe.
No its not a problem. I tried to add a musical instrument sound generator feature.
Describe the solution you'd like
It produces different instrumental sounds like drums, harp, gong, bell, etc by using html.
Additional context
I am a GSSOC'21 participant, please assign this issue to me.

@SrishtiArya07 Which musical instrument.
Piano and Drum are already present?

@SrishtiArya07 Kindly reply in 2 days or else we need to close this issue.

@SrishtiArya07 Which musical instrument.
Piano and Drum are already present?

The soundboard will have sound effects of Harp, Bass Drum, Drumroll, Chinese Gong, Military Drum, and Bugle call. I will also add rotating buttons.


replace System.out and System.err to slf4 logger

For convenient logging we need to use sl4j instead System.out/System.err
System.err

System.out

Good idea! Let's do it.

@admizh Why slf4j? I see that Selenium uses java.util.logging.Logger - probably it's good idea to use it in Selenide too?

@asolntsev you're right, using similar mechanism (like Selenium) for logging is good. Hopefully Java Util Log will be improved in future (Java 9..10)
http://stackoverflow.com/questions/11359187/why-not-use-java-util-logging

Uhh, java.util.logging is unbelievably inconvenient!
I have migrated System.out to java.util.logging, but logging is now just worther. :(
Every Selenide user needs to configure jul properly in order to get more or less readable logs. :(


ERROR: java.io.FileNotFoundException: C:\Users...\RAxML_bestTree.RECON (The system cannot find the file specified)

Hello,
I'm new to phylogenetic analysis and so would be grateful for advice. I attempted to implement treesub on Windows - however when I run it, I'm getting the following error:

[4/6] Rooting tree by outgroup sequence.
ERROR: java.io.FileNotFoundException: C:\Users\j\Documents\treesub_01\RAxML_bestTree.RECON (The system cannot find the file specified)
C:\Users\j\Documents\treesub_01\RAxML_bestTree.RECON (The system cannot find the file specified)

Unless I'm mistaken, I believe this is because my RAxML isn't running properly. At part [3/6], I receive the following message:

[3/6] Running RAxML application. Output from RAxML:
(You're running on Windows. No real-time output available!)
Model  GTRGAMMA -T 2 -# 10 -p 12345 does not exist
For BINARY data use:  BINCAT[X]             or BINGAMMA[X]             or
BINCATI[X]            or BINGAMMAI[X]            or
ASC_BINGAMMA[X]       or ASC_BINCAT[X]
For DNA data use:     GTRCAT[X]             or GTRGAMMA[X]             or
GTRCATI[X]            or GTRGAMMAI[X]            or
ASC_GTRGAMMA[X]       or ASC_GTRCAT[X]
For Multi-state data: MULTICAT[X]          or MULTIGAMMA[X]           or
MULTICATI[X]         or MULTIGAMMAI[X]          or
ASC_MULTIGAMMA[X]    or ASC_MULTICAT[X]
For AA data use:      PROTCATmatrixName[F|X]  or PROTGAMMAmatrixName[F|X]  or
PROTCATImatrixName[F|X] or PROTGAMMAImatrixName[F|X] or
ASC_PROTGAMMAmatrixName[X] or  ASC_PROTCATmatrixName[X]
The AA substitution matrix can be one of the following:
DAYHOFF, DCMUT, JTT, MTREV, WAG, RTREV, CPREV, VT,
BLOSUM62, MTMAM, LG, MTART, MTZOA, PMB, HIVB, HIVW,
JTTDCMUT, FLU, STMTREV, DUMMY, DUMMY2, AUTO, LG4M, LG4X,
PROT_FILE, GTR_UNLINKED, GTR
With the optional "F" appendix you can specify if you want to use empirical base frequencies.
With the optional "X" appendix you can specify that you want to do a ML estimate of base frequencies.
Please note that for mixed models you can in addition specify the per-gene model in
the mixed model file (see manual for details).
Successfully ran RAxML.

Is it something to do with the default model specified? I've tried changing the arguments, etc. to no avail - I still get "model does not exist". The version of RAxML I've installed is v8.2.X, with options to use Windows executables either v8.2.4 or v8.2.10 (no difference in error messages).
Thanks in advance!

I get the same and other similar errors when using windows. I've tried numerous combinations of Raxml with treesub and its never worked. Had more success with macOS, although that was fussy too.

I get the same errors when using windows. Did you solve these problem?

Unfortunately no! I only know it isn't a model selection issue, as far as I can tell it's RAxML itself. I tried different versions with no success. Running it through WSL might be a solution since you're on Windows, but I ended up using a colleague's Linux setup to run. As the first reply said, Linux/macOS seems to give less problems.

thanks, I am using my colleague's Linux to try to run it. i hope i can success. If there are any questions I wish I could ask you！


Missing OpenGL DLLs on Windows

Nuitka version, full Python version and Platform (Windows, OSX, Linux ...)

c:\> python.exe -m nuitka --version
0.6.2
Python: 3.6.7 (v3.6.7:6ec5cf24b7, Oct 20 2018, 12:45:02) [MSC v.1900 32 bit (Intel)]
Executable: c:\python36-32\python.exe
OS: Windows
Arch: x86

How did you install Nuitka and Python?

Installed Python from the official website.
c:\> python.exe -m pip install nuitka==0.6.2

If possible please supply a Short, Self Contained, Correct, Example.

File test.py:
import sys

from PyQt5.QtCore import QUrl
from PyQt5.QtQuick import QQuickView
from PyQt5.QtWidgets import QApplication

app = QApplication([])

view = QQuickView()
view.setResizeMode(QQuickView.SizeRootObjectToView)

engine = view.engine()
engine.quit.connect(app.quit)
context = engine.rootContext()
context.setContextProperty("Value", "Tic!")

view.setSource(QUrl("Main.qml"))
view.show()
sys.exit(app.exec_())

File Main.qml:
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.3

Rectangle {
    visible: true
    width: 360
    height: 360

    MouseArea {
        anchors.fill: parent
        onClicked: {
            if (textid.text == Value) {
                textid.text = "Tac!";
            } else {
                textid.text = Value;
            }
        }
    }

    Text {
        id: textid
        text: qsTr(Value)
        font.pixelSize: 20
        anchors.centerIn: parent
    }
}

Compilation command:
set options=--standalone --recurse-all
set options=%options% --plugin-enable=qt-plugins=imageformats,qml
set options=%options% --windows-disable-console --assume-yes-for-downloads
set options=%options% --experimental=use_pefile --experimental=use_pefile_recurse --experimental=use_pefile_fullrecurse
python.exe -m nuitka %options% nxdrive

What is ther error?

When building a Qt + QML app, on Windows, the final executable will need additionnal OpenGL DDLs to work. We've done that patch on PyInstaller:  https://github.com/pyinstaller/pyinstaller/blob/1844d69f5aa1d64d3feca912ed1698664a3faf3e/PyInstaller/hooks/hook-PyQt5.py#L39 and https://github.com/pyinstaller/pyinstaller/blob/1844d69f5aa1d64d3feca912ed1698664a3faf3e/PyInstaller/utils/hooks/qt.py#L282-L284.
Those DDLs are not required whith basic Qt apps as far as I can tell.
When manually copying those files into test.dist folder, all works fine:
c:\python36-32\lib\site-packages\pyqt5\qt\bin\libEGL.dll
c:\python36-32\lib\site-packages\pyqt5\qt\bin\libGLESv2.dll
c:\python36-32\lib\site-packages\pyqt5\qt\bin\d3dcompiler_XX.dll
c:\python36-32\lib\site-packages\pyqt5\qt\bin\opengl32sw.dll

@kayhayen using Nuitka v<IP_ADDRESS> with the pyside6 plugin, the file opengl32sw.dll is missing (again) in the distribution folder. using something like --include-data-file=PATH_TO_VENV\Lib\site-packages\PySide6\opengl32sw.dll=. workarounds the problem.

The filename you are mentioning there @bearsh was never included. I need to check, but myself PySide6 has other DLL names there to use, current code only considers these: ("libeay32.dll", "ssleay32.dll") and works for PySide2 for me right now.

Well, that said, the OpenGL libraries are also not found for PySide2, strange. Need to check more.

Ouch, I looked at SSL names rather than OpenGL.

Not sure if this ever worked for PySide2 or PySide6 on Windows, I doubt it did. I don't think I have an example that needs it though, but I modified the code and now SSL and OpenGL libraries are found and included. Are you saying it is a regression @bearsh ?

I should not tolerate reuse of old issues, I think. Anyway, this is it: https://nuitka.net/doc/factory.html going to be part of 0.6.19 which I expect to release soon.

Are you saying it is a regression @bearsh ?
I don't know as I never had a project depending on webengine before...

anyway, thanks for your fast action!

Part of the 0.6.19 release I just made.


Create utility to clean up the entire database

The code to clean the database was duplicated between vitest and the seeding script, and not entirely complete.
Deleting all rows in a database can easily cause relation conflicts if you do it in the wrong order. So I used some raw sql to avoid those problems and make it fast as possible.
On my machine it takes around 8ms to clean the entire seeded database:
11:01:58.890Z prisma:query - 0ms - SELECT name FROM sqlite_master WHERE type='table' AND name NOT LIKE 'sqlite_%' AND name NOT LIKE '_prisma_migrations';
11:01:58.892Z prisma:query - 0ms - BEGIN
11:01:58.892Z prisma:query - 0ms - PRAGMA foreign_keys = OFF
11:01:58.896Z prisma:query - 3ms - DELETE from "User"
11:01:58.896Z prisma:query - 0ms - DELETE from "Note"
11:01:58.896Z prisma:query - 0ms - DELETE from "NoteImage"
11:01:58.896Z prisma:query - 0ms - DELETE from "UserImage"
11:01:58.896Z prisma:query - 0ms - DELETE from "Password"
11:01:58.896Z prisma:query - 0ms - DELETE from "Session"
11:01:58.896Z prisma:query - 0ms - DELETE from "Permission"
11:01:58.896Z prisma:query - 0ms - DELETE from "Role"
11:01:58.897Z prisma:query - 0ms - DELETE from "Verification"
11:01:58.897Z prisma:query - 0ms - DELETE from "Connection"
11:01:58.897Z prisma:query - 0ms - DELETE from "_PermissionToRole"
11:01:58.897Z prisma:query - 0ms - DELETE from "_RoleToUser"
11:01:58.897Z prisma:query - 0ms - PRAGMA foreign_keys = ON
11:01:58.897Z prisma:query - 1ms - COMMIT
🧹 Cleaned up the database...: 8.728ms

Test Plan
I tested it manually as it a test utility.
Checklist

[ ] Tests updated
[ ] Docs updated

Oh yeah 😅 thanks!

I'm getting a foreign key conflict issue that might be caused by this. Interestingly, it only happens in Github Actions. If I insert this data as a part of a migration:
-- Insert for Organization
INSERT INTO "Organization" ("name", "nameLower")
VALUES ('Platform Admin Organization', 'platform admin organization');

-- Step 1: Insert UserAccount
INSERT INTO "UserAccount" ("email", "firstName", "lastName", "nameLower", "picture", "kindeId", "roles", "suspended", "createdAt", "organizationId")
VALUES<EMAIL_ADDRESS>'First', 'Last', 'first last', 'picture_url', 'kinde_id', '["role1", "role2"]', false, CURRENT_TIMESTAMP, 1);

-- Step 2: Insert UserSettings using the hardcoded userAccountId
INSERT INTO "UserSettings" ("schedulerStartHour", "schedulerEndHour", "schedulerBreakMinutes", "startOfWeek", "userAccountId")
VALUES (8, 17, 30, 'monday', 1);

-- Step 3: Update UserAccount with userSettingsId
-- Assuming the ID of the newly inserted UserSettings is also 1, or you fetch it if needed
UPDATE "UserAccount"
SET "userSettingsId" = 1
WHERE "id" = 1;

I'm getting these errors:
prisma:error Raw query failed. Code: `1811`. Message: `FOREIGN KEY constraint failed`
prisma:error Raw query failed. Code: `1811`. Message: `FOREIGN KEY constraint failed`
prisma:error Raw query failed. Code: `1811`. Message: `FOREIGN KEY constraint failed`
prisma:error Raw query failed. Code: `1811`. Message: `FOREIGN KEY constraint failed`


[FancyZones] Add the ability to duplicate custom templates

📝 Add the ability to duplicate custom templates
When creating a template there are 2 basic ways to go about it. Edit an existing template type and Edit the "Create new custom" template type. I believe the ability to duplicate a template would be useful. This is because the largest barrier to entry to creating new templates is the process of creating the zones to start with. This can be time-consuming based on the number and placement of zones in the template.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Duplicate of https://github.com/microsoft/PowerToys/issues/2588


Can't get octet-stream response | net::ERR_ABORTED

Description
When I try to GoToAsync on a page that responds with a application/octet-stream content type:

In headless mode, it throws up PuppeteerSharp.NavigationException: net::ERR_ABORTED.
In non-headless mode, it interprets response as a file that needs to be downloaded, throws up the same exception as in headless mode, but successfully downloads response as a binary file without extension to Downloads directory.

Minimal example reproducing the issue
using var browserFetcher = new BrowserFetcher();
await browserFetcher.DownloadAsync();
browser = await Puppeteer.LaunchAsync(new() { Headless = true} );

var page = await browser.NewPageAsync();
await page.SetRequestInterceptionAsync(true);

page.Request += (s, e) =>
{
    // sets POST method, adds some headers and binds serialized data
    var payload = CreateRequestPayload(HttpMethod.Post, data);

    await e.Request.ContinueAsync(payload);
};

var response = await page.GoToAsync(url);
var content = await response.TextAsync();

Expected behavior:
As I know that in my particular case, this application/octet-stream response actually is just a text string without extension, I expect that var content will have this text data.
For example,
fetch(_same_request_).then((response) => response.text())

works absolutely fine, but sadly I can't use it because of a cloudflare protection. I've tested it in my normal browser, and it worked, but failed with EvaluateFunctionAsync.
Actual behavior:
PuppeteerSharp.NavigationException: net::ERR_ABORTED at _my_url_ at _my_url_
 ---> PuppeteerSharp.NavigationException: net::ERR_ABORTED at _my_url_
   at PuppeteerSharp.FrameManager.NavigateAsync(CDPSession client, String url, String referrer, String frameId) in C:\projects\puppeteer-sharp\lib\PuppeteerSharp\FrameManager.cs:line 197
   at PuppeteerSharp.FrameManager.NavigateFrameAsync(Frame frame, String url, NavigationOptions options) in C:\projects\puppeteer-sharp\lib\PuppeteerSharp\FrameManager.cs:line 79
   --- End of inner exception stack trace ---
   at PuppeteerSharp.FrameManager.NavigateFrameAsync(Frame frame, String url, NavigationOptions options) in C:\projects\puppeteer-sharp\lib\PuppeteerSharp\FrameManager.cs:line 89
Call finished

As I mentioned, in non-headless mode I actually still can get needed data, though I'll need to catch this exception and open it (data) as a file from my download directory. But I really need it to work in headless mode.
Versions
9.0.2 / net7.0

I'm not sure if it's appropriate to mention the exact service that I'm trying to scrap bypassing the cloudflare, and how to reproduce the exact same request, but, if you'll need that data, just tell me.

net::ERR_ABORTED comes from the browser. I would try to implement the new headless mode, to see if that fixes it.

What do you mean by new headless mode?

@drizzle-mizzle this.

In headless mode, it throws up PuppeteerSharp.NavigationException: net::ERR_ABORTED.

For application/octet-stream then net::ERR_ABORTED is exactly what I'd expect. Chromium aborts displaying the page and triggers a download.

but successfully downloads response as a binary file without extension to Downloads directory.

You should be able to set the download path to achieve the same behaviour. Browser.setDownloadBehavior allows for specifying a folder for downloads.
Puppeteer itself doesn't yet support any of the download related methods/events

https://github.com/puppeteer/puppeteer/issues/299
https://github.com/puppeteer/puppeteer/issues/8010

I would try to implement the new headless mode, to see if that fixes it.

I'd be very surprised if new headless changed the behaviour.

You should be able to set the download path to achieve the same behaviour.
In headless mode it just won't start download at all, so it's doesn't really matter.

Well, my problem is solved on this rate. Thanks for the tip.
Though, I'm not sure if this issue should be closed or not. You say it's a Chromium problem in the first place, not a Puppeteer, but maybe at least it should be handled some other way? With more obvious exception type.


Fixed the formatting in the error string in argon2 to correctly report number of requested/available threads

Previously, the error string was hardcoded to 1 instead of the number of available threads. This PR fixes #25344 .
Checklist

[x] documentation is added or updated

Yes.

This pull request is ready to merge

Merged to the master, 3.4, 3.3 and 3.2 branches with slightly reworded commit message.
Thank you for your contribution.


Don't send statement emails to inactive household members if there are still some active ones

See AccountMailer#statement_mail. Perhaps add include_inactive: :only_if_no_active_household_members or some such.

Great Oak is experiencing this issue. An adult child who has moved out and has a deactivated account is still receiving account statements. Additionally, her ex-boyfriend who only lived with us briefly was given access to sign up for meals as part of their household within Gather is also getting these messages.
As a temporary workaround, I will be deleting his email address, and will be removing the adult child from their household.

This is fixed now


Improved plugin installation experience

display plugin version on installation
don't display "plugin updated" on start when no new updates available
added "Restart now" button on installation notification
display message when plugin is up-to-date already

On new plugin installation:

On plugin installation when version is actual:

On application start when no updates are available:

Thanks for the PR!


pressing ctrl-v after using set_command or cmd().set

Expected behavior
output what is in buffer
Actual behavior
outputs again set_command string
Steps to reproduce
set_command('test') . ctrl-v will output "test" instead of what is in buffer
Browser and OS
chrome/ffox

what you mean by buffer, a clipboard?
I cannot reproduce I've copied "terminal" to clipboard and when I've press CTRL+V I've got "testterminal"
see
https://codepen.io/jcubic/pen/BwBYOZ
type test <enter> CTRL+V

yes, clipboard. first you need to use set_command('test')  then press ctrl - v -  it will output not what is stored in clipboard, but  what was printed with set_command.

strange , i just tested on the link you provided. maybe it's not set_command()... but when you focus on command line with mouse click and press ctrl-v, sometimes it pastes clipboard result,but some times it pastes whole command string from the start.

can you tell me exact steps to reproduce the issue?

i do not have red promt. i must apologize about set_command... it was problem on my side. But sometimes ctrl-v clones whole command instead of pasting what's in clipboard. But it happens when performing quick ctrl+v. So maybe it's not that critical.

Ok, I've got it after focusing and pasting few times I got whole line will try to fix the issue.

There was some race condition, should be working now in devel branch.

Released in version 1.8.0


Minor fixes in Provisioning.OneDrive solution.

CookieCheckSkip added, to reduce number of requests sent to Profile service.
New ClientContext is initiated before accessing PersonalSite site collection, in order to solve this issue: https://github.com/OfficeDev/PnP/issues/579.

Hi @antonsmislevics, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@antonsmislevics, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

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

Thanks Antons. I'll be processing this pr

Somehow git refused to merge from your branch...have taken over the needed parts manually and as such I'll close this PR. Thanks Antons!


Fix go get build error's complaint of no buildable Go source files

PS Thank you for this very awesome and thin wrapper! It works great.

I'm very glad to hear that, you are very welcome mister.
Thanks for the contibutions.
Appoved (y).


Better way to extract files that doesn't need processing

Currently if you run binwalk -e on a file containing jpeg files, binwalk will create an empty folder.
To actually extract the files you have to make a dummy entry in ~/.binwalk/config/extract.conf, like:
jpeg:jpg:echo

Would it be possible to either make -e extract all recognizable file types or provide a new option which does this?

Hi. What about file sizing? For example, some piece of results:
7418159       0x71312F        HTML document header
7428508       0x71599C        HTML document footer
7428597       0x7159F5        HTML document header
7433720       0x716DF8        HTML document footer
7433802       0x716E4A        HTML document header
7436683       0x71798B        HTML document footer
7436770       0x7179E2        HTML document header
Scannig says, that 71599C file have to take 89bytes, but extracted with dd option takes 646328. Thiese are concatenated files. Is there any way to determinate, where is beginning/end of each file? This suggest me a second question. This result is from firmware, for cable modem. I have here a one big file extracted froma lzma block of data. As far as i know, lzma is not supporting to compress multiply files into a one file. How can i extract it properly? I mean to split each file in exact point?
DECIMAL       HEXADECIMAL     DESCRIPTION
496           0x1F0           eCos kernel exception handler, architecture: MIPS, exception vector table base address: 0x80000300
24752         0x60B0          Certificate in DER format (x509 v3), header length: 4, sequence length: 32
103480        0x19438         Certificate in DER format (x509 v3), header length: 4, sequence length: 128
5625066       0x55D4EA        Copyright string: "Copyright (c) 2003-2009 Broadcom Corporation"
5626751       0x55DB7F        Copyright string: "Copyright (c) 1999 - 2009 Broadcom Corporation"
5658120       0x565608        Neighborly text, "Neighbor Discovery Thread for _/   _/"
5658351       0x5656EF        Copyright string: "Copyright (c) 1999 - 2009 Broadcom Corporation"
5721954       0x574F62        Unix path: /t/T/y/Y as 'true'; 0/f/F/n/N as 'false'.
5787340       0x584ECC        Neighborly text, "NeighborSolicitationterRenumbering"
5787364       0x584EE4        Neighborly text, "NeighborAdvertisementtionQuery"
5787467       0x584F4B        Neighborly text, "NeighborDiscoverySolicitationisement"
5787507       0x584F73        Neighborly text, "NeighborDiscoveryAdvertisementt"
5806424       0x589958        HTML document header
5806645       0x589A35        HTML document footer
5825124       0x58E264        HTML document header
5825873       0x58E551        HTML document footer
5825884       0x58E55C        HTML document header
5826135       0x58E657        HTML document footer
5826284       0x58E6EC        HTML document header
...


Type.Record Generating Incorrect Model in Fastify

Prerequisites

[X] I have written a descriptive issue title
[X] I have searched existing issues to ensure the bug has not already been reported

Fastify version
4.24.3
Plugin version
4.0.0
Node.js version
v20.11.0
Operating system
Windows
Operating system version (i.e. 20.04, 11.3, 10)
Windows 10 Version 1809
Description
Type.Record from the @sinclair/typebox library does not generate a correct model. Model does not match expected structure. Instead it generates a unrelated Generic Model.
{
  "additionalProp1": "string",
  "additionalProp2": "string",
  "additionalProp3": "string"
}

Steps to Reproduce
const TempModel = Type.Record(Type.String(), Type.Number())

export const testRoutes: FastifyPluginAsyncTypebox = async (fastify, opts) =>
{
    fastify.post("/data", {
		schema: {
			description: "returns data",
			tags: [TAG_TEST],
			response: {
				200: TempModel,
			}
		}
	}, async (request, reply) => {
        // DO NOTHING

    });
}

Output

Expected Behavior
"String": number
Example:
"test": 123

You should provide the exact version of typebox you use otherwise we cannot determine if the result is related to which library.

I have double checked the output of typebox between version.
It provides similar output as
{
  "type": "object",
  "patternProperties": { "^(.*)$": { "type": "number" } },
}

The above property patternProperties is unsupported by Swagger UI which means it should not show any field in the output.
Somewhere in your schema is adding { "additionalProperties": { "type": "string" }.


Railroad diagram for format is incorrect

There should be a line looping back to the start to allow repetition. (Image below should update when issue is resolved.)

Fixed.


Assets in www not being cleaned

Short description of the problem:
Old assets are not being removed from the www folder.
What behavior are you expecting?
Assets in the www folder should mimic those from the src folder when running ionic build ios or ionic build android.
My src/assets folder:

My www/assets:

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.7
Ionic App Lib Version: 2.1.4
Ionic App Scripts Version: 0.0.45
ios-deploy version: 1.9.0
ios-sim version: 5.0.10
OS: macOS Sierra
Node Version: v6.9.1
Xcode version: Xcode 8.1 Build version 8B62

This is still an issue in the most recent version (0.0.48).
In the debug log it shows that it is only deleting the build folder, but not the assets folder.
[11:26:16]  clean started ... MEM: 115.9MB
[ DEBUG! ]  [Clean] clean: cleaning /Users/andreas/project/www/build  MEM: 115.9MB
[11:26:16]  clean finished in 10 ms MEM: 116.1MB

This should be resolved. It is configurable. It is a super challenging problem with globs, though, so it does not always work reliably in some super edge cases. It will work for the vast majority of cases though.
Thanks,
Dan