Webpack can't split parts of a single module (e.g. rollup bundle from a dependency) into separate chunks?

Bug report

What is the current behavior?
Forgive me if I've misconfigured something, but it seems like if I import {Toggle} from 'react-powerplug' in chunk A and import {Interval} from 'react-powerplug' in chunk B, all of the react-powerplug code winds up in chunk A, because react-powerplug exports a single rollup bundled js module.
If the current behavior is a bug, please provide the steps to reproduce.
https://github.com/jedwards1211/webpack-code-splitting-issue
just clone, yarn install and run webpack.  The output dist/main.js will contain all of the code being used from react-powerplug; the dist/1.js chunk imports Interval from main.js.
Here is what the relevant code looks like:
src/index.js
import {Toggle} from 'react-powerplug'
console.log(Toggle)

import('./chunk-b')

The output dist/main.js on my machine contained all of the code I used from react-powerplug, whereas dist/1.js just imports Interval from main.js:
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{3:function(o,n,s){"use strict";s.r(n);var w=s(1);console.log(w.a)}}]);

src/chunk-b.js
import {Interval} from 'react-powerplug'
console.log(Interval)

What is the expected behavior?
Code for react-powerplug's Toggle winds up in main.js, and code for Interval winds up in 1.js.
Given that it's becoming popular to release packages as rollup bundles, I want to make sure webpack will be able to include part of that rollup bundle in one chunk, and another part of the bundle in another.

Other relevant information:
webpack version: 4.16.2
Node.js version: 8
Operating System: macOS

I'm going to close this as basically a duplicate of #7782


Incompatible peer dependencies found. v9 upgrade

🐞 Bug report
Command (mark with an x)

[x] update

Description

follow up with https://update.angular.io/#8.2:9.0
error while  ng update @angular/core @angular/cli.
ng update just show

Collecting installed dependencies...
Found 50 dependencies.
    We analyzed your package.json, there are some packages to update:

      Name                               Version                  Command to update
     --------------------------------------------------------------------------------
      @angular/cli                       8.3.25 -> 9.0.1          ng update @angular/cli
      @angular/core                      8.2.14 -> 9.0.0          ng update @angular/core
      @ngrx/store                        7.4.0 -> 8.6.0           ng update @ngrx/store
      rxjs                               6.4.0 -> 6.5.4           ng update rxjs

adding --force leads to another problems with Typescript duplicate-identifier errors. + this again
https://github.com/angular/angular/issues/31314

🔥 Exception or Error

Installing a temporary version to perform the update.
Installing packages for tooling via npm.
Installed packages for tooling via npm.
Using package manager: 'npm'
Collecting installed dependencies...
Found 50 dependencies.
Fetching dependency metadata from registry...
                  Package "@ngrx/effects" has an incompatible peer dependency to "@angular/core" (requires "^7.0.0" (extended), would install "9.0.0").
                  Package "@ngrx/core" has an incompatible peer dependency to "rxjs" (requires "^5.0.0-beta.12", would install "6.5.4").
Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.

🌍 Your Environment

Angular CLI: 8.3.25
Node: 12.15.0
OS: win32 x64
Angular: 8.2.14
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.803.25
@angular-devkit/build-angular     0.803.25
@angular-devkit/build-optimizer   0.803.25
@angular-devkit/build-webpack     0.803.25
@angular-devkit/core              8.3.8
@angular-devkit/schematics        8.3.8
@angular/cli                      8.3.25
@ngtools/webpack                  8.3.25
@schematics/angular               8.3.8
@schematics/update                0.803.25
rxjs                              6.4.0
typescript                        3.5.3
webpack                           4.39.2

Anything else relevant?
package.json file:

{

  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e",
    "compodoc": "compodoc -p tsconfig.json -s --theme laravel -n Accflex-ERP"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "~8.2.14",
    "@angular/common": "~8.2.14",
    "@angular/compiler": "~8.2.14",
    "@angular/core": "~8.2.14",
    "@angular/forms": "~8.2.14",
    "@angular/platform-browser": "~8.2.14",
    "@angular/platform-browser-dynamic": "~8.2.14",
    "@angular/router": "~8.2.14",
    "@aspnet/signalr": "^1.1.2",
    "@devexpress/analytics-core": "^19.1.4",
    "@ngrx/core": "^1.2.0",
    "@ngrx/effects": "^7.4.0",
    "@ngrx/store": "^7.4.0",
    "@ngrx/store-devtools": "^7.4.0",
    "@ngx-translate/core": "^11.0.1",
    "@ngx-translate/http-loader": "^4.0.0",
    "angular-auth-oidc-client": "^9.0.7",
    "angular2-uuid": "^1.1.1",
    "browserslist": "^4.7.0",
    "devexpress-dashboard": "^19.1.4",
    "devextreme": "19.1.4",
    "devextreme-angular": "19.1.4",
    "globalize": "^1.4.2",
    "moment": "^2.24.0",
    "oidc-client": "^1.7.1",
    "rxjs": "~6.4.0",
    "subsink": "^1.0.0",
    "tslib": "^1.10.0",
    "zone.js": "~0.9.1",
    "animate.css": "^3.7.0"
  },
  "browsers": [
    "last 2 version"
  ],
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.803.25",
    "@angular/cli": "~8.3.25",
    "@angular/compiler-cli": "~8.2.14",
    "@angular/language-service": "~8.2.14",
    "@compodoc/compodoc": "^1.1.11",
    "@types/jasmine": "~3.3.8",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "~8.9.4",
    "codelyzer": "^5.0.0",
    "jasmine-core": "~3.4.0",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~4.1.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~2.0.1",
    "karma-jasmine-html-reporter": "^1.4.0",
    "protractor": "~5.4.0",
    "ts-node": "~7.0.0",
    "tslint": "~5.15.0",
    "typescript": "~3.5.3"
  }
}

solved by run ng update --all --force


upgrading fastText version

it seems that node-fasttext cannot use the models file that we generate from fastText binary itself.
I think there was a big change in the model format a few months ago, but it seems you are using a recent version of FT, but I'm not quite sure how to check the version.
technically they have only had one release
https://github.com/facebookresearch/fastText/releases
not sure where this is defined:
FASTTEXT_VERSION = 12;

so I guess I have to check commit hashes against your version of the submodule?
https://github.com/facebookresearch/fastText/commits/master
I see the same commit that you're using from back in dec 2017?
your repo

ft repo

so to update... I'm not 100% clear what to do 🙀

fork your repo
somehow update the sub-repo to change which version of FT pointing to
send you a PR
maybe publish a separate NPM module in case you don't have time to

do you see any problems with this or other steps I need to do?

Thank you @dcsan
Yes, I updated this repo at the end of the year 2017. I am glad if you send a PR, i will pushlish a new version soon.

OK I updated the version
https://github.com/vunb/node-fasttext/pull/19
however I see errors now trying to install on OS-X, will make a new issue


Feature/ase figures

Add ASE figures in rmd (also test run for github action)

The github actions works fine, a md file and html file of the ASE rmd was automatically generated.


Performance is subpar compared to simdutf::validate_utf8()

I've opened https://github.com/websockets/utf-8-validate/pull/109 to use is_utf8 in utf-8-validate.
When running the same benchmarks run in https://github.com/websockets/utf-8-validate/pull/101 I noticed a significant performance drop.
$ npx envinfo --system

  System:
    OS: macOS 13.1
    CPU: (16) x64 Intel(R) Xeon(R) W-2140B CPU @ 3.20GHz
    Memory: 21.54 GB / 32.00 GB
    Shell: 5.2.15 - /usr/local/bin/bash

is_utf8()
$ node bench.js
Loading https://en.wikipedia.org/wiki/Main_Page ...
utf-8-validate (5.0.10, C++) x 106,808 ops/sec ±0.27% (95 runs sampled)
utf-8-validate (is_utf8, C++) x 105,159 ops/sec ±0.11% (95 runs sampled)
------------------------------------------------------------

Loading https://ro.wikipedia.org/wiki/Pagina_principală ...
utf-8-validate (5.0.10, C++) x 25,410 ops/sec ±0.09% (97 runs sampled)
utf-8-validate (is_utf8, C++) x 54,815 ops/sec ±0.09% (96 runs sampled)
------------------------------------------------------------

Loading https://ru.wikipedia.org/wiki/Заглавная_страница ...
utf-8-validate (5.0.10, C++) x 15,160 ops/sec ±0.10% (98 runs sampled)
utf-8-validate (is_utf8, C++) x 63,985 ops/sec ±0.09% (99 runs sampled)
------------------------------------------------------------

Loading https://ar.wikipedia.org/wiki/الصفحة_الرئيسية ...
utf-8-validate (5.0.10, C++) x 12,766 ops/sec ±0.08% (98 runs sampled)
utf-8-validate (is_utf8, C++) x 57,442 ops/sec ±0.08% (98 runs sampled)
------------------------------------------------------------

Loading https://ja.wikipedia.org/wiki/メインページ ...
utf-8-validate (5.0.10, C++) x 23,306 ops/sec ±0.07% (96 runs sampled)
utf-8-validate (is_utf8, C++) x 79,199 ops/sec ±0.10% (95 runs sampled)
------------------------------------------------------------

Loading https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt ...
utf-8-validate (5.0.10, C++) x 66,890 ops/sec ±0.10% (99 runs sampled)
utf-8-validate (is_utf8, C++) x 622,514 ops/sec ±0.10% (99 runs sampled)

simdutf::validate_utf8()
$ node bench.js
Loading https://en.wikipedia.org/wiki/Main_Page ...
utf-8-validate (5.0.10, C++) x 107,373 ops/sec ±0.08% (99 runs sampled)
utf-8-validate (simdutf, C++) x 749,966 ops/sec ±0.20% (96 runs sampled)
------------------------------------------------------------

Loading https://ro.wikipedia.org/wiki/Pagina_principală ...
utf-8-validate (5.0.10, C++) x 25,413 ops/sec ±0.08% (98 runs sampled)
utf-8-validate (simdutf, C++) x 144,119 ops/sec ±0.19% (95 runs sampled)
------------------------------------------------------------

Loading https://ru.wikipedia.org/wiki/Заглавная_страница ...
utf-8-validate (5.0.10, C++) x 15,164 ops/sec ±0.08% (98 runs sampled)
utf-8-validate (simdutf, C++) x 176,840 ops/sec ±0.18% (94 runs sampled)
------------------------------------------------------------

Loading https://ar.wikipedia.org/wiki/الصفحة_الرئيسية ...
utf-8-validate (5.0.10, C++) x 12,781 ops/sec ±0.08% (100 runs sampled)
utf-8-validate (simdutf, C++) x 152,366 ops/sec ±0.16% (97 runs sampled)
------------------------------------------------------------

Loading https://ja.wikipedia.org/wiki/メインページ ...
utf-8-validate (5.0.10, C++) x 23,298 ops/sec ±0.09% (99 runs sampled)
utf-8-validate (simdutf, C++) x 222,036 ops/sec ±0.18% (95 runs sampled)
------------------------------------------------------------

Loading https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt ...
utf-8-validate (5.0.10, C++) x 66,875 ops/sec ±0.11% (95 runs sampled)
utf-8-validate (simdutf, C++) x 1,051,967 ops/sec ±0.09% (100 runs sampled)

I did not investigate but I think this is because there is no AVX-512 implementation in is_utf8(), right?

I did not investigate but I think this is because there is no AVX-512 implementation in is_utf8(), right?

Compiling simdutf with SIMDUTF_IMPLEMENTATION_ICELAKE=0 produces the same results so I do not think it is that.

Thanks for the report.

Issue verified and reproduced. You are correct, it is not related to AVX-512 at all.
You are also correct that I did not include the AVX-512 kernel: it would be easily done (we have the code already), but if one is concerned by size, it is probably the last kernel to include.

Please upgrade to 1.1.0. I did not want to go down this road, but I ended up doing a direct import of a simdutf, only keeping the validate_utf8 function, manually removing everything else. It is unpleasant, but this is_utf8 library is meant to not ever evolved once settled as it meets a very specific need.
You should now have performance parity with simdutf library, down to the AVX-512 kernel. Here are my results on an AWS node:
$ ./build/benchmarks/bench
string size = 40096
basic_validate_utf8   0.293414 GB/s
simdutf               13.321662 GB/s
is_utf8               13.334992 GB/s

string size = 100000
basic_validate_utf8   0.253958 GB/s
simdutf               13.431553 GB/s
is_utf8               13.464450 GB/s

string size = 50000
basic_validate_utf8   0.280539 GB/s
simdutf               13.384315 GB/s
is_utf8               13.378187 GB/s

I confirm that performance is now the same. Thank you.
I'm not interested in AVX-512 support but binary size did not grow much (117004  -> 126652 on macOS) so I think it is not a problem.

There are some warnings.
../deps/is_utf8/src/is_utf8.cpp:568:20: warning: unused variable 'avx512ifma' [-Wunused-const-variable]
constexpr uint32_t avx512ifma = uint32_t(1) << 21;
                   ^
../deps/is_utf8/src/is_utf8.cpp:575:20: warning: unused variable 'avx512vbmi' [-Wunused-const-variable]
constexpr uint32_t avx512vbmi = uint32_t(1) << 1;
                   ^
../deps/is_utf8/src/is_utf8.cpp:577:20: warning: unused variable 'avx512vnni' [-Wunused-const-variable]
constexpr uint32_t avx512vnni = uint32_t(1) << 11;
                   ^
../deps/is_utf8/src/is_utf8.cpp:578:20: warning: unused variable 'avx512bitalg' [-Wunused-const-variable]
constexpr uint32_t avx512bitalg = uint32_t(1) << 12;
                   ^
../deps/is_utf8/src/is_utf8.cpp:579:20: warning: unused variable 'avx512vpopcnt' [-Wunused-const-variable]
constexpr uint32_t avx512vpopcnt = uint32_t(1) << 14;
                   ^
../deps/is_utf8/src/is_utf8.cpp:582:20: warning: unused variable 'avx512vp2intersect' [-Wunused-const-variable]
constexpr uint32_t avx512vp2intersect = uint32_t(1) << 8;
                   ^
../deps/is_utf8/src/is_utf8.cpp:2523:37: warning: unused function 'count_ones' [-Wunused-function]
is_utf8_really_inline long long int count_ones(uint64_t input_num) {
                                    ^
../deps/is_utf8/src/is_utf8.cpp:3534:37: warning: unused function 'count_ones' [-Wunused-function]
is_utf8_really_inline long long int count_ones(uint64_t input_num) {
                                    ^
../deps/is_utf8/src/is_utf8.cpp:6134:31: warning: unused function 'expand_and_identify' [-Wunused-function]
is_utf8_really_inline __m512i expand_and_identify(__m512i lane0, __m512i lane1,
                              ^
../deps/is_utf8/src/is_utf8.cpp:6151:31: warning: unused function 'expand_utf8_to_utf32' [-Wunused-function]
is_utf8_really_inline __m512i expand_utf8_to_utf32(__m512i input) {

I'll try to silence them tomorrow or in the next few days is someone does not do it before me.


R CMD Check contains NOTES

Hi,
currently check contains NOTES. Especially it seems that syntax of list in roxygen has changed.

Run devtools::check()
List probelmatic things to this issue
Let's discuss what we can do about them. (Everything cannot be solved)
Fix

Here is the result after running devtools::check()
❯ checking package dependencies ... NOTE
  Imports includes 21 non-default packages.
  Importing from so many packages makes the package vulnerable to any of
  them becoming unavailable.  Move as many as possible to Suggests and
  use conditionally.

❯ checking top-level files ... NOTE
  Non-standard file/directory found at top level:
    ‘CONTRIBUTING.md’

❯ checking Rd cross-references ... NOTE
  Unknown package ‘https’ in Rd xrefs

The status of this issue?


django-tinymce not loading on Django project

Hello,
I have been having an issue with django-tinymce. It stopped loading on my project and not sure why as it was loading well previously. I might not be able to set out all the documentation here but I have posted the issue here: https://stackoverflow.com/questions/67882016/django-tinymce-not-loading
Any help would be appreciated.

Sorry, but this ticket tracker is not meant as a support channel. If you find anything that could be improved in django-tinymce to help solve your issue, then please reopen with more details. Using Stackoverflow was a good move I guess.


feat: Update for Vite 4.x support, closes @vitejs/plugin-vue2#71

Description
With Vite 4's released, this PR updates the peerDependencies to allow it to work with Vite 4.x (assuming no other changes are needed).
Linked Issues
Closes: https://github.com/vitejs/vite-plugin-vue2/issues/71
Additional context

In my limited testing, I can confirm that just bumping the peerDependencies appears to work fine with Vite 4.x


Optimise signature number

The 'signature number count' would previously do a very long running select
(1 second runtime per page display on a big db).
We now store the signature sequence in each recorded signature, so that it can be
displayed to the user in a consistent way (even if the page is reloaded).
The signature number is populated based on the current Petition's signature
count at the time of signing.
Note that we've taken the decision that if two people sign at exactly the same
time, they could both be signature number 3 (it's a "dead heat" situation).
This way we don't need to grab a lock on Petitions table before doing the
increment. However, the next person signing would jump to signature number 5,
since the increment of the Petitions table is done in a transaction.
(Discussed initially with Andrew White)

I'm into it.


Don't understand how Browserify works

I've recently been looking into using a dependancy manager for a project and have spent the day experimenting with RequireJS (requirejs.org). It seems to do the trick and does everything I want such as modules, dependancies and of course bundling. It's best feature is that it loads in the relevant files (or bundles) when needed.
Now, I've been using Node.js for another project and came across Browserify, which according to various articles, is supposed to be a better option than RequireJS... but I'm not seeing the benefits... in fact so far it looks like it doesn't do half of what I can do with RequireJS, and I can only assume this means I don't understand how Browserify works!
So some issues I have:
1.) According to the docs, you bundle your code into one file, but this seems incorrect, as the whole idea is to avoid this and ONLY load in files relevant to the page you are on (Yes, I know you only bundle files you want via the require method), but still it seems to suggest you compile everything into one file rather than into smaller bundles that can depend on each other.
2.) Even if you do move the files into separate bundles, I haven't seen any documentation of how to load the relevant bundle when needed..
e.g. in require I can do:
require.config({
    bundles: {
        'shared': ['jquery', 'jquery.ui'],
        'home': ['jquery.slideshow','jquery.twitter']
    }
});

define('homePage', ['jquery', 'jquery.twitter'], function(jquery, jquery.twitter) {
// do something here
});

And that will then load the files as I need if I call the homePage code and it will load the shared and home bundles, and then so and so forth, so I can used shared across pages, and then a different bundle for different sections, etc. And it's all handled client side, so if I had some functionality in an AngularJS app like:
define(['angular', 'dependancyModule'], function(angular) {
  angular
    .module('HelloWorld', ['dependancyModule'])
    .filter('HelloWorld', function() {
      return function() {
        return 'Hello world!';
      }
    });
});

If I called that HelloWorld module, it would load the dependancy.
I'm not seeing how I could do this with Browserify, without physically loading in the bundled js file using a script tag in the page itself, so this seems a much more manual process than it would be with require.
If someone could clear this up, it'd be awesome. Thanks.

Browserify goal is to provide node's require to the browser, not to solve every aspect of the app deployment. It does the work (and really good) and plays well with a lot of different other tools.

If you want to generate a bunch of bundles, you may want to take a look at factor-bundle. It generate one bundle per entry you specify and an extra bundle for the shared dependencies (I wrote a blogpost on how I use it at work).

I don't remember the names but there are some solutions around adding the client-side extra layer for the script injection for each page. It shouldn't be difficult to add your own layer.

@danzajdband So would it be accurate to say that Browserify basically allows you to bundle JS files based on their dependency but the loading of the bundles is outside of its scope, as is any files that want to use the bundle itself as a dependency. As it seems because the bundling is done using Node, and because require doesn't exist in the browser, files can't import bundles. Is that correct?

@iamdriz I'm not 100% sure I understand but Browserify leaves the script loading into the browser work to other tools (basically attaching script tags to the DOM). You can require dependencies from other bundles using External requires. What you cannot do is to "require an external file" although there are petitons for that and I think there are plugins for that.


[Embeddingapi] Refine the XWalkVeiwWithOpenFileChooser usecase

Impacted tests(approved): new 0, update 2, delete 0
Unit test platform: Crosswalk Project for Android 21.50.537.0
Unit test result summary: pass 2, fail 0, block 0
BUG=https://crosswalk-project.org/jira/browse/CTS-1763

LGTM


Compatibility with laratrust.

Version information

Laravel: v5.8
Voyager: v1.2
PHP: 7.2
Database: MySQL 8.0

Description:
I am trying to create a project using Voyager and Laratrust as it has a deeper permission system. Only thing is that I don't know a clean way to disable the feature in Voyager.
Are there already built in ways to do so, if not how would you recommend I remove Voyager's roles and permissions?
I don't mind creating a fork of the project.
Thanks, any help is appreciated!
jer3m01.

Questions like this are much better asked in Slack.  There's no good way to decouple Voyager's role/permission system.


1.21 block interval regtest

Follow-on to #1780 which applies block interval changes to the regression test network.

This has passed Travis on my own branch, but failed on the PR: https://travis-ci.com/github/rnicoll/dogecoin
Rather than forcing a re-run, I'll rebase once #1780 goes in, and resolve any issues after.

Ok, nice change! Just adjust conflicts file

In the end rolled this into #1780


openldap::server::dbindex : probably doesn't support "update"

The generated ldif for an update should contain a special line, and should look as follow:
dn: olcDatabase={1}hdb,cn=config
changetype: modify
add: olcDbIndex
olcDbIndex: cn pres,sub,eq

Note the line with "changetype".
But we should solve #102 before checking this issue.

@cjeanneret should be fixed by #104


write at least one SQL query by hand without using the Supabase template or Supabase AI features

get all teams or by id


Warnings on MacOS

Here are a few warnings I encounter when compiling Beast v53 (with a fix for read.ipp, as discussed in #468 ) on MacOS (Sierra, 10.12.5) with the latest Clang from Xcode (see below for version information).
I am posting the warnings solely in the hope that they may be useful at some point, and this is NOT meant as a "call to action".
From my point of view, the possible mix of two Boost versions seems to be the only "serious" problem.
Warnings:
Many warnings of the type:
/opt/local/include/boost/asio/impl/connect.hpp:410:50: warning: unused typedef
      'type_check' [-Wunused-local-typedef]
      ComposedConnectHandler, handler, Iterator) type_check;

/opt/local/include/boost/asio/impl/read_until.hpp:1129:55: warning: unused
      typedef 'type_check' [-Wunused-local-typedef]
  BOOST_ASIO_READ_HANDLER_CHECK(ReadHandler, handler) type_check;

/opt/local/include/boost/asio/strand.hpp:185:69: warning: unused typedef
      'type_check' [-Wunused-local-typedef]
    BOOST_ASIO_COMPLETION_HANDLER_CHECK(CompletionHandler, handler) type_check;

/opt/local/include/boost/asio/impl/write_at.hpp:806:57: warning: unused typedef
      'type_check' [-Wunused-local-typedef]
  BOOST_ASIO_WRITE_HANDLER_CHECK(WriteHandler, handler) type_check;

NOTE the "/opt/local/include/boost".  I do not quite understand, where this path comes from. It is not contained in the FindBoost.cmake which comes with my cmake, so it appears as if this path is somehow "known" to clang, i.e. is a "system path". However, you (Vinnie) explicitly set set (Boost_NO_SYSTEM_PATHS ON) in the main CMakeLists.txt file, and I am passing -DBOOST_ROOT=/opt/boost to cmake / FindBoost.cmake, as I use custom versions of Boost (1.62 at the moment). The next warning below seems to indicate, that it is found and the -DBOOST_ROOT=/opt/boost was successful.
So could it be that the compilation procedure somehow mixes headers from two Boost-versions (one from a "system" path /opt/local, and the other from my custom location /opt/boost) ? This would be quite dangerous.
In file included from /opt/boost/include/boost/coroutine/standard_stack_allocator.hpp:21:
/opt/boost/include/boost/coroutine/detail/config.hpp:17:4: warning:
     "Boost.Coroutine is now deprecated. Please switch to Boost.Coroutine2. To
     disable this warning message, define
     BOOST_COROUTINE_NO_DEPRECATION_WARNING." [-W#warnings]
#  warning                  "Boost.Coroutine is now deprecated. Please s...

You explicitly set -DBOOST_COROUTINES_NO_DEPRECATION_WARNING=1 in the CMakeLists.txt, but, from the text in the warning should set BOOST_COROUTINE_NO_DEPRECATION_WARNING (without "s") instead. Note the /opt/boost/, which seems to indicate that my -DBOOST_ROOT=/opt/boost seems to have been successful.
Here is another one, possibly affecting the tests:
Beast/test/zlib/zlib-1.2.8/inflate.c:1507:61: warning:
      shifting a negative signed value is undefined [-Wshift-negative-value]
    if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;

Finally, I see the following warning, which I have seen being discussed in some ASIO list. This seems to be new with the current MacOS Sierra.
In file included from /opt/local/include/boost/asio/detail/fenced_block.hpp:24:
/opt/local/include/boost/asio/detail/macos_fenced_block.hpp:51:5: warning:
      'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use
      std::atomic_thread_fence() from <atomic> instead
      [-Wdeprecated-declarations]
    OSMemoryBarrier();
    ^
/usr/include/libkern/OSAtomicDeprecated.h:749:9: note: 'OSMemoryBarrier' has
      been explicitly marked deprecated here
void    OSMemoryBarrier( void );

Beast Version:
53 (from version.hpp), with fixes to read.ipp / Download on June 11
Boost Version:
1.62
Platform:
clang -v
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.6.0

Nothing I can do about the warnings, Boost.Asio needs to be updated. And why aren't they using Coroutines2? Hmm...

There is a way to mark include paths on the compiler options in a way suggesting they are "system" include directories and to prevent them from creating warnings. In CMake this is using the SYSTEM keyword:
include_directories (SYSTEM ${Boost_INCLUDE_DIRS})

For gcc and clang its a variation of the -I switch (can't remember which).
Yep, that mix-up with the macro was fixed in a more recent Boost:
https://github.com/boostorg/coroutine/commit/c33f5fcc42cb28882ea6b98a9dc0572f3dc97468
https://github.com/boostorg/coroutine/commits/master
As for the multiple libraries, I don't know. I doubt it, but you never know.

Beast/test/zlib/zlib-1.2.8/inflate.c:1507:61: warning: shifting a negative signed value is undefined [-Wshift-negative-value]

This is just zlib being zib, its an ancient C library. I believe the warning is harmless.

Is there anything actionable here?

Beast/test/zlib/zlib-1.2.8/inflate.c:1507:61: warning:
      shifting a negative signed value is undefined [-Wshift-negative-value]
    if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;

What about this:
    if (strm == Z_NULL || strm->state == Z_NULL) return -(1L << 16);

I rather not modify the zlib sources if I can help it, otherwise it will be harder to merge changes from the upstream repository. Users won't see this warning because its not part of <beast/> header files.

I am trying zlib-1.2.11 to see if the warning goes away

I don't see these warnings anymore, has this been resolved?

I don't see the warnings anymore so I will go ahead and close this. If the warnings come back please feel free to open a new issue, thanks!

No warnings, but tons of errors.
This is what I'm getting (sample error output):
Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:1:25: error: unexpected token in memory operand
;uInt longest_match_x64(
                        ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:2:20: error: unknown token in expression
; deflate_state *s,
                   ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:3:17: error: unexpected token in argument list
; IPos cur_match);
                ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:5:22: error: unexpected token in argument list
; gvmat64.asm -- Asm portion of the optimized longest_match for 32 bits x86_64
                     ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:6:3: error: unexpected token at start of statement
; (AMD64 on Athlon 64, Opteron, Phenom
  ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:7:13: error: unexpected token in argument list
; and Intel EM64T on Pentium 4 with EM64T, Pentium D, Core 2 Duo, Core I5/I7)
            ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:8:17: error: unexpected token in argument list
; Copyright (C) 1995-2010 Jean-loup Gailly, Brian Raiter and Gilles Vollant.
                ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:10:16: error: unexpected token in argument list
; File written by Gilles Vollant, by converting to assembly the longest_match
               ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:11:18: error: unexpected token in argument list
; from Jean-loup Gailly in deflate.c of zLib and infoZip zip.
                 ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:13:10: error: unexpected token in argument list
; and by taking inspiration on asm686 with masm, optimised assembly code
         ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:14:14: error: unexpected token in argument list
; from Brian Raiter, written 1998
             ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:16:17: error: unexpected token in argument list
; This software is provided 'as-is', without any express or implied
                ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:17:16: error: unexpected token in argument list
; warranty. In no event will the authors be held liable for any damages
               ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:18:16: error: unexpected token in argument list
; arising from the use of this software.
               ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:20:17: error: unexpected token in argument list
; Permission is granted to anyone to use this software for any purpose,
                ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:21:24: error: unexpected token in argument list
; including commercial applications, and to alter it and redistribute it
                       ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:22:9: error: unknown token in expression
; freely, subject to the following restrictions:
        ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:24:3: error: unexpected token at start of statement
; 1. The origin of this software must not be misrepresented; you must not
  ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:24:71: error: unexpected token in argument list
; 1. The origin of this software must not be misrepresented; you must not
                                                                      ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:25:14: error: unexpected token in argument list
; claim that you wrote the original software. If you use this software
             ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:26:8: error: unexpected token in argument list
; in a product, an acknowledgment in the product documentation would be
       ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:27:19: error: unexpected token in argument list
; appreciated but is not required.
                  ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:28:3: error: unexpected token at start of statement
; 2. Altered source versions must be plainly marked as such, and must not be
  ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:29:21: error: unexpected token in argument list
; misrepresented as being the original software
                    ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:30:3: error: unexpected token at start of statement
; 3. This notice may not be removed or altered from any source distribution.
  ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:35:3: error: invalid symbol redefinition
; http:
  ^
/Users/usr1/Desktop/Repos/some/thing/libs/beast/test/extern/zlib-1.2.11/contrib/masmx64/gvmat64.asm:36:3: error: invalid symbol redefinition
; http:

What is this? I've been trying to solve this problem for 3 hours and counting.

Which branch of beast are you using? What are you trying to do? Are you trying to build the tests? Is this happening in your program? I need more information.

I hope I can answer your questions properly.

I cloned the main branch, I'd assume. Just straight up git clone https://github.com/boostorg/beast.git
I am trying to start a WebSocket server
That makes me wonder; Should I build the tests?
Yes, during build

You have to clone the boost superproject, as indicated in the https://github.com/boostorg/beast/blob/develop/README.md
You can certainly build the tests, if you follow the steps.

Ok, so now I've followed your instructions exactly as described, and now I get an error on one of the targets om my project. It says Argument list too long:
recursive header expansion failed at /Users/usr1/Desktop/Repos/some/thing/libs/boost/libs/filesystem/test/issues/3332
which is weird because Boost isn't imported in the target in question at all. Boost used by a completely different target.

Which targets on which projects? What command line are you using? I need more information.

I figured it out somehow, I can however not say how I did it because I tried so many things, but if one follows your instructions it should work without a problem.
Also I had to call sudo xcode-select --reset from the terminal, and I think that it actually fixed the issues I had.
However now that I've added some of your WebSocket code to my project and try to run it, my GUI seems to freeze and in fact freeze the whole application.
But that's a different discussion.


flarectl zone create "permission denied"

Confirmation

[X] My issue isn't already found on the issue tracker.
[X] I have replicated my issue using the latest version of the library and it is still present.

cloudflare-go version
flarectl version 0.39.0
Go environment
Not using go, just flarectl directly
Expected output
I expect flarectl zone create commands to succeed, similar to invoking the API to create the zone.
Actual output
Zone create fails with permission denied.
./flarectl zone create --zone=example.io --jumpstart=false
Permission denied (1068)

Code demonstrating the issue
flarectl zone create --zone=example.io --jumpstart=false
Steps to reproduce
Follow instructions in "Add domains via flarectl (Cloudflare's CLI tool)" https://support.cloudflare.com/hc/en-us/articles/360000841472
Encountered this error as a SuperAdmin using a Global API Key as well as a a token with account and zone edit permissions. Those tokens worked using an API request.
References
Another report of the same issue: https://stackoverflow.com/questions/67802345/permission-denied-to-create-zone

Adding --acount-id YOUR_ACCOUNT_ID flag resolves the error.


Move the cluster name of resources to annotations

It's more appropriate to put the cluster message on annotions.

This modification will break the synchronized resources and the user needs to clean up the synchronized resource data.

Currently in alpha stage, no need for compatibility processing

DROP TABLE resources;


Add support for version info

Could you add a "Fixes #32" to one of the commits. Once done,
lgtm.

@jodh-intel Done.

@jodh-intel Change pushed to have version info on a single line.

lgtm

@dlespiau - could you take a look at this?

@dlespiau - does this look good to you?

@dlespiau ping

@mcastelino - could you take a quick look so we can get an ack on this?

LGTM


Cherrim sprite is broken

When its going to be evolved from a cherubi the sprite becomes BROKEN™

Fixed


Remove outdated Lambda facts. Add reference to SAM

Thanks for your submission, @rpgreen! I clicked through to your GitHub user profile and noticed that you work for AWS - your PR is welcome and very much appreciated, but would you mind calling out your affiliation with AWS in future PRs?
@jlevy @QuinnyPig would you mind also taking a look before merge? Thanks!

👍 I'm good with these at this point; those notes are about a year old.

Thanks @rpgreen. @QuinnyPig will let you merge if you're good with this too!


Improve IDE autocomplete for methods

Add autocomplete to methods "checkQuery", "checkParams", "checkBody"  - http://joxi.ru/KAg7gPQi4njP1A

Hi @AleksandrChernyavenko! Thanks for your contribution.
Could you please check the build log and fix what's wrong, so I can merge this in?

Coverage increased (+1.4%) to 96.0% when pulling c4cf080a87aa7f2223958c7ab9b27d06e8917066 on AleksandrChernyavenko:master into 2bb8fe08b24a41d5bfb4330d709fc5151b109e67 on ctavan:master.

Thanks for answer!
I fixed build, so you can merge it.

Do you mind squashing the commits?
Unfortunately, this repo is not configured to allow squashing or rebasing and I don't have permission to change :(

Thanks for accepting my pull request!


JWT token without jti now. This should be added.

Now I find that no jti claim in the jwt token of this project in org.springframework.security.oauth2.server.authorization.token.JwtGenerator#generate. will this be added in the future?

@jinsulive, thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. We prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add a minimal sample that reproduces this issue if you feel this is a genuine bug.
Having said that, if you believe you have a genuine enhancement to suggest, please provide additional details and we can look more into the issue. As it is, I would need to know more about your use case. Ideally, enhancement suggestions would not be phrased as questions.

@sjohnr I came across this issue while I was looking for similar functionality today and thought I might add a bit of context to the original question.
The JWT specification defines an optional claim, jti, which serves as a unique identifier for the JWT. This is a useful addition to support token revocation lists.
In the case that Spring Authorization Server's token revocation endpoint is invoked, while the authorization server is aware that the token is no longer valid, resource servers using JWT-based access tokens have no way of knowing this event occurred unless they call the token introspection endpoint on every request. The increased latency from this additional network hop might be unacceptable in certain use cases.
Once possible implementation would be for the authorization server to push a revocation list to registered resource servers in addition to marking the token as invalidated in its backend. Rather than pushing raw unexpired JWTs in this list (or a hash of the JWT), it would be useful to push the token identifier (jti) instead. The resource server could store the jti in a cache for the remainder of the JWT's lifetime and perform a quick cache check while validating the JWT for each request to make sure it hasn't been revoked at the authorization server.
As an example, Amazon Cognito provides two claims, jti and origin_jti on access tokens it issues. If you revoke a Cognito token, Cognito invalidates any token with the same origin_jti value.

@jinsulive thanks for the additional context.
Please note that adding the jti claim is straightforward by providing an OAuth2TokenCustomizer.
Since token revocation lists and related functionality are not built-in (and therefore custom) and likely will remain so, I think this optional claim should remain a customization on your end as well. If I'm missing anything or if there is a specific use case that could require every deployment to need jti, please open an issue with those details and we can go from there.


Add session_log(int) : string

This introduces a new function session_log(int) and session_log(name, int) which differs from session_logs() in that it will retrieve a single session log.
Another way it differs is that it starts from 0, where session_logs starts from 1, meaning how many logs session_logs will return.
This could be changed, but my train of thought is that session_logs asks for the number of days / session logs to return.
session_log is asking how many days ago should it go to find the session log, where 0 is obviously today as 1 day ago is not today.
So the main use case of this PR is that you can retrieve a single session log from a specified day, without parsing every session log up to said day.
Such as a script that parses a run and compares it against another run, if you want to do a large number of sessions you're not forced to load every file into memory at once.
Of course, session_logs does support adding a calendar date to start from, but it is far simpler to just ask for the session log for a specified day ago.

I'm not following your use case.  Specifically I cannot find an ash function named session_logs that takes no parameters so I don't know how the new work is supposed to be different.
The two parameter version of session_logs accepts a base date and a count.  So you should be able to call that and get exactly one log for a specific date.
I'm not understanding the new functionality here.

Looks like it avoid you having to subtract dates to get your desired date.

Hmm, I don't think there's actually an easy way to understand how to use session_logs(name : string, date : string, days : number)
It looks like date is supposed to be yyyyMMdd
So if I want to get the session log from say, 60 days ago. And this is a hardcoded constant.
Also assume I'm using ash.
So the recommended way to do this is to get the date by
int date = date_to_timestamp("yyyyMMdd", today_to_string());
date -= 60 * 24 * 60 * 60 * 1000;
string datestr = timestamp_to_date(date, "yyyyMMdd");
string session = session_logs("Irrat", datestr, 1);

Instead of
session_logs("Irrat", 60)
Mind you, it took a little longer than it should've to figure that out. Because I got the date formatting wrong, then the wrong ash functions.
I'm not saying this is a solid reason to add session_log, the whole PR is more about making it easier. But anyone that gets this far is probably wise enough to know how to manipulate a day.
Just the short code snippet seems about the right way to be handling this date, and it feels a bit clumsy doing it repeatably. That said, I'm happy enough to close this PR.
Perhaps editing kolmafia's wiki with this code snippet as session_logs(date) isn't actually written down.

Feel free to edit the wiki.  The people who were passionate about keeping it up to date have faded from the game.  You might also be interested in the discussion at https://kolmafia.us/threads/ability-to-specify-a-range-of-session-logs-to-open.22993/


Any function link incorrect

"Template functions - any - Azure Resource Manager" link in "Output iteration in ARM templates" documentation page is incorrect.

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

ID: 834eb528-d20c-19cb-6785-a1061703f15a
Version Independent ID: 8b1ac257-3427-7a49-6daa-e3d2cd283434
Content: Define multiple instances of an output value - Azure Resource Manager
Content Source: articles/azure-resource-manager/templates/copy-outputs.md
Service: azure-resource-manager
Sub-service: templates
GitHub Login: @mumian
Microsoft Alias: jgao

@gabriel-kohen-by Thanks for the feedback. We shall evaluate and update the document as appropriate.

@gabriel-kohen-by - thanks for making us aware of this issue. I have fixed the link. The update should get published later today.
#please-close


Update dependencies

Update dependencies to address security vulnerabilities.

Coverage remained the same at 97.841% when pulling 752681b79a438b8d369088786cb3f2a05eee231f on update-dependencies into 05a992cd283dda70962182175707b55fd1732ce3 on master.


Create version number for compiled version

Goal
Create consistent metric for version control of the app.
Notes
I think it would make sense to have the source code of the program as well as the compiled app separated somehow (so cloning main isn't slow)

just released  pre-release v0.1.0 for windows!


fizzbuzz code exercise - Ian E.

This hopefully meets all the requirements in the readme. Constructive criticisms welcome and appreciated but you should go easy on the first and juniorest to complete this, right? RIGHT? :)

We're learning too, so no worries friend! Would you mind if I ask approximately how long it took you from "I saw the readme" to "I submitted my PR"? Feel free to msg privately. Not a race, just curious as to the level of effort required!

Hrmmm... I had a few interruptions so it was hard to keep track. It was somewhere around 1.5 hrs total I think. Give or take 15 minutes?


Cannot cast an object of inexact type to a type with added optional prop

Flow version: 0.42.0
Expected behavior
No error, as bar is optional
Actual behavior
Cannot cast foo to Bar because property bar is missing in Foo [1] but exists in Bar [2]. [prop-missing]

Link to Try-Flow or Github repo:
https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVAXAngBwKZgBiccYAvGAN5QkBcYAzhgE4CWAdgOYA0YAdAIC+mXAQBCAQ2bkqNOPSZsuvAEZSA-ApYce-IegAmeAMYwpBAG5Swc+sTjoAFLbCTmASlRA

/* @flow */

type Foo = {foo: string, ...}
type Bar = {foo: string, bar?: string, ...}

declare var foo: Foo

(foo: Bar)

A valid value for {foo: string, ...} is {foo: 'hello', bar: 23} (the ... allows any additional properties). Such a value is not a valid Bar, so the error is correct. On the other hand, the opposite is correct (Bar is a Foo): https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVAXAngBwKZgBiccYAvGAN5QkBcYAzhgE4CWAdgOYA0YAdAIC+Abky4CAIQCGzclRpx6TNl14AjGQH4lLDj35DRqACZ4AxjBkEAbjLAbm9acyMAKB-WJwAlKKA

A valid value for {foo: string, ...} is {foo: 'hello', bar: 23} (the ... allows any additional properties). Such a value is not a valid Bar, so the error is correct. On the other hand, the opposite is correct (Bar is a Foo): https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVAXAngBwKZgBiccYAvGAN5QkBcYAzhgE4CWAdgOYA0YAdAIC+Abky4CAIQCGzclRpx6TNl14AjGQH4lLDj35DRqACZ4AxjBkEAbjLAbm9acyMAKB-WJwAlKKA


Extensability via the type system

Fixes #81

EventDataset is now a generic
Possible to alter the ObjectStream or the ast at a call site dynamically during parsing
Type following works through functions, operations, etc.
Hooks now exist that will allow ObjectStream to be modified as the types are being parsed
Support built-in type bool
Bump support to python 3.10, use python 3.9 for coverage tests

Codecov Report

Merging #82 (3909fdc) into master (244c136) will increase coverage by 0.48%.
The diff coverage is 98.44%.

@@            Coverage Diff             @@
##           master      #82      +/-   ##
==========================================
+ Coverage   95.74%   96.22%   +0.48%
==========================================
  Files          12       13       +1
  Lines         587      715     +128
==========================================
+ Hits          562      688     +126
- Misses         25       27       +2

Flag
Coverage Δ

unittests
96.22% <98.44%> (+0.48%)
:arrow_up:

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

Impacted Files
Coverage Δ

func_adl/type_based_replacement.py
98.36% <98.36%> (ø)

func_adl/object_stream.py
100.00% <100.00%> (ø)

func_adl/util_ast.py
88.88% <100.00%> (ø)

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 244c136...3909fdc. Read the comment docs.

Fixes #81
EventDataset is now a generic
Possible to alter the ObjectStream or the ast at a call site dynamically during parsing
Type following works through functions, operations, etc.
Hooks now exist that will allow ObjectStream to be modified as the types are being parsed
Support built-in type bool
Bump support to python 3.10, use python 3.9 for coverage tests


Option to put HTML attributes on their own lines, aligned

Suggest an option to put HTML attributes on their own lines, aligned with each other. For example, turn this:
<button id="start-signout" class="button button-full" ng-click="vm.signout()" click-animation translate>AUTH.SIGN_OUT</button>

into this:
<button id="start-signout"
        class="button button-full"
        ng-click="vm.signout()"
        click-animation
        translate>AUTH.SIGN_OUT</button>

This has been requested and up-voted in a dependent product, Visual Studio Code.

+1

Fixed by @Lukinos.  Thanks!

Great work!
Is there an ETA for the 1.6.5 release? I would really like to see the force-align feature get into vscode!

vscode 1.23.1
"html.format.wrapAttributes": "force-aligned",
not works

VSCode 1.23.1
"html.format.wrapAttributes": "force-aligned"
Not working in Vue SFC templates

It would be nice if we could bind this "html.format.wrapAttributes" command to a keyboard shorcut.


Continue propagation if event.terminal is False

From #1285, this prevents hanging of orbit if an event's terminal property is False. I realized this behavior might not have been evident earlier since this condition was not tested.
For the test, would there be any suggestions on whether a single event detector would suffice or should it be parametrized for all events?
Thanks!

My local approach to this:
    # Collect only the terminal events
    terminal_events = [event for event in events if event.terminal is True]

    # If there are no terminal events, then the last time of integration is the
    # greatest one from the original array of propagation times
    if len(terminal_events) == 0:
        last_t = max(tofs)
        limiting_event = None
    else:
        # Filter the event which triggered first
        last_t = min([event.last_t for event in events])
        limiting_event = [event for event in events if event.last_t == last_t]

    # Crop the original array of times up to the
    below_or_equal_last_t = tofs <= last_t
    tofs = tofs[below_or_equal_last_t]

Thanks @jorgepiloto for sharing the approach. Currently, I am trying to figure out a clean way to include the immediate next tof after the time instant of the event. This might be necessary since only selecting time of flights less than the time instant of the event, might fail if:
len(tofs) == 1

We calculate limiting_event but currently don't use it anywhere. Since we would like to tell the user which event was triggered, should we additionally return tofs[-1] along with r and v inside cowell and tell the user to check each events' last_t property to verify which event was triggered?
There is one case where the current implementation fails: When there are at least two events with one having terminal=False and other having terminal=True, and where the event corresponding to terminal=False would have triggered before the other event had the terminal property of that event be also set to True.

Changing the original line for the lithobrake example in docs:
plt.plot(tofs.value, rr.norm() - Earth.R)

to
plt.plot(tofs[:len(rr)].value, rr.norm() - Earth.R)

would solve the documentation errors.
I wonder if it would be better to return last_t somehow from cowell?

I wonder if it would be better to return last_t somehow from cowell?

Again, we are kind of limited because all propagators should respect the same interface :/ And, at the moment, we want to treat cowell like the others. I think it's a good thing that we keep it.

This pull request is ready to be reviewed :)

The latitude events' default terminal value was changed to False, as was decided earlier.

This looks good to me, pinging @astrojuanlu so he can made a final review about this 👍🏽


RAILS 5 error : alias_method': undefined method attributes_for' for class Devise::ParameterSanitizer

Hello,
I'm trying to migrate one of my apps from Rails 4.2.6 to Rails 5.0.0.beta1. I'm using master branch of devise because it has Raills5 support.
I'm getting an 'alias_method': undefined methodattributes_for' for class Devise::ParameterSanitizer' (NameError) error when I try to execute my tests :
Full BackTrace is available in this gist
As far as I can see this is related to this recent commit that changed the internals of Devise:: ParameterSanitizer

plz need help to me undefined method attributes_for' for class Devise::ParameterSanitizer'
this error

DeviseInvitable has fixed the error, ensure you are using latest version


gdb:Python Exception <class 'gdb.error'> There is no member named status

At the iirst i meet the problem is gdb  No struct type named runtime.rtype, and i follow the tips  in the issue:
https://github.com/golang/go/issues/9326
Problem:
i use the common command is okay , but when i use some command about goroutine is wrong ...
and the problem like this.
(gdb) info goroutines
Python Exception <class 'gdb.error'> There is no member named status.:
Error occurred in Python command: There is no member named status.
(gdb)  goroutine 1 bt
Python Exception <class 'gdb.error'> There is no member named status.:
Error occurred in Python command: There is no member named status.
my environment is :
Linux/CentOS 7.1
golang 1.4.2
gdb GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-64.el7

Have you tried with Go 1.5 ?

no , i just try it in 1.42

Can you please try Go 1.5. If the bug is still present in Go 1.5 it is likely that it will only be fixed there, or maybe held over til Go 1.6. It is unlikely that a point release will be issued for Go 1.4.


Distorted UI in Closed Tab of Scroll View Screens

Note
When the inventory variance threshold is adjusted, the UI experiences noticeable fluctuations.
Expected behavior
The UI should render correctly without any distortion when reopening a closed tab in scroll view screens.
Steps to reproduce the issue
Login the App with valid user credentials and then open the scroll view screen.
Navigate to closed tab using the tab navigation.
Observe the UI distortion, specifically focusing on count cards.
Environment details
App environment : DEV
Additional information

Issue verified and working fine. Hence, closing it.
https://jam.dev/c/6e895b74-0b56-43e9-8e9d-ab7f2cfa8fb9


Discrepancy between available operation semantics documentation and documentation of tf2xla.python.xla.conv

URL(s) with the issue:
https://www.tensorflow.org/xla/operation_semantics#conv_convolution
https://github.com/tensorflow/tensorflow/blob/5f2e159a58d1ef3414b2c34339266449574d8f94/tensorflow/compiler/tf2xla/python/xla.py#L239:L269
Description of issue (what needs changing):
Clear description
tf2xla.python.xla.conv points to the operation semantics for ConvWithGeneralPadding but actually wraps the more general ConvGeneralDilated. It would make sense to actually have documentation about the operation semantics of this more general operation.

Hi @bchetioui,
Looks like the docstrings for conv in xla.py are incorrect. The method that is wrapped seems to be the XLA Conv operator, not the XLA ConvGeneralDilated operator.

Hi @Harsh188,
It doesn't seem like this is the case to me; Xla::Conv has a different prototype than the function that is called in xla.py (which indeed corresponds to the one of ConvGeneralDilated.

@bchetioui you seem to be right. It also looks like it's just named XLAConv, but it seems to use xla::ConvGeneralDilated.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


Add online demo

Hello! I'm really excited to see such package. I haven't yet had a chance to test it myself, but I'm looking forward to!
What would be really handy though is to have an online hosted demo of a storybook created using your package
All the best!

...I see it's already here: https://flutterbook.vercel.app/#/stories/library/button/primary
Okay, so it would be convenient to have a link to the demo somewhere on the top of the readme

Loved to hear!
Currently @Josiassejod1 is managing the project. Currently there is a demo on the README but if you have more suggestions, send it to him :)

Hey @Albert221, I just put the demo link at the top !


Dependency icu is not listed

The installation guide lists node.js, mongodb and python2 as the only dependencies. ICU is also required to run npm install successfully:
# npm install

><EMAIL_ADDRESS>install /home/lets-chat/lets-chat/node_modules/node-xmpp-core/node_modules/node-stringprep
> node-gyp rebuild

which: icu-config: Command not found.
gyp: Call to 'which icu-config > /dev/null || echo n' returned exit status 0. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System OpenBSD 5.7
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/lets-chat/lets-chat/node_modules/node-xmpp-core/node_modules/node-stringprep
gyp ERR! node -v v0.10.35
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok

What platform is this?

OpenBSD:
# uname -a
OpenBSD elysion.barrera.io 5.7 GENERIC.MP#895 amd64

I already had icu installed on my other test system (ArchLinux) and uninstalling it would have broken my installation, so I can't confirm if it's necessary (or not) on other platforms.


R91 Clarification

R91 states: BPI service orchestration utilized in a BPI MUST capture the exact order in which operations happened.
Does this imply that operations are sequential or ordered and cannot execute in parallel? Please help clarify.

@atoulme ... how about this? cc @chaals @humbitious
In the context of this document, operations in a BPI service orchestration do not necessarily have to be causally connected to be ordered by the BPI service orchestration. For example, if operation 1, the creation of an invoice between Alice and Bob in a BPI, is received by the BPI service orchestration of a BPI before operation 2, the creation of a shipping notice of a purchase order between Bob and Claire, then the operation identifiers assigned to operation 1 and operation 2 must reflect that order through for example a deterministic nonce as the operation identifier.

OK, that's clearer.

Closing. Addressed with merged PR https://github.com/eea-oasis/baseline-standard/pull/173


Defining rules in IoT central, combination question

hi,
As per this
Can someone please suggest how it is expected to work, and whether my understanding is correct?
Case A
(a)Enable rule for all devices of this template | On
(b)Enable rule on this device | On
My understanding- All devices in the set and this device too is eligible to execute the rule.
Case B
(a)Enable rule for all devices of this template | Off
(b)Enable rule on this device | Off
My understanding-No device in the set is eligible to execute the rule.
Case C
(a)Enable rule for all devices of this template | Off
(b)Enable rule on this device | On
My understanding-Only this device is enable to execute this rule
Case D
(a)Enable rule for all devices of this template | On
(b)Enable rule on this device | Off
My understanding- Other devices are enabled to execute this rule, but not this device

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

ID: 6fbcd0a0-b129-1e79-37b8-7572e9913811
Version Independent ID: 5861c6ce-d9e2-43db-97e7-817cc54408f4
Content: Configure rules and actions in Azure IoT Central
Content Source: articles/iot-central/tutorial-configure-rules.md
Service: iot-central
GitHub Login: @ankitgupta
Microsoft Alias: ankitgup

Thanks for the feedback! We are currently investigating and will update you shortly.

I am adding the content author @ankitgupta to enhance the documentation and help clarify your questions.
Thank you!

Except Case B, all other cases are specified correctly. Case B is not possible currently. If you disable the rule at the Device model level by toggling "Enable rule for all devices of this template" to "Off", then the rule gets disabled for all the devices.
This is the reason why when you toggle "Enable rule for all devices of this template" to "Off" then "Enable rule on this device" is automatically grayed out.


More FAQs

There are still FAQs not answered:

"What does the name 'Rust' mean?"
 - answer.

The second question is about RAM usage, not executable size.

Comparison to swift would be useful.

@antoyo Yes, but the additional RAM usage is caused by a larger executable (which is loaded into RAM).
For swift I guess something along the lines of it having a very similar type system without the ownership/borrowing, and using automatic reference counting for memory safety?

@Manishearth In the thread on rust-lang, I learned that using the system allocator lower the RAM usage. Does this mean that jemalloc is using 10 MB of RAM?

That could be the case, but I doubt it; it probably means you're statically linking to jemalloc which increases the binary size (whereas the system allocator exists on your machine anyway)

"What's the point of inner attributes?" / "Why are there so many attribute forms?" / "Why are doc comments attributes?"

"Why does my Windows application show console?"

"Which string type should i use?"
http://hermanradtke.com/2015/05/03/string-vs-str-in-rust-functions.html

"Can i accept both &str and String?"
http://hermanradtke.com/2015/05/06/creating-a-rust-function-that-accepts-string-or-str.html

Why there is no incremental/decremental operators ( ++/-- ) in Rust?
Well, I know these operators lead to troubles, but I can't find the canonical explanation.

I am happy to take a crack at answers to the above-listed questions. I can probably whip up reasonable answers to all of them but the naming question. If anyone familiar with the history has a good explanation for the name, I'm happy to write up an answer that explains it.


Dependency issues

Getting dependency issues when running the app through dev container.  Wondering if it's normal or not.  Thanks.

can you provide us more details? e.g. what did you do and what was down?

Was getting errors like these below during poetry install
Because llama-index-vector-stores-chroma (0.1.9) depends on llama-index-core (>=0.10.1,<0.11.0)
and llama-index (0.11.6) depends on llama-index-core (>=0.11.6,<0.12.0), llama-index-vector-stores-chroma (0.1.9) is incompatible with llama-index (0.11.6).
So, because app depends on both llama-index (0.11.6) and llama-index-vector-stores-chroma (0.1.9), version solving failed.
node ➜ .../src/ragapp/create_llama/backend $ poetry install
Skipping virtualenv creation, as specified in config file.
Updating dependencies
Resolving dependencies... (0.5s)
Because llama-index-vector-stores-chroma (0.1.10) depends on llama-index-core (>=0.10.1,<0.11.0)
and llama-index (0.11.6) depends on llama-index-core (>=0.11.6,<0.12.0), llama-index-vector-stores-chroma (0.1.10) is incompatible with llama-index (0.11.6).
So, because app depends on both llama-index (0.11.6) and llama-index-vector-stores-chroma (0.1.10), version solving failed.
I changed a few versions, and I think it's ok now.
Using the dev-container flow btw.

I believe the minimum version for llama-index-vector-stores-chroma needs to be ^0.2.0, so 0.1.9 won't work.
(see: https://github.com/ragapp/ragapp/blob/e7e789d372d062ce654cd12fa109c253699853bb/src/ragapp/pyproject.toml#L41)


[Kamadan] trade chat is not working properly

There is degraded performance of webpage. Only first ~50 items are listed + search option is not working at all.
I don't see any extra repo for Kamadan, so this is why I post it here

Both Kamadan and Ascalon trade chats appear to have stopped working/updating 6 days ago.

Many thanks for fixing this.

Hey. So the issue still persists. Now it's down since 2 days. Previously it was flickering (sometimes online, sometimes offline)

Hey @3vcloud.
Thanks for fixing it previously, but the issue still persists. Now it's down since 2 days. Previously it was flickering (sometimes online, sometimes offline)

https://discord.com/channels/223619617048756224/679408286084235274/1311235302622367774


Intel GPU's

Contrary what's written in the documentation, the latest SDK/Drivers support OpenCL on Intel integrated HD Graphics GPU's. The "hello world" example reports the Graphics card as the default device.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/32770694-intel-gpu-s?utm_campaign=plugin&utm_content=tracker%2F402515&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F402515&utm_medium=issues&utm_source=github).

Can you point to which part of the documentation you're referring to? Boost.Compute should work with any conforming OpenCL implementation, including Intel's with both CPU and GPU devices.

Hi Kyle,
It's at the bottom of this page:
file:///C:/boost_1_61_0/libs/compute/doc/html/boost_compute/platforms_and_compilers.html
It says: "

Intel (CPUs only)

"
degski
On 9 April 2016 at 20:27, Kyle Lutz<EMAIL_ADDRESS>wrote:

Can you point to which part of the documentation you're referring to?
Boost.Compute should work with any conforming OpenCL implementation,
including Intel's with both CPU and GPU devices.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/boostorg/compute/issues/581#issuecomment-207819733

--
(___/)
(+'.'+)
(")_(")
This is Bunny. Copy and paste Bunny into your
signature to help him gain world domination!

Link to line: https://github.com/boostorg/compute/blob/master/doc/platforms_and_compilers.qbk#L39
I think it should be CPUs and GPUs on windows only or something along those lines.
Is there any reason Apple is missing from the list ? From what I understand all OpenCL implementations on OSX are from Apple rather than the device manufacturers.

Thanks for the feedback! I've updated the list of supported platforms in PR #583.


The new "monitors" tabs bugs and quirks

Bug description
1st the bugs :

When you delete a row, it actually delete another row, like the one upside most of the time. https://github.com/Bionus/imgbrd-grabber/commit/82c3708e9438008b7fa16c0423e71228ab1da3aa
Same after editing a row, it select the one upper just after editing. https://github.com/Bionus/imgbrd-grabber/commit/82c3708e9438008b7fa16c0423e71228ab1da3aa
When removing a source : the focus goes on "add" after un-checking a source. (would be better on "ok" I think)
The most left button is "ok", but in the previous windows it is on the right. https://github.com/Bionus/imgbrd-grabber/commit/d3423e3f20d80b8175219f646aad858996930648
When interval is set to 60m the display fail (show: "0 m") https://github.com/Bionus/imgbrd-grabber/commit/06f8bd14fc59f8270216d8b5798cc5994318506a
(update 09/07/20) When an image hit a tag from blacklist, the monitoring fail to continue and freeze displaying no error message.
(update 09/07/20 The monitors.json seems to not be updated with correct timestamp in the lasts entries after monitoring is complete.
logs : main.log
for timing comparizon here is monitors.json : monitors 09.07.20.json.txt
(update 09/07/20 The monitors.json use wrong timestamp, log are on system time, but monitors are two hours earlyier.

2nd the suggestions :

A tool to convert "favorites" to "monitors" ?
Some more informations columns like : "last checked", "next check", "filename" & "save folder","post-filter". Could be usefull information
Quick edit like the download tab ? You know, when you can double click to quick edit a field.
A way to "pause/resume" the monitors ? I mean, all of them at once, for exemple if you only want to download them at night.
The "ok" button always at the same place, the focus on "ok", since you can "cancel" with escape key.

3rd the questions :

How are notification working ? I got absolutely no notification, the system tray icon only react to right click with the "qui" option. For now I assume they are not implemented since you stated :

Add basic monitor tab (issue #1620)

System information

windows 10
Grabber version: 7.3.

Thx for the work, the new monitor is good thoses quirk appart !

Added some update on the bug side.

When you delete a row, it actually delete another row, like the one upside most of the time.
Same after editing a row, it select the one upper just after editing.
When removing a source : the focus goes on "add" after un-checking a source. (would be better on "ok" I think)
When interval is set to 60m the display fail (show: "0 m")
(update 09/07/20) When an image hit a tag from blacklist, the monitoring fail to continue and freeze displaying no error message.

Fixed 👌

(update 09/07/20 The monitors.json seems to not be updated with correct timestamp in the lasts entries after monitoring is complete.
logs : main.log
for timing comparizon here is monitors.json : monitors 09.07.20.json.txt
(update 09/07/20 The monitors.json use wrong timestamp, log are on system time, but monitors are two hours earlyier.

Not sure what exactly you mean.
Dates in the JSON file are stored in UTC. If you see them as two hours earlier, if you're from western Europe that's expected.

The most left button is "ok", but in the previous windows it is on the right.
The "ok" button always at the same place, the focus on "ok", since you can "cancel" with escape key.

Yes I updated the "Sources" window to have the "Ok" button on the left.

A tool to convert "favorites" to "monitors" ?

Yes it's planned, but since currently the monitors still have a bunch of issues, I just leave the favorites as-is for now.
In the long run, the monitoring feature of the favorites will go away or be more integrated with real monitors.

Some more informations columns like : "last checked", "next check", "filename" & "save folder","post-filter". Could be usefull information

I added a few, not sure about the others yet.
Note that most will be hidden by default, but you can toggle them by right-clicking on the table's header.

Quick edit like the download tab ? You know, when you can double click to quick edit a field.

Maybe, but I feel like many fields would not go well with it. Only the actual search, the post-filters, and maybe the source (but then you'd have to put the exact source URL, just like in downloads). I feel like just editing it with an UI is more convenient?

How are notification working ? I got absolutely no notification, the system tray icon only react to right click with the "qui" option. For now I assume they are not implemented since you stated :

Add basic monitor tab (issue #1620)

I'd say it's a bug, since notifications exist for a long time and should be working. They were introduced together with favorites' monitoring.

I've updated the first message.
For :

(update 09/07/20** The monitors.json seems to not be updated with correct timestamp in the lasts entries after monitoring is complete.
logs : main.log
for timing comparizon here is monitors.json : monitors 09.07.20.json.txt

I mean that the last entries it the json file have wrong last-check values. Even with the "UTC thing" they are wrong, the beggining ones are updated fine here is the value : "lastCheck": "2020-07-09T19:50:50Z", this is correct, but the ones at the end of the file (not the same number of entries at each times) get it wrong : "lastCheck": "2020-07-09T15:24:08Z", they are not updated, I don't know why.
For exemple in the last monitoring :
The firsts entries says : "lastCheck": "2020-07-12T07:46:25Z", "lastCheck": "2020-07-12T07:46:26Z", "lastCheck": "2020-07-12T07:46:30Z", and so on... (this is correct with UTC thing)
(after monitoring is completed and application closed)

[09:55:34.645][Info] Next monitoring will be in 2997 seconds

So I expect last entries to be something like "lastCheck": "2020-07-12T07:5X:XXZ",

The very last entry : "lastCheck": "2020-07-11T18:08:20Z",
The last good one : "lastCheck": "2020-07-12T07:55:27Z",

In my last monitors.json the last 40 entries have not been updated on "lastCheck", the value is the same as yesterday, but they got monitored, just not updated. (The number of entries not updated seems a bit random too)
monitors - Copie.json.txt

How are notification working ? I got absolutely no notification, the system tray icon only react to right click with the "qui" option. For now I assume they are not implemented since you stated :

I made it so that the checkbox is disabled if the system tray icon is disabled.

A way to "pause/resume" the monitors ? I mean, all of them at once, for exemple if you only want to download them at night.

There's a big button at the bottom of the monitors tab now.

(update 09/07/20** The monitors.json seems to not be updated with correct timestamp in the lasts entries after monitoring is complete.

Should be fixed now 👌

How are notification working ? I got absolutely no notification, the system tray icon only react to right click with the "qui" option. For now I assume they are not implemented since you stated :

I made it so that the checkbox is disabled if the system tray icon is disabled.

A way to "pause/resume" the monitors ? I mean, all of them at once, for exemple if you only want to download them at night.

There's a big button at the bottom of the monitors tab now.

(update 09/07/20** The monitors.json seems to not be updated with correct timestamp in the lasts entries after monitoring is complete.

Anyway i'll close since everything here is done or solved.


Change log location

Transition from internal log directory to system log directory /var/log to store logs.

Log location was changed to /var/log/revoke.log


Experimental features

The Issue
Allow users to test new features right away from the settings section (UI)
Without having to wait for the next / stable release.
Expected behaviour

Add a section in settings to allow users to active / disable experimental features.
Show a warning that this my not work or can cause undesired behavior.
Allow to report bugs...

See it as a safe Sandbox for users ^^

I think the RC system is sufficient for handling this for now.


Add version check when creating second index on map column

For CASSANDRA-11186

+1

-1. The value of self.UPGRADE_PATH.upgrade_version can be in the form git:cassandra-2.2, and thus the comparison logic there doesn't work. You will need to first make sure it is in the right form.

ah yes, are there util methods anywhere for normalizing versions that way? Or if not, a way to test the version of the specific session (rather than the cluster)?

Apologies for the really roundabout API, but here's an example:
https://github.com/riptano/cassandra-dtest/blob/master/upgrade_tests/cql_tests.py#L377
if self.get_node_version(is_upgraded) >= '2.2':

Thanks Jim. I've made that change, rebased, squashed/merged & pushed to master.

Awesome, thank you :tada:


⚠ Bofrost.at has degraded performance

In 933db42, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1262 ms

Resolved: Bofrost.at performance has improved in c10fab9 after 15 minutes.


Create unimol+ embeddings

I am trying to create unimol+ embeddings from a SMILES dataset. Is there a way to just infer this without having to train the model? how should I go about this?
Thank you so much in advance!

Sure! You can use UniMolRepr to get the embeddings.
You may kindly refer to the following Documents:Tutorial for usage instructions.


Update version to 0.5.0

Signed-off-by: Jeremy Phelps<EMAIL_ADDRESS>

recheck

recheck


Preconditioner overrides the value of NITER

Problem
The preconditioner overwrites the value of niter after the block preconditioner is run. This limit is hardcoded to 400 on line 77 of evolve.
https://github.com/ORNL-Fusion/PARVMEC/blob/915faf46548519c0fd8124a3ba242a517a91915d/Sources/TimeStep/evolve.f#L77
When the preconditioner hits this limit, the niter limit is reached and VMEC shows an erroneous error message to increase NITER. This does nothing since the iteration counter is fixed to 400.
Solution
First fix the error message when the preconditioner threshold is reached so it says the right error. Then refactor the code to allow the user to set this limit.

This issue has been fixed in https://github.com/ORNL-Fusion/PARVMEC/pull/55.
A new variable in the namelist was added pre_niter. The default value of -1 uses the old behavior. Setting it to -2, prevents niter from changing. Setting it to any value greater than 0, will use that value as the number of preconditioner steps.
@lazersos

@cianciosa I see the refactoring of the code in #55 but I don't see where pre_niter was added to the INDATA namelist?

@cianciosa Never mind I realized I needed to check the LIBSTELL repo.  Thanks for tagging me I'll copy your edits over the the STELLOPT repo.


SUN Dataset Link Not Working

Hello,
I am unable to access the SUN dataset through the provided link: https://amed8k.sundatabase.org/. The page doesn't load, and I can't download the required video frames for the SUN-SEG dataset.
Could you please assist with this or provide an alternative download link?
Thank you!
Farzaneh

Please reach me with my email<EMAIL_ADDRESS>


Use the new base-docker-image.

Most of these changes relate to no longer having conda and no longer needing to reinstall openslide-python and pylibtiff.

This should only be merged once the new base image is available on docker hub.


New Firmware 3.3.0

Added firmware 3.3.0 and confirmed for three devices as working

I can confirm this works too for Sonoff Slampher RF

@Tony763 thanks


TestParseExistingFile fails on Windows

--- FAIL: TestParseExistingFile (0.00s)
Location:       parsers_test.go:57
Error:          No error is expected but got path '/etc/hosts' does not exist
    Location:       parsers_test.go:58
    Error:          Not equal: "/etc/hosts" (expected)
                            != "" (actual)

Thank you! I'll fix this soon.


Add Notification Entity

Desired Outcome

Users as players would have a notifications.
This entity is required for have this notification page

Implemented Changes
Add notification/ file which include all the entity required files:

models.py
tests.py
admin.py
migrations

Add to conftest.py notification fixuse.
Would add also:

veiws.py and more tests.
html files for /notification path
Update the ERD diagram photo

Connected Issue/Story
Resolves #88
Dependencies

[x] This PR does not depend on other PR's

Definition of Done
Feel free to copy this information from the connected issue.
Test coverage

[x] This PR includes new unit and integration tests to go with the code
changes

Documentation

[x] Docs ERD Diagram will updated in this PR
[x] A follow-up issue to update official docs has been filed here: 89

I see the PR description mentions the ERD, but it's not being updated here. I suggest either removing this from the description or having it implemented. It also mentions the views file. If it's suppose to be empty, I think it's better to mention it.

I see the PR description mentions the ERD, but it's not being updated here. I suggest either removing this from the description or having it implemented. It also mentions the views file. If it's suppose to be empty, I think it's better to mention it.

Thanks for notice me that.
We will update the ERD in other PR. Removed from the description.


Separate keywords

All the keywords should be in the following form.
print = "print" ~alnum

I'll work on this as well


Feature: Run Cairo function with arguments

This PR adds --args flag to scarb-hints-run  as discussed in #22, in order to run Cairo functions with arguments as follow:
scarb hints-run --oracle-server http://<IP_ADDRESS>:3000 --layout all_cairo --args "1764"
Arguments should be spaced, with array elements placed between brackets For example " --args '1 2 [1 2 3]'" will yield 3 arguments, with the last one being an array of 3 elements.

Hi @raphaelDkhn, thank you very much for your contribution!
It works great, merging!


ISPN-12616 Rolling Upgrade fails for caches storing POJOs

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

The test failures, despite the name, have nothing to do with Infinispan Rolling Upgrades

The test failures, despite the name, have nothing to do with Infinispan Rolling Upgrades

Merged, thanks

Merged, thanks


AttributeError: 'NoneType' object has no attribute 'id'

gitmirror@stuff:~/gitlab-mirrors$ ./add_mirror.sh --git --project-name osxcross --mirror https://github.com/tpoechtrager/osxcross
Resolving gitlab remote.
Traceback (most recent call last):
File "lib/manage_gitlab_project.py", line 149, in
found_project=createproject(project_name)
File "lib/manage_gitlab_project.py", line 110, in createproject
'namespace_id': find_group(name=gitlab_namespace).id,
AttributeError: 'NoneType' object has no attribute 'id'
There was an unknown issue with manage_gitlab_project.py

This relies on a really old version of python-gitlab v1.1.0.  Are you using the old version or attempting to use the latest version?
The code needs a bit of an overhaul in general as its age is showing.

Thanks for the quick reply.  I have no idea.  I'm using whatever my package manager supplied.  I'll see if I can downgrade to the recommended version.

I purged whatever I had installed with apt and used pip to install 1.1.0.  Same issue.  :-(

gitmirror@stuff:~/gitlab-mirrors$ ./add_mirror.sh --git --project-name osxcross --mirror https://github.com/tpoechtrager/osxcross Resolving gitlab remote. Traceback (most recent call last): File "lib/manage_gitlab_project.py", line 149, in found_project=createproject(project_name) File "lib/manage_gitlab_project.py", line 110, in createproject 'namespace_id': find_group(name=gitlab_namespace).id, AttributeError: 'NoneType' object has no attribute 'id' There was an unknown issue with manage_gitlab_project.py

maybe your group numbers is over default number(10), try  to modify  "lib/manage_gitlab_project.py" add "page=1, per_page=100"
def find_group(**kwargs):
 groups = git.groups.list(page=1, per_page=100)
 return _find_matches(groups, kwargs, False)

def find_project(**kwargs):
 projects = git.projects.list(as_list=True,page=1, per_page=100)
 return _find_matches(projects, kwargs, False)


Update shared-channels.md

Added more clarification on ownerless shared channels.

Docs Build status updates of commit 684b6ce:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/shared-channels.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 5704c56:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/shared-channels.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit b650b84:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/shared-channels.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 2383218:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/shared-channels.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Versioned clientlibs transformer factory

Fixed a bug for the versioned clientlibs transformer factory when a context path is set
Resolves #866

Thanks, we really needed this 👍

Fixed :)

On 15 Dec 2016, at 22:09, wiiitek<EMAIL_ADDRESS>wrote:
@wiiitek commented on this pull request.
In bundle/src/main/java/com/adobe/acs/commons/rewriter/impl/VersionedClientlibsTransformerFactory.java https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/867:

@@ -129,25 +131,33 @@ public Transformer createTransformer() {
return new VersionableClientlibsTransformer();
}

private Attributes versionClientLibs(final String elementName, final Attributes attrs) {

private Attributes versionClientLibs(final String elementName, final Attributes attrs, String contextPath) {
There are two methods with String contextPath argument but it is made final in only one of them.
Is it ok?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/867, or mute the thread https://github.com/notifications/unsubscribe-auth/AEvNTntEKswyB_vSA2fc_Gl_JNwBhBinks5rIaybgaJpZM4LKlaP.

Thanks!


Reverted FAQ translation to fix searchbar collapse.

Searchbar issue:
http://i.imgur.com/wvKMd70.png
Also, spanish transaltion is missing more transaltions. I'll do them this week.

no need to, #582 fixes this

@sfan5 nice.


Use portable cache from ansible-compat

This simplifies use of caching across multiple versions of Python.
Implementation is inspired from the the approach taken by https://github.com/apache/airflow/ project.
Related: https://github.com/python/mypy/issues/1362

The cache commit seems OK, but this PR also contains setuptools cleanup which should not be part of the current batch of changes.

Sorted. Got combined by mistake while working on different changes.


improve agg error message

return only the tantivy error in case aggregation parsing fails.
The correct solution would be to split tracing and tantivy aggregations.
Description
Describe the proposed changes made in this PR.
How was this PR tested?
Describe how you tested this PR.

https://github.com/quickwit-oss/quickwit/issues/3281

Approved, but This is not entirely solving #3281

Yes, the list of allowed aggregations is still missing


Managed streaming Ingest [WIP]

Adds ManagedStreamingIngest - works similarly to other sdks:

Ingesting from blob forwards to queued
Ingesting >4mb forwards to queued
Otherwise, streaming is tried
Multiple transient failures dealt with exponential backoff, and after 3 falls back to queued
Well tested and covered, both e2e and unit

Removes RequiredMapping as it's no longer a requirement from the engine
Fixes several warnings

Codecov Report

Merging #80 (bb2c6d0) into master (ca7cd57) will increase coverage by 3.59%.
The diff coverage is 76.49%.

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
+ Coverage   47.20%   50.80%   +3.59%
==========================================
  Files          39       41       +2
  Lines        4226     4417     +191
==========================================
+ Hits         1995     2244     +249
+ Misses       2086     2018      -68
- Partials      145      155      +10

Impacted Files
Coverage Δ

kusto/ingest/result.go
12.17% <ø> (+5.21%)
:arrow_up:

kusto/ingest/internal/filesystem/filesystem.go
26.80% <8.33%> (ø)

kusto/ingest/internal/resources/resources.go
61.63% <50.00%> (-0.31%)
:arrow_down:

kusto/ingest/internal/resources/test_helpers.go
62.63% <62.63%> (ø)

kusto/ingest/streaming.go
80.85% <85.00%> (+17.63%)
:arrow_up:

kusto/ingest/managed.go
88.11% <88.11%> (ø)

kusto/ingest/ingest.go
52.05% <93.33%> (+7.61%)
:arrow_up:

kusto/ingest/file_options.go
44.17% <100.00%> (+18.27%)
:arrow_up:

kusto/ingest/internal/conn/conn.go
63.63% <100.00%> (-2.47%)
:arrow_down:

... and 4 more

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 75e351f...bb2c6d0. Read the comment docs.

@element-of-surprise I don't understand, that's what I'm doing right now in the code - poll the results and wait 100ms between polls,
Not sure how i can do it otherwise


Replace additional function with custom matcher for better assertion errors.

Before this PR if GardenPlantingTest throws an error, it were possible only to see errors like this:
java.lang.AssertionError:
Expected: <2024>
     but: was <2023>

java.lang.AssertionError:
Expected: <9>
     but: was <8>

java.lang.AssertionError:
Expected: <7>
     but: was <6>

I add custom matcher and now it's easier to read assertion errors stack traces.
java.lang.AssertionError:
Expected: 06.08.2024
     but: was 06.08.2023

java.lang.AssertionError:
Expected: 06.09.2023
     but: was 06.08.2023

java.lang.AssertionError:
Expected: 07.08.2023
     but: was 06.08.2023

Additional advantage of this way is that asserts become more readable.
I also add visibility modifier internal for all unit-test classes, because they should have less visibility.

@mlykotom , excuse me, are you here?

I'm sorry, but i think that @mlykotom won't review it. @arriolac , can you review this PR, please?

@arriolac excuse me, can you check this PR again (resolve conversations if problems are solved or left new comments) ?


Replacing a libdef with a custom one, robustly

How do I replace a libdef with a custom one of my own creation? I still want the full benefit of all the other libdefs.
Equivalently, I'd like to remove one libdef, but I don't want subsequent updates of my libdefs to undo the replacement. It seems to me that simply deleting the libdef from the flow-typed directory would suffer this problem.
The number of challenges I'm having with the Express libdef has grown to the point where I just don't see how I'm going to be able to use it. All I want are limited views of the request and response objects, extended with my session information and utility methods.

I recommend moving the flow-typed/npm/express directly to flow-typed/ (move out of /npm) and add your customizations to the original libdef file... you have to check in flow-typed dependencies in your source-control anyways.... by separating npm with non-npm, you always know which are the official libdefs from flow-typed.

Okay thanks. But wouldn't a flow-typed update overwrite my mods, forcing me to recover them via git each time?

Another option is to create a wrapper class and use that everywhere, but that would be letting the particulars of flow-typed dictate software design. Not ideal.

@jtlapp

Okay thanks. But wouldn't a flow-typed update overwrite my mods, forcing me to recover them via git each time?

No, it will only overwrite the file located in flow-typed/npm ... this is flow-typed's way of expressing a namespace for libdefs

Another option is to create a wrapper class and use that everywhere, but that would be letting the particulars of flow-typed dictate software design. Not ideal.
Yep, you are right... I would really recommend modify the flow-typed definition locally outside of the flow-typed/npm directory

It sounds like you're saying that a file present at flow-typed/ will override one of the same name at flow-typed/npm/. Attempting this with original libdef, I get an error that baffles me. The libdef works in flow-typed/npm/ but not in flow-typed/:
flow-typed/express_v4.x.x.js:2
  2: import type { Server } from 'http';
                   ^^^^^^ Named import from module `http`. This module has no named export called `Server`.

And when I declare my own version of the module in flow-typed/express_v4.x.x.js, it ignores it completely and enforces the types of flow-typed/npm/express_v4.x.x.js.
So I appear to be misunderstanding your suggestion.

@jtlapp Did you actually remove the flow-typed/npm/express_v4.x.x.js? If you have to files doing a declare module 'express' it may take one of them... but not both.
Also, what is your [libs] configuration?

Yeah, playing around now I see that if I delete the one from flow-typed/npm/ it will heed the one in flow-typed/. Interestingly, the import error also goes away.
Aha! If I specify the new libdef in [libs], it ignores the one in flow-typed/npm/. Perfect!
I did read through the configuration file docs several times in search of something that would help. Maybe a blurb under [libs] saying that these libdef files override those of flow-typed/npm/ would have wizened me sooner.
Thank you so much for your help!

@jtlapp By default, if there are no [lib] entries, flow will assume flow-typed/ to be the libdef directory.... as soon as you define an entry, flow-typed, you also need to explicitly define flow-typed again.
Example:
[lib]
# Without this, flow will not assume flow-typed anymore..
flow-typed
node_modules/react-native/lib/flow/react-native.js

Okay, thanks for that clarification. I vaguely recall having read that somewhere, but I don't see it in the docs for [libs].
Also, it appears to me that the import error is always happening but is getting quietly swallowed when it occurs within a module declaration that flow-typed actually uses.

This broke in flow 0.53 for me.


add solution to Redux never mutate state

[ x] I have read freeCodeCamp's contribution guidelines.
[ x] My pull request has a descriptive title (not a vague title like Update index.md)
[ x] My pull request targets the master branch of freeCodeCamp.
[ x] None of my changes are plagiarized from another source without proper attribution.
[ x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[ x] My changes do not use shortened URLs or affiliate links.

Closes #XXXXX

Waiting for #32909 to be merged/closed

Congrats @andrew-ma on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝