installation / operation on local server

Hi,
I really like the easy to use frontend of this tool (e.g. with vim-like keyboard bindings) and its capabilities regarding general task management. So, I'd like to run the application on my local server (e.g. on a RaspberryPi). Unfortunately, I have not found any help on the following subjects:

installation process without yarn
application structure and restrictions

Eventually, I got something installed (which after many minutes of download and installation does not really look like having anything to do with "tdo"). I tried with

git clone https://github.com/mstijak/todo.git ~/tdo
cd ~/tdo
npm install

But now, I wouldn't know, how or what to connect / configure in order to make the application accessible from a web browser within the connected LAN.
Is there some more help on installation and application structure? Would it be possible to operate this application on a server hosted on a RaspberryPi, anyway?
Please see the attached image in order to grasp the rough application in mind:

Thanks in advance.

Hi, it's really simple. You should run:
npm install
npm run build

After that just copy the contents of the dist folder to your webserver.

Thanks for your help so far. Unfortunately, building tdo on a RaspberryPi doesn't seem to work as expected. I previously successfully installed node v6.9.2 and npm v3.10.9 . Seem to be the same warnings / errors as with node v5.x which I tried before.
The dist folder contains just the index.html and two jpg pictures within a sub folder assets. The created index.htmljust contains the compilation log as displayed below. Please see the text below for some details.
Here are some warnings from the long build log after entering npm install within the module folder:
g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.4.0"' -I/home/pi/.node-gyp/6.9.2/include/node -I/home/pi/.node-gyp/6.9.2/src -I/home/pi/.node-gyp/6.9.2/deps/uv/include -I/home/pi/.node-gyp/6.9.2/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/lexer.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/lexer.o ../src/libsass/src/lexer.cpp ../src/libsass/src/lexer.cpp: In function ‘bool Sass::Prelexer::is_nonascii(const char&)’:

../src/libsass/src/lexer.cpp:84:48: warning: comparison is always true due to limited range of data type [-Wtype-limits]
     (unsigned(chr) >= 128 && unsigned(chr) <= 15572911) ||
                                            ^
../src/libsass/src/lexer.cpp:85:24: warning: comparison is always false due to limited range of data type [-Wtype-limits]
     (unsigned(chr) >= 15630464 && unsigned(chr) <= 15712189) ||
                    ^
../src/libsass/src/lexer.cpp:85:53: warning: comparison is always true due to limited range of data type [-Wtype-limits]
     (unsigned(chr) >= 15630464 && unsigned(chr) <= 15712189) ||
                                                 ^
../src/libsass/src/lexer.cpp:86:24: warning: comparison is always false due to limited range of data type [-Wtype-limits]
     (unsigned(chr) >=<PHONE_NUMBER>)
                    ^

And the end message:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})

After running npm run build I get the followinf output:
><EMAIL_ADDRESS>build /home/pi/_tdo
> webpack --config config/webpack.prod.js

keywords if/then/else require v5 option
Hash: ffa6f535e5d019dc2432
Version: webpack 2.1.0-beta.28
Time: 2475ms
                Asset       Size  Chunks           Chunk Names
           index.html    3.01 kB  [emitted]
   assets/favicon.png  699 bytes  [emitted]
assets/screenshot.png      31 kB  [emitted]

ERROR in Entry module not found: Error: Can't resolve 'babel' in '/home/pi/_tdo'
BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
                 You need to specify 'babel-loader' instead of 'babel'.

ERROR in   Error: Child compilation failed:
  Module not found: Error: Can't resolve 'babel' in '/home/pi/_tdo'
  BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
                   You need to specify 'babel-loader' instead of 'babel'.:
  Error: Can't resolve 'babel' in '/home/pi/_tdo'
  BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
                   You need to specify 'babel-loader' instead of 'babel'.

  - compiler.js:76
    [_tdo]/[html-webpack-plugin]/lib/compiler.js:76:16

  - Compiler.js:282 Compiler.<anonymous>
    [_tdo]/[webpack]/lib/Compiler.js:282:10

  - Compiler.js:479
    [_tdo]/[webpack]/lib/Compiler.js:479:13

  - Tapable.js:102 next
    [_tdo]/[tapable]/lib/Tapable.js:102:11

  - CachePlugin.js:61 Compiler.<anonymous>
    [_tdo]/[webpack]/lib/CachePlugin.js:61:4

  - Tapable.js:106 Compiler.applyPluginsAsyncSeries
     [_tdo]/[tapable]/lib/Tapable.js:106:13

  - Compiler.js:476
     [_tdo]/[webpack]/lib/Compiler.js:476:10

  - Tapable.js:95 Compilation.applyPluginsAsyncSeries
    [_tdo]/[tapable]/lib/Tapable.js:95:46

  - Compilation.js:628
    [_tdo]/[webpack]/lib/Compilation.js:628:18

  - Tapable.js:95 Compilation.applyPluginsAsyncSeries
    [_tdo]/[tapable]/lib/Tapable.js:95:46

  - Compilation.js:619
    [_tdo]/[webpack]/lib/Compilation.js:619:10

  - Tapable.js:102 next
    [_tdo]/[tapable]/lib/Tapable.js:102:11

  - UglifyJsPlugin.js:144 Compilation.<anonymous>
    [_tdo]/[webpack]/lib/optimize/UglifyJsPlugin.js:144:4

  - Tapable.js:106 Compilation.applyPluginsAsyncSeries
    [_tdo]/[tapable]/lib/Tapable.js:106:13

  - Compilation.js:614
    [_tdo]/[webpack]/lib/Compilation.js:614:9

  - Tapable.js:95 Compilation.applyPluginsAsyncSeries
    [_tdo]/[tapable]/lib/Tapable.js:95:46

  - Compilation.js:610
    [_tdo]/[webpack]/lib/Compilation.js:610:8

  - Tapable.js:95 Compilation.applyPluginsAsyncSeries
    [_tdo]/[tapable]/lib/Tapable.js:95:46

   - Compilation.js:556 Compilation.seal
     [_tdo]/[webpack]/lib/Compilation.js:556:7

   - Compiler.js:473
     [_tdo]/[webpack]/lib/Compiler.js:473:16

   - Tapable.js:189
     [_tdo]/[tapable]/lib/Tapable.js:189:11

   - Compilation.js:453 Compilation.<anonymous>
     [_tdo]/[webpack]/lib/Compilation.js:453:10

   - Compilation.js:424
     [_tdo]/[webpack]/lib/Compilation.js:424:12

   - Compilation.js:336
     [_tdo]/[webpack]/lib/Compilation.js:336:10

   - async.js:356
     [_tdo]/[webpack]/[async]/dist/async.js:356:16

   - async.js:936 iteratorCallback
     [_tdo]/[webpack]/[async]/dist/async.js:936:13

   - async.js:840
     [_tdo]/[webpack]/[async]/dist/async.js:840:16

    - Compilation.js:202 errorAndCallback
     [_tdo]/[webpack]/lib/Compilation.js:202:5

   - Compilation.js:229 errorOrWarningAndCallback
     [_tdo]/[webpack]/lib/Compilation.js:229:13

   - Compilation.js:233
     [_tdo]/[webpack]/lib/Compilation.js:233:12

Child html-webpack-plugin for "index.html":
       [0] ./~/html-webpack-plugin/lib/loader.js!./app/index.html 1.29 kB {0} [built]

    ERROR in ./~/html-webpack-plugin/lib/loader.js!./app/index.html
    Module not found: Error: Can't resolve 'babel' in '/home/pi/_tdo'
    BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
                     You need to specify 'babel-loader' instead of 'babel'.
     @ ./~/html-webpack-plugin/lib/loader.js!./app/index.html 1:8-53

npm ERR! Linux 4.4.26-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build"
npm ERR! node v6.9.2
npm ERR! npm  v3.10.9
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>build: `webpack --config config/webpack.prod.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script 'webpack --config config/webpack.prod.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the tdo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     webpack --config config/webpack.prod.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs tdo
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls tdo
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/_tdo/npm-debug.log

And here the npm-debug.log as picture (text upload is somehow not possible on GitHub):

Any hints?

I made some changes required by the latest version of webpack. It should work now.

Great!!! It works nicely, now :-)
Just for your information, here's the output of the commandnpm run build (just two size limits and one performance recommendation). In case a feedback is helpful for optimization:
><EMAIL_ADDRESS>build /home/pi/_tdo
> webpack --config config/webpack.prod.js

keywords if/then/else require v5 option
[BABEL] Note: The code generator has deoptimised the styling of "/home/pi/_tdo/node_modules/lodash/lodash.js" as it exceeds the max of "500KB".

This can impact web performance.
Assets:
  app.js (290 kB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (250 kB). This can impact web performance.
Entrypoints:
  app (379 kB)
      app.js
      app.css

WARNING in webpack performance recommendations:
You can limit the size of your bundles by using System.import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
Child html-webpack-plugin for "index.html":
       [4] ./~/html-webpack-plugin/lib/loader.js!./app/index.html 1.29 kB {0} [built]
        + 4 hidden modules
Child extract-text-webpack-plugin:
       [1] ./~/css-loader!./~/sass-loader!./app/index.scss 93 kB {0} [built]
        + 1 hidden modules


Sertoli cell proliferation terms

Add new terms:
abnormal Sertoli cell proliferation (a child of abnormal testis development MP:0003830 and abnormal cell proliferation MP:0000350)
DEF: any anomaly in the ability of a Sertoli cell population to undergo expansion by cell division
decreased Sertoli cell proliferation (child of decreased cell proliferation MP:0000352)
DEF: reduction in the expansion rate of a Sertoli cell population by cell division
SYN: reduced Sertoli cell proliferation
Annotations from J:324178
increased Sertoli cell proliferation (child of increased cell proliferation MP:0000351)
DEF: increase in the expansion rate of a Sertoli cell population by cell division
SYN: elevated Sertoli cell proliferation
Annotations from J:187754, J:145178, J:65541, J:125349, J:71710

Added new terms:
abnormal Sertoli cell proliferation MP:0031405
decreased Sertoli cell proliferation MP:0031406
increased Sertoli cell proliferation MP:0031407


"-H key" to print config for just one top level key

Let's allow -H to take an optional argument that will be treated as a config path, so the command would limit printed config to just the children of that path

This seems at first glance to be a pretty good first issue. If that's the case, I'd like to take it on. And I figured I'd sent in the CLA when I make a PR. Can do it earlier if that's preferable.

Hi Steve, indeed. This is a rather isolated task that would not require and overall design changes. So go for it.

It's taken some time to get up to speed, and I've had some stuff going on. Wanted to update that I'm still working on this.

haven't done much OS, so please forgive me if these are things I should figure out for myself, but I'd love some input before I dive too far in.

Don't worry about this. Asking questions and communicting your ideas before sending PRs is a great thing and much appreciated.

I don't want to jump into modifying CommandMetadata without good reason

Back to -H, good catch. We do not currently allow to pass arguments to commands. I think here we have a good example of why we should allow it. So I'd be +1 on adding the new functionality to CommandMetadata. Probably can borrow the the naming from OptionMetadata.Builder.

Thought I reacted to your comment. Sorry for going dark! Had a little time to work on this and focused on getting the --help printout to work, which involves converting the CommandMetadata to OptionMetadata. It was a little tricky to convert the value and cardinality in a way that didn't feel overwrought, and I may have gone too far that way. Tried a couple of routes that all seemed clunky or just weren't working for me, like explicitly getting and setting value and cardinality (got difficult when we didn't have a value). Curious what you think of the following (will also push a branch if that's easier to take a look).
// CommandMetadata
    public OptionMetadata asOption() {
        ...
        CommandValueCardinality cardinality = getValueCardinality();
        String valueName = getValueName();

        Consumer<OptionMetadata.Builder> optionsConsumer = builder -> {
            switch (cardinality) {
                case REQUIRED:
                    builder.valueRequired(valueName);
                    break;
                case OPTIONAL:
                    builder.valueOptional(valueName);
                    break;
                case NONE:
                    break;
                default:
                    throw new IllegalStateException("Unknown command value cardinality: " + cardinality);
            }
        };

        return OptionMetadata.builder(getName())
                .shortName(getShortName())
                .description(getDescription())
                .setValueWithCardinality(optionsConsumer)
                .build();
    }

// OptionMetadata
        Builder{
           ...
           public Builder setValueWithCardinality(Consumer<Builder> optionsConsumer) {
                optionsConsumer.accept(this);
                return this;
           }
        }

There's something that's been puzzling me. In the weeds a bit but will try to sum things up.
By my understanding, we determine whether to call Command.run() with the following:
// JoptCliFactory
commandName(OptionSet optionSet) {
        Set<String> matches = new HashSet<>(3);
        getCommandManager().getAllCommands().forEach((name, mc) -> {
            if (!mc.isHidden() && !mc.isDefault() && optionSet.has(name) && !optionSet.hasArgument(name)) {
                matches.add(name);
            }
        });
    ...
}
...

I would think we would not want to negate optionSet.hasArgument(name) because by my reading, the current code is saying "There is no argument, so we do match and therefore execute Command.run(). As it stands, this works when calling -H some_arg (we do call HelpConfigCommand.run()), although I would think that if an arg is passed, optionSet.hasArgument(name) should be true.
Now that I've added .valueOptional() to the builder of HelpConfigCommand, optionSet.hasArgument(name) == true (which is what I would expect because there is an arg), and therefore we are not matching and not calling Command.run().
I feel I must be missing something and have spent a decent amount of time trying to figure it out. If this doesn't ring a bell, I'll keep at it, but I wanted to see if it sticks out to you that I'm misinterpreting something. Thanks!

I would think we would not want to negate optionSet.hasArgument(name) because by my reading, the current code is saying "There is no argument, so we do match and therefore execute Command.run().

I suspect the only reason for !optionSet.hasArgument(name) check is that currently we don't allow options with arguments for commands. Per this task we want to change that, so this check should go away.

It was a little tricky to convert the value and cardinality in a way that didn't feel overwrought, and I may have gone too far that way.

I think you are on the right path. A few suggestions:

You can reuse OptionValueCardinality instead of introducing CommandValueCardinality. I don't mind if command metatada would contain option-like attributes.
OptionMetadata.setValueWithCardinality is non needed (also it breaks OptionMetadata immutability). You can apply the cardinality call to the mutable OptionMetadata.Builder instance. E.g., rewrite createOptionsConsumer as OptionMetadata.Builder applyCardinality(OptionMetadata.Builder)

I'm not sure we break the immutability of OptionMetadata as setValueWithCardinality() was on the OptionMetadata.Builder. Maybe using set in a Builder method confused things. Regardless, we can refactor to put applyCardinality() on the OptionMetadata class if that's preferable. My original intent was to not have any confusion from including both valueRequired()/Optional() methods and an applyCardinality() method on the same Builder and keep the createConsumer() as a private method on CommandMetadata because its use is only really in converting the Command to an Option.
If we do want to keep it all in OptionMetadata.Builder, is this what you had in mind? Your reply implies we'd want to pass an instance of OptionMetadata.Builder as the param to applyCardinality, but I couldn't see how that would work on a Builder, as won't have any existing values to pull from during the building process. I instead passed both cardinality and valueName. This also requires a check to make sure we aren't setting a value with a NONE cardinality since it's exposed now. Maybe I'm missing something!
        public Builder applyCardinality(OptionValueCardinality valueCardinality, String valueName) {
            switch (valueCardinality) {
                case REQUIRED:
                    return this.valueRequired(valueName);
                case OPTIONAL:
                    return this.valueOptional(valueName);
                case NONE:
                    if (valueName != null) {
                        throw new IllegalArgumentException("Value name cannot be provided for an option with cardinality NONE");
                    }

                    return this;
                default:
                    throw new IllegalStateException("Unknown command value cardinality: " + valueCardinality);
            }
        }

I moved forward with the above option for the time being. Now to the meat of the issue, are we opting to replace the current -H functionality from https://github.com/bootique/bootique/issues/267 which prints direct matches to the arg passed in? Or do we want it to be able to take both config paths and the previous direct matches of module names?
And some extra info, we did previously allow Commands to take args, but there wasn't anything set up for Command cardinality, and the existing functionality of -h couldn't account for optional args. The changes I've made to this point now allow Commands the same functionality as Options in that regard.

I'm not sure we break the immutability of OptionMetadata as setValueWithCardinality() was on the OptionMetadata.Builder.

Sorry, my bad. You are right. So that's just a question of naming, not mutability.

I wanted to clarify... we are opting to replace the current -H functionality from https://github.com/bootique/bootique/issues/267 which prints direct matches to the arg passed in, correct?

To be completely honest, I overlooked the presence #267 (as I knew that we don't allow arguments for commands, so I could not imagine how that would work). Now that I see it, indeed, I'd rather we reimplement it as a command with an optional cardinality. So the current task still needed, and we can also (separately) improve how it handles filtering.

I think I have a functioning implementation of Commands that take optional args. I pushed a branch up and have a draft PR open with some comments.
https://github.com/bootique/bootique/pull/348
A couple questions:

Can you provide an example input/output of what you mean by "children of [the input] path"? I have barely scratched the surface actual feature we're trying to add since I went to the Command arg implementation, but I'd like to make sure I fully understand before diving in.
Is there a place I could add a call to ModuleMetadata.builder()....build() to register a simple module so I can do some debugging or would it take some more? I figured it would be simplest to do this in a test to step through things, but I was having trouble.

Do we want to handle the update to CommandMetadata separately from this issue?

Yes, you can open a PR with a description for just the CommandMetadata piece, so that we have a tracking number that we can put in RELEASE-NOTES

I don't see any tests specifically for OptionMetadata but do see some tests in Bootique_CliOptionsIT that check interpretation of CLI args with regard to Options. I'm guessing I should make some similar tests for the new Command functionality, but do we want any new testing for Command beyond that?

Let's start with tests in Bootique_CliOptionsIT

I noticed that our predicate currently filters on matching the config name, when I believe https://github.com/bootique/bootique/issues/267 intended for it to filter by module name.

No, this was done correctly. The filter should apply to configs. Still we can imporve it in two ways:

exclude modules from the output whose configuration got filtered out
work on hierarcical filtering (config paths like "a.b.c" should narrow down the configs by walkign the tree).

However, let's do it one step at a time. I suggest we focus on the Command-related part now. And we will review the filtering after that.

Have been out of town and pretty swamped when home. Trying to get to this this week.


Highlighters

Highlight some posts with filtered words. (e.g. Andstatus → all the notes with "Andstatus" will be highlighted)
See #161

You miss that from Dianara, don't you? =)

Yes, haha :P

Yes, we are really accustomed to contextual highlighting now. Highlighting search words looks natural and even as an expected behavior :-)


Token missing in graphcool.yml

The instructions specify using the 'main' token from the graphcool service. However, it's not specified in the service definition.

Fixed.


BME280 typo

The bme280 driver , bme-reset leaves some bytes on the stack.
I think this line should read :
$E0 >i2c $B6 >i2c
i.s.o.
$E0 >i2c $B6

You are correct, I can't explain how that snuck in. $E0-$B6 is the correct reset sequence.


Django 1.10 compatability

Issue
django-pgcrypto is no longer working under Django 1.10.

SubfieldBase was deprecated since 1.8 and it's removed in 1.10.

Traceback
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.5/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.5/site-packages/django/core/management/__init__.py", line 341, in execute
    django.setup()
  File "/usr/local/lib/python3.5/site-packages/django/__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/local/lib/python3.5/site-packages/django/apps/registry.py", line 108, in populate
    app_config.import_models(all_models)
  File "/usr/local/lib/python3.5/site-packages/django/apps/config.py", line 199, in import_models
    self.models_module = import_module(models_module_name)
  File "/usr/local/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 665, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/app/pyupio/users/models.py", line 10, in <module>
    import pgcrypto
  File "/src/django-pgcrypto/pgcrypto/__init__.py", line 18, in <module>
    from .fields import *
  File "/src/django-pgcrypto/pgcrypto/fields.py", line 96, in <module>
    class EncryptedTextField (six.with_metaclass(models.SubfieldBase, BaseEncryptedField)):
AttributeError: module 'django.db.models' has no attribute 'SubfieldBase'

Potentially helpful links

https://docs.djangoproject.com/en/1.10/releases/1.8/#subfieldbase
https://code.djangoproject.com/ticket/26425
https://github.com/omab/python-social-auth/pull/813

Give it a try now and let me know if everything looks good. If so, I'll push an update to PyPI.

Works 👍

Bump.  This also resolved my issue with Django 1.10.

Pushed 1.4.0 to PyPI.


Install script fails

Hi all, I tried to install ramalama and got an error
$ curl -fsSL https://raw.githubusercontent.com/containers/ramalama/s/install.sh | sudo sh
sh: 64: Syntax error: "(" unexpected (expecting "}")

OS: Ubuntu 23.10

Fix:
https://github.com/containers/ramalama/pull/337
Please use:
curl -fsSL https://raw.githubusercontent.com/containers/ramalama/s/install.sh | sudo bash
instead

Fixed.


Check overflow while casting floating point value to decimal128

Which issue does this PR close?

Closes #3020.
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

Thanks @tustvold


fix: update types field to make packages cjs default in esm

I updated all packages' types field of package.json to make package using cjs default following main field after trying using exports field and failing using it
I'm not sure but isn't this right? I'm so confused even after read this doc https://www.typescriptlang.org/docs/handbook/modules/reference.html
@ahejlsberg Could you help this case and updating doc to setup package.json like this case

I'd need to ask @lachlancollins and @DamianOsipiuk about this 🙏

@manudeli Did you experienced any error by using the current setup?
Tests are failing because svelte and solidjs packages do not have legacy builds, so they should be left as-is.

@manudeli Did you experienced any error by using the current setup?
Tests are failing because svelte and solidjs packages do not have legacy builds, so they should be left as-is.

This Pull Request was not created because there was an error. After looking at package.json, I was wondering if these packages should look at index.d.cts, not index.d.ts, which has the same main field (index.cjs) and types field, so I made this Pull Request. That's all.
Since the type field was changed to module in v4 and v5, I wanted to make sure this part was confirmed.

@manudeli this is an interesting thought, I hadn't really considered it - https://arethetypeswrong.github.io/ reports compatibility with all moduleResolution options, so if it's not causing issues I think it's best left as-is for now.


Card: Trading restricted Email 2

PR of https://sharing.clickup.com/20696747/t/h/30zdm63/D41MN472FHK9X9N

Cards of this PR:
https://sharing.clickup.com/20696747/t/h/31ay8k3/HBK0V9C58XPFIN8
https://sharing.clickup.com/20696747/t/h/31eyje5/28BW12GCMXOT6OQ
https://sharing.clickup.com/20696747/t/h/30zdm63/D41MN472FHK9X9N


ErrorException: require(/var/www/public/bootstrap/cache/routes-v7.php) failed for cached routes file: No such file or directory in very high demand scenario

Laravel Version
11.23.5
PHP Version
8.3
Database Driver & Version
MySQL 8.0.31
Description
update #53577
Steps To Reproduce

Deploy the application in a production environment.
Use route caching by running php artisan route:cache.
Trigger the deployment using a CI/CD pipeline (e.g., GitHub Actions, GitLab CI/CD).
Introduce a high-load scenario during or immediately after deployment (e.g., concurrent requests to the application or commands being executed). Here there are two possible scenarios:
a. if the deployment process is performed on the production directory, while the old cache has been replaced by the run command(route:cache) one of the requests detects the cached file has existed but when it wants to use require method to included in project cached the mentioned error;
b. The second one occurred when using the rsync command to sync CI\CD directory within production one, Like the last scenario, the cache file existence has been passed, but when it wants to use require method to include it in the project cached the mentioned error;

Hi there,
Thanks for reporting the problem you are encountering, but it looks like this is a question which may be better suited for a support channel. We only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repository you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.


fix: git publish local branch and commit

This PR...
Changes

Fixes

How to test it

Screenshots

Checklist

[ ] tested locally
[ ] added new dependencies
[ ] updated the docs
[ ] added a test

thanks!


TypeError: undefined is not an object (evaluating 'new _reactNative.ListView.DataSource')

Getting this error in 0.60 react native version.

Please help me if you have solution.

TypeError: Cannot read property 'DataSource' of undefined
This error is located at:
in SelectableSectionsListView (at NewContactPage.js:616)
in RCTView (at View.js:35)
in View (at NewContactPage.js:444)
in ContactPage (created by ConnectFunction)
in ConnectFunction (at SceneView.js:9)
in SceneView (at StackViewLayout.tsx:899)
in RCTView (at View.js:35)
in View (at createAnimatedComponent.js:151)
in AnimatedComponent (at StackViewCard.tsx:93)
in RCTView (at View.js:35)
in View (at createAnimatedComponent.js:151)
in AnimatedComponent (at screens.native.js:71)
in Screen (at StackViewCard.tsx:80)
in Card (at createPointerEventsContainer.tsx:95)
in Container (at StackViewLayout.tsx:971)
in RCTView (at View.js:35)
in View (at screens.native.js:101)
in ScreenContainer (at StackViewLayout.tsx:383)
in RCTView (at View.js:35)
in View (at createAnimatedComponent.js:151)
in AnimatedComponent (at StackViewLayout.tsx:379)
in PanGestureHandler (at StackViewLayout.tsx:372)
in StackViewLayout (at withOrientation.js:30)
in withOrientation (at StackView.tsx:103)
in RCTView (at View.js:35)
in View (at Transitioner.tsx:267)
in Transitioner (at StackView.tsx:40)
in StackView (at createNavigator.js:61)
in Navigator (at createKeyboardAwareNavigator.js:12)
in KeyboardAwareNavigator (at SceneView.js:9)
in SceneView (at SwitchView.js:12)
in SwitchView (at createNavigator.js:61)
in Navigator (at createAppContainer.js:429)
in NavigationContainer (at Route.js:279)
in RCTView (at View.js:35)
in View (at createAnimatedComponent.js:151)
in AnimatedComponent (at react-native-safe-area-view/index.js:163)
in SafeView (at withOrientation.js:54)
in withOrientation (at Route.js:278)
in Route (at App.js:98)
in Provider (at App.js:97)
in App (at renderApplication.js:40)
in RCTView (at View.js:35)
in View (at AppContainer.js:98)
in RCTView (at View.js:35)
in View (at AppContainer.js:115)
in AppContainer (at renderApplication.js:39)
new SelectableSectionsListView
SelectableSectionsListView.js:26:31

createClassProxy.js:98:23
instantiate
createClassProxy.js:96:6
new SelectableSectionsListView
createClassProxy.js:112:21

Listview is deprecated. This project is dead 😞

npm install react-native-alphabet-sectionlist --save
try it!

Install deprecated-react-native-listview with yarn add deprecated-react-native-listview.

Instead of:
import { ListView } from 'react-native';
use
import ListView from 'deprecated-react-native-listview';


Idea to make cropper work from within an iframe

Hi there.
We have a special use case (CMS) where we are initialising the cropper is from within an iframe's script, but rendering it into the window.parent (dynamically in a modal UI). We observed that the bindings to $(document) get out of sync. The iframe's #document becomes the cropper document binding resulting in $document.on(EVENT_MOUSE_MOVE, …);not being triggered or yielding false values.
We know this is an edge case, but thought we will share our solution to this problem:
var $document = $(window === window.parent ? document : window.parent.document);

/cc @helhum

Just include the cropper script in the top window.


Consider adding the Dependabot app to the project

Consider adding the Dependabot app to the project to manage dependency updates. Dependabot can create pull requests, rebase if necessary etc and will run through CI like any PR which will lessen the burden of keeping up to date with packages used in the project.
Check out the [official Dependabot(https://github.blog/2020-06-01-keep-all-your-packages-up-to-date-with-dependabot/) post about being integrated into GitHub.

Is it not? I do have some PRs merged from them.

Ahh that's my bad. For some reason I didn't think it was on the repo. I'll close this then.


--color-bg is not being applied when saving to a file

When using --color-bg the saved image doesn't not have the background filled
This is the output in the terminal.

This is the image saved. image-ascii-art.png

Original image: https://thesungod.xyz/V8mITZeX.jpeg
I'm using version v1.11.0, installed via apt.

That's actually working as intended. --color-bg was implemented in response to user feedback about ascii / braille art not being clear enough for some images in the terminal. I had not intended to include this feature in saved images, especially since the current implementation only uses escape codes on the terminal.
That said, I suppose it's weird not getting the image output you see in the terminal. I'll look at this more thoroughly soon. Currently busy with some other projects 😅


Update dotnetcore.md with the new samples URL

Proposed changes
The link to the samples repository took me to an old version of the samples that does not work anymore.

Deploy preview for docsdocker ready!
Built with commit f8bd0d005e1595427dfbc86f772025d29fadea07
https://deploy-preview-8965--docsdocker.netlify.com


Fix extended statistics monitoring helpers for Postgres 12

Our get_relation_stats_ext helper is specified as returning a row that
starts with two text fields, but these come from the pg_stats_ext view
and are actually name columns (the type for Postgres identifiers).
Postgres 13 introduced an implicit name-to-text cast, so in that version
and newer versions, our helper function works fine, but on Postgres 12
it fails with
ERROR:  return type mismatch in function declared to return record
DETAIL:  Final statement returns name instead of text at column 1.
CONTEXT:  SQL function "get_relation_stats_ext"
Update the function definition to use explicit casts for the first two
columns.

See also https://github.com/pganalyze/collector/pull/517


docs: add realguystuff's introduction

Your introduction must come at the end, the order is the first introduction to the last.

@realguystuff - please make the requested changes asap for merge.

@realguystuff - thanks for adding your introduction!


Gateways: some optimizations

Check sublist only when required.
Send the subs list in place instead of go routine (gateways have
different outbound/inbound connections so they don't suffer same
issue than routes)
Bump the default array size when collecting gateway connections
Signed-off-by: Ivan Kozlovic<EMAIL_ADDRESS>

Coverage decreased (-0.05%) to 91.442% when pulling ba748302c4c780450bd77bd5f6e9e352e4d1fe01 on gw_updates into 02d6d9f512d39b7c79389fbd34d23f34ea616fe2 on master.


"HIGH TRAFFIC" api error when using oai for local LLM (Following article: Use AutoGen for Local LLMs)

I am following the Use AutoGen for Local LLMs article (link) to setup a local GPTQ quantized LLM

LLM: TheBloke/Llama-2-7B-chat-GPTQ
Platform: AWS

How to reproduce error:
I was able to successfully run all commands in the attached article up to and including the following with the attached outputs respectively:

python -m fastchat.serve.controller

2023-10-18 10:39:52 | INFO | controller | args: Namespace(host='localhost', port=21001, dispatch_method='shortest_queue', ssl=False)
2023-10-18 10:39:52 | ERROR | stderr | INFO:     Started server process [20248]
2023-10-18 10:39:52 | ERROR | stderr | INFO:     Waiting for application startup.
2023-10-18 10:39:52 | ERROR | stderr | INFO:     Application startup complete.
2023-10-18 10:39:52 | ERROR | stderr | INFO:     Uvicorn running on http://localhost:21001 (Press CTRL+C to quit)
2023-10-18 10:42:22 | INFO | controller | Register a new worker: http://localhost:21002
2023-10-18 10:42:22 | INFO | controller | Register done: http://localhost:21002, {'model_names': ['Llama-2-7B-chat-GPTQ'], 'speed': 1, 'queue_length': 0}
2023-10-18 10:42:22 | INFO | stdout | INFO:     <IP_ADDRESS>:55580 - "POST /register_worker HTTP/1.1" 200 OK
2023-10-18 10:48:09 | INFO | controller | Register a new worker: http://localhost:21002
2023-10-18 10:48:09 | INFO | controller | Register done: http://localhost:21002, {'model_names': ['Llama-2-7B-chat-GPTQ'], 'speed': 1, 'queue_length': 0}
2023-10-18 10:48:09 | INFO | stdout | INFO:     <IP_ADDRESS>:54604 - "POST /register_worker HTTP/1.1" 200 OK
2023-10-18 10:48:53 | INFO | stdout | INFO:     <IP_ADDRESS>:47832 - "POST /list_models HTTP/1.1" 200 OK
2023-10-18 10:48:53 | INFO | controller | names: ['http://localhost:21002'], queue_lens: [0.0], ret: http://localhost:21002
2023-10-18 10:48:53 | INFO | stdout | INFO:     <IP_ADDRESS>:47842 - "POST /get_worker_address HTTP/1.1" 200 OK
2023-10-18 10:48:54 | INFO | controller | Receive heart beat. http://localhost:21002
2023-10-18 10:48:54 | INFO | stdout | INFO:     <IP_ADDRESS>:47850 - "POST /receive_heart_beat HTTP/1.1" 200 OK
2023-10-18 10:49:07 | INFO | stdout | INFO:     <IP_ADDRESS>:44476 - "POST /list_models HTTP/1.1" 200 OK
2023-10-18 10:49:07 | INFO | controller | names: ['http://localhost:21002'], queue_lens: [0.0], ret: http://localhost:21002

python -m fastchat.serve.model_worker --model-path "../huggingface_models/Llama-2-7B-chat-GPTQ"

2023-10-18 10:48:05 | INFO | model_worker | args: Namespace(host='localhost', port=21002, worker_address='http://localhost:21002', controller_address='http://localhost:21001', model_path='../huggingface_models/Llama-2-7B-chat-GPTQ', revision='main', device='cuda', gpus=None, num_gpus=1, max_gpu_memory=None, dtype=None, load_8bit=False, cpu_offloading=False, gptq_ckpt=None, gptq_wbits=16, gptq_groupsize=-1, gptq_act_order=False, awq_ckpt=None, awq_wbits=16, awq_groupsize=-1, enable_exllama=False, exllama_max_seq_len=4096, exllama_gpu_split=None, model_names=None, conv_template=None, embed_in_truncate=False, limit_worker_concurrency=5, stream_interval=2, no_register=False, seed=None)
2023-10-18 10:48:05 | INFO | model_worker | Loading the model ['Llama-2-7B-chat-GPTQ'] on worker 0198b7ca ...
Using pad_token, but it is not set yet.
2023-10-18 10:48:09 | INFO | model_worker | Register to controller
2023-10-18 10:48:09 | ERROR | stderr | INFO:     Started server process [26690]
2023-10-18 10:48:09 | ERROR | stderr | INFO:     Waiting for application startup.
2023-10-18 10:48:09 | ERROR | stderr | INFO:     Application startup complete.
2023-10-18 10:48:09 | ERROR | stderr | INFO:     Uvicorn running on http://localhost:21002 (Press CTRL+C to quit)
2023-10-18 10:48:53 | INFO | stdout | INFO:     <IP_ADDRESS>:41708 - "POST /worker_get_conv_template HTTP/1.1" 200 OK
2023-10-18 10:48:53 | INFO | stdout | INFO:     <IP_ADDRESS>:41714 - "POST /model_details HTTP/1.1" 200 OK
2023-10-18 10:48:53 | INFO | stdout | INFO:     <IP_ADDRESS>:41730 - "POST /count_token HTTP/1.1" 200 OK
2023-10-18 10:48:53 | INFO | stdout | INFO:     <IP_ADDRESS>:41736 - "POST /worker_generate HTTP/1.1" 200 OK
2023-10-18 10:48:54 | INFO | model_worker | Send heart beat. Models: ['Llama-2-7B-chat-GPTQ']. Semaphore: Semaphore(value=5, locked=False). call_ct: 1. worker_id: 0198b7ca.
2023-10-18 10:49:07 | INFO | stdout | INFO:     <IP_ADDRESS>:41966 - "POST /model_details HTTP/1.1" 200 OK
2023-10-18 10:49:07 | INFO | stdout | INFO:     <IP_ADDRESS>:41974 - "POST /count_token HTTP/1.1" 200 OK
2023-10-18 10:49:07 | INFO | stdout | INFO:     <IP_ADDRESS>:41978 - "POST /worker_generate HTTP/1.1" 200 OK
2023-10-18 10:49:17 | INFO | stdout | INFO:     <IP_ADDRESS>:33306 - "POST /model_details HTTP/1.1" 200 OK
2023-10-18 10:49:17 | INFO | stdout | INFO:     <IP_ADDRESS>:33312 - "POST /count_token HTTP/1.1" 200 OK
2023-10-18 10:49:17 | INFO | stdout | INFO:     <IP_ADDRESS>:33318 - "POST /worker_generate HTTP/1.1" 200 OK

python -m fastchat.serve.openai_api_server --host localhost --port 8000

(/home/ec2-user/SageMaker/conda-envs/textgen) [ec2-user@ip-172-16-80-202 FastChat]$ python3 -m fastchat.serve.openai_api_server --host localhost --port 8000
INFO:     Started server process [27301]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://localhost:8000 (Press CTRL+C to quit)

Upon running the following python script (from the article):
from autogen import oai

# create a chat completion request
response = oai.ChatCompletion.create(
    config_list=[
        {
            "model": "Llama-2-7B-chat-GPTQ",
            "api_base": "http://localhost:8000/v1",
            "api_type": "open_ai",
            "api_key": "NULL",
        }
    ],
    messages=[{"role": "user", "content": "Hi"}]
    #prompt="Hi"
)
print(response)

I get the error below:
[autogen.oai.completion: 10-18 10:52:03] {234} INFO - retrying in 10 seconds...
Traceback (most recent call last):
  File "/home/ec2-user/SageMaker/conda-envs/textgen/lib/python3.10/site-packages/openai/api_requestor.py", line 413, in handle_error_response
    error_data = resp["error"]
KeyError: 'error'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ec2-user/SageMaker/conda-envs/textgen/lib/python3.10/site-packages/autogen/oai/completion.py", line 220, in _get_response
    response = openai_completion.create(request_timeout=request_timeout, **config)
  File "/home/ec2-user/SageMaker/conda-envs/textgen/lib/python3.10/site-packages/openai/api_resources/chat_completion.py", line 25, in create
    return super().create(*args, **kwargs)
  File "/home/ec2-user/SageMaker/conda-envs/textgen/lib/python3.10/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 155, in create
    response, _, api_key = requestor.request(
  File "/home/ec2-user/SageMaker/conda-envs/textgen/lib/python3.10/site-packages/openai/api_requestor.py", line 299, in request
    resp, got_stream = self._interpret_response(result, stream)
  File "/home/ec2-user/SageMaker/conda-envs/textgen/lib/python3.10/site-packages/openai/api_requestor.py", line 710, in _interpret_response
    self._interpret_response_line(
  File "/home/ec2-user/SageMaker/conda-envs/textgen/lib/python3.10/site-packages/openai/api_requestor.py", line 775, in _interpret_response_line
    raise self.handle_error_response(
  File "/home/ec2-user/SageMaker/conda-envs/textgen/lib/python3.10/site-packages/openai/api_requestor.py", line 415, in handle_error_response
    raise error.APIError(
openai.error.APIError: Invalid response object from API: '{"object":"error","message":"**NETWORK ERROR DUE TO HIGH TRAFFIC. PLEASE REGENERATE OR REFRESH THIS PAGE.**\\n\\n(Unrecognized tensor type ID: AutocastCUDA)","code":50001}' (HTTP response code was 400)

I got a same problem , you fix it?

How can I solve this? I run the model locally #296

Hi @vaibhav-kuchibhotla @ScottXiao233 @singhaki
LiteLLM now allows you to queue requests. It's built to solve the problem in this issue (would love your feedback if not)
Here's a quick start on using it: Compatible with GPT-4, llama, fastchat (mentioned in this thread)
docs: https://docs.litellm.ai/docs/routing#queuing-beta
Quick Start

Add Redis credentials in a .env file

REDIS_HOST="my-redis-endpoint"
REDIS_PORT="my-redis-port"
REDIS_PASSWORD="my-redis-password" # [OPTIONAL] if self-hosted
REDIS_USERNAME="default" # [OPTIONAL] if self-hosted

Start litellm server with your model config

$ litellm --config /path/to/config.yaml --use_queue

Here's an example config for gpt-3.5-turbo
config.yaml (This will load balance between OpenAI + Azure endpoints)
model_list:
  - model_name: gpt-3.5-turbo
    litellm_params:
      model: gpt-3.5-turbo
      api_key:
  - model_name: gpt-3.5-turbo
    litellm_params:
      model: azure/chatgpt-v-2 # actual model name
      api_key:
      api_version: 2023-07-01-preview
      api_base: https://openai-gpt-4-test-v-1.openai.azure.com/

Test (in another window) → sends 100 simultaneous requests to the queue

$ litellm --test_async --num_requests 100

Available Endpoints

/queue/request - Queues a /chat/completions request. Returns a job id.
/queue/response/{id} - Returns the status of a job. If completed, returns the response as well. Potential status's are: queued and finished.

We are closing this issue due to inactivity; please reopen if the problem persists.


Test identifier changes and test cleanup

Fixed identifiers and remove single thread test from hello world samples.

Codecov Report

Merging #9467 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9467   +/-   ##
=======================================
  Coverage   52.24%   52.24%
=======================================
  Files         212      212
  Lines       25921    25921
  Branches     5570     5570
=======================================
  Hits        13543    13543
  Misses      10118    10118
  Partials     2260     2260

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 f8d53e5...0b8e367. Read the comment docs.

merging due to build issue in master


VectorLayerService: adjust trigger for updateStyle

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.682%

Totals

Change from base Build<PHONE_NUMBER>8:
0.0%

Covered Lines:
13376

Relevant Lines:
13377

💛  - Coveralls


Feature request: Message formatting redux

Related to #4
In order to show who did the roll please format the message as following:
Player name:
Command output

BCDice (Game System Name):
Command Result

The purpose is twofold, show who did the roll, and distinguish between a command that would have the same name but different output depending on the selected system.

I believe this is in line with what was requested. Please close this issue if the formatting is fine or add additional details on how to update it.

Thank you!
Could the Player part and the BC dice part be split into two message cards?
Possibly with the player one being created as a chat message from that player, so that modules that alter chat card color based on the player can change it and make it distinguishable


09.Land_Ice_Applications/land_ice_applications.ipynb : ran with inlin…

…e graphics for publication, fixed some download commands to reduce the ATL03 volume

@SmithB Thanks so much for getting this rendered! I'm not merging your PR because I have been plunking everything into the binder branch in an effort to keep the master git history of the archive repo streamlined. Instead I downloaded the rendered version of the notebook from your fork and added it directly to the binder branch.


Correct a minor regression in Literal Numbers: remove duplicate exercise 'g' from LiteralNumbers (Floats section)

Hello, I've noticed that PR #169 seems to have introduced a minor error in Literal Numbers: previously, the values in the Float section looked like this:
val a = 3.0
val b = 3.00
val c = 2.73
val d = 3f
val e = 3.22d
val f = 93e-9
val g = 93E-9
val h = 0.0
val i = 9.23E-9D

This version used both 93e-9 and 93E-9, to demonstrate that both are acceptable ways of representing the exponent. Furthermore, i used 9.23E-9D, to show that uppercase double literals work. But after #169, it looks like this:
val a = 3.0
val b = 3.00
val c = 2.73
val d = 3f
val e = 3.22d
val f = 93e-9
val g = 93e-9
val h = 0.0
val i = 9.23e-9d

In this version, both f and g are the same: 93e-9, and i has been swapped to lowercase. Unless I'm mistaken, this was probably not what's intended here! However, I see what caused this- looks like @juanpedromoreno was tidying up the codebase with some scalafmt magic after upgrading the version, and scalafmt stopped liking the uppercase "E" and "D". So, I would propose to fix this by setting literals.scientific  and literals.double to Unchanged, allowing you to revert the Literal Numbers exercise to the prior format.
Alternatively, if you prefer to keep your .scalafmt.conf as-is, you could just remove the duplicate entry g in the Literal Numbers exercise and call it a day. If you prefer this, let me know, and I will revise my PR accordingly.

Ooops, I've just realized that we couldn't change the .scalafmt file from here because it's automatically maintained by a CI pipeline (Github action), so it's going to be restored. Probably, removing g might be better. Thanks!

Alright @juanpedromoreno, thanks for the heads up! I've rewritten this PR to remove g instead. 👍


[mgmt] scvmm release

https://github.com/Azure/sdk-release-request/issues/5268

/azp run js - scvmm - mgmt - ci


Add COLRv1

OpenType 1.9 is available for public review for a two-week “beta” period, ending November 26, 2021. It contains COLR version 1.
https://docs.microsoft.com/en-us/typography/opentype/otspec190/ot190beta
https://github.com/googlefonts/colr-gradients-spec/
Chrome has implemented the feature in Chrome 98 Dev.
https://www.chromestatus.com/feature/5638148514119680

I will do it.

https://docs.microsoft.com/en-us/typography/opentype/otspec190/ot190beta is 404 now
=> https://docs.microsoft.com/en-us/typography/opentype/spec/
https://developer.chrome.com/en/blog/colrv1-fonts/ is showing the greatness of COLRv1.
Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1740525
WebKit: https://bugs.webkit.org/show_bug.cgi?id=233496

Now available at https://caniuse.com/colr-v1


v0.5.17 not yet published

The package was bumped to version 0.5.17, but it is not yet published on the npmjs registry.
Version bump PR: https://github.com/react-native-checkbox/react-native-checkbox/pull/209
Our team is waiting to consume the new Windows DLL with valid publisher/version information to mitigate an issue some of our users are running into with AppLocker.
Relevant change: https://github.com/react-native-checkbox/react-native-checkbox/pull/208

Synced with owner offline, newest version is now published!


Add project routes for query data

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Queued GunGame Meter

Changed the gungame earn meter to queue up rewards, reducing the chances of rapidly gained rewards from being handled incorrectly.

I'm a bit dumb and forgot to make queues per player, I'll fix that later today, don't merge yet.

Alrighty fixed that, should be all good now.


Update README.md To Add Main() to the build.rs

I have not used rust before today so it took a bit of time to figure out I needed to wrap the build.rs code in fn main() {}
This proposal makes that more clear in the readme =) thank you!

ok!


[HOLD] move from OpenShiftTestAssistant to Arquillian Cube

I also reformatted the pom.xmls to use 2-space indentation (because that seems to be what the original pom.xml used). This clutters the diff somewhat; append ?w=1 to the URL to see the diff without whitespace changes.

Please hold this, because I found an issue. After the test, pods keep hanging in the "Terminating" state, which is super bad.

Rebased and added back the awaiting of the route to return 200.

Updated to Arquillian Cube 1.9.1.


How to use mustache lambdas

I would like to use lambdas with mustache and as I understand this should be possible (even if not in json files). Any suggestions where/if in custom php code I could use mustache lambdas?
I'm trying to bring the mustache templates in our application after front end development with as little changes as possible and this would solve most problems.
Thanks already for any hints.

@uris-olmero -
This isn't possible in this edition of Pattern Lab because of how we populate the data hash. PL2 has support for it though I feel I've over engineered it some.

Ok, I have looked a bit into patternlab source and I have added possible solution in #300


"Crețeni" , "Izvoru" , "Mrenești" , "Streminoasa" are listed in the drop-down menu

The villages are listed in the drop-down menu alongside its corresponding county and city, according to the law
Preconditions : the  website is up and runing. After every step delete the text you typed from the search bar.

Step 1
Write in the search bar "Crețeni"

Expected results
The location appears in the drop-down menu as "Sat Crețeni, VÂLCEA (Crețeni)"

Step 2
Write in the search bar "Izvoru"

Expected results
The location appears in the drop-down menu as "Sat Izvoru, VÂLCEA (Crețeni)"

Step 3
Write in the search bar "Mrenești"

Expected results
The location appears in the drop-down menu as "Sat Mrenești, VÂLCEA (Crețeni)"


Make Catch an alias for Catch2

Ideally vcpkg would handle aliases natively, but it doesn't yet.
Also possibly deprecation tags?

Thanks! I definitely think aliases are on the horizon as a major feature. I'll make sure to let you know when we have something to try!


feat: add command checks to install script

Some people don't use sudo or have curl, sed or wget installed by default.
This adds a check, if sudo, curl and sed are installed and changes wget
to curl as this is the mostly used command in the script. If sudo is not
installed it uses su.
Closes: #175

I should probably wait for the dependabot PRs to be merged.

Why does cargo test -p atuin-common --lib suddenly fail? It failed on my machine, too.
But now it works again. I just re-ran it.
Weird.

Could you share the logs from the failures please? Maybe some of the env var stuff is being non deterministic

   Finished test [unoptimized + debuginfo] target(s) in 0.07s
     Running unittests (target/debug/deps/atuin_common-284a7ca8554b08af)

running 4 tests
test utils::tests::test_config_dir ... ok
test utils::tests::test_config_dir_xdg ... ok
test utils::tests::test_data_dir_xdg ... ok
test utils::tests::test_data_dir ... FAILED

failures:

---- utils::tests::test_data_dir stdout ----
thread 'utils::tests::test_data_dir' panicked at '$HOME not found: NotPresent', atuin-common/src/utils.rs:37:38
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    utils::tests::test_data_dir

test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

error: test failed, to rerun pass '-p atuin-common --lib'

Yay. The test finished successfully.

Thanks


feat: Allow CloudWatch Log Encryption and Default Security Group Management

Description
This PR adds some optional variables.

cloudwatch_logs_kms_key_id, to encrypt the Cloudwatch Log Group created in the module
manage_default_security_group, to allow the submodule terraform-aws-modules/vpc/aws to manage the default security group

default_security_group_ingress and default_security_group_egress also included

Motivation and Context
This change gives a few options to make the module friendly to the Config rule set we have set up in our AWS environment, which requires Cloudwatch Log Groups to be encrypted and default Security Groups to be closed.
Breaking Changes
No breaking changes. All new variables are optional
How Has This Been Tested?
We are using this in our own AWS environment.

This PR is included in version 3.8.0 :tada:


operator* and operator*=

the current code is:
    //Multiplication
    Bigint operator*(Bigint const &);
    Bigint &operator*=(Bigint const &);
    Bigint operator*(long long const &);
    Bigint &operator*=(int const &);

why not be "Bigint &operator*=(long long const &);" ?

Should be safe to change to long long.

@kasparsklavins do you want pull requests with these types of changes or will you eventually add them yourself?

I'll do them ~in a week. An excuse to look into c++20 constraints & concepts.


[Question] release app on fdroid ?

Thanks for this excellent app, is there any possibility (in near future) that this app will be released on fdroid (https://gitlab.com/fdroid) (https://f-droid.org) ? Or maybe hosted on any diffrent fdroid repository like (https://apt.izzysoft.de/fdroid) or any new repository by grapheneos ? Also if it's already hosted somewhere else (fdroid) please let me know !

No it won't be.

The app is already released in our own app repository, which is not based on F-Droid.

Look at the second section of the release notes: https://github.com/GrapheneOS/Camera/releases.

Thanks for the information sir.


Add to package managers

[ ] Brew
[x] WinGet: winget install Cretezy.lazyjj
[x] Arch: pacman -S lazyjj (thanks @orhun!)
[ ] Nixpkgs (help wanted!)

I volunteer to package for nixpkgs. Sadly I think that will require moving away from rust-nightly, but I am trying to figure that out.

@maralorn see #41

Added to nixpkgs in August


Add information on type hints to Python chapter

I noticed that there is no information on type hints in the Python chapter. Would you have time to add this @egpbos?

Not right now. I also wouldn't know what in particular to add, because my experience with it is limited. However, I'm sure there are useful things to say about mypy, maybe pydantic, or other aspects. If somebody else wants to pick this up, feel free!

Yeah for type hints!
Especially the automated tools can be (more) helpful if you provide some hints.
If you don't want to go all-out with hints, it still makes sense to add them to the public API of your code, to help others re-use it.
Adding an intro to type hints with some background is here


how to auto select a record after finishing?

I would like to auto select the record after finishing. How can I do this?

Assign a ref, watch for list changes, and call this.$refs.audioRecorder.choiceRecord(index) when it does.
<template>
        <audio-recorder
            ref="audioRecorder"
            :time="5"
            :bit-rate="320"
            :sample-rate="48000"
            :show-download-button="false"
            :show-upload-button="false"
        />
</template>

<script>
export default {
    mounted() {
        this.$watch(
            () => this.$refs.audioRecorder.recordList,
            (recordList) => {
                this.disableSaveAction = recordList.length === 0;
                this.$refs.audioRecorder.choiceRecord(
                    recordList[recordList.length - 1]
                );
            }
        );
    }
};
</script>


JSON::JWK::Set#[] was overwritten in v1.15.1

There seems to be an unintentional incompatibility in v1.15.1.
I think you may not be aware of this incompatibility, so I'm filing this issue.
(It's not that I'm particularly troubled, as it can be avoided by simply changing it on the user side. For example, rewriting it to Array#first.)
Until v1.15.0, JSON::JWK::Set#[] was equivalent to Array#[].
Due to changes in v1.15.1, JSON::JWK::Set#[] has been newly implemented.
(ref. https://github.com/nov/json-jwt/commit/5de3549f1084d23393f8026df8950f89a90f6e69#diff-13fcf75872fbf16b257d0631773570b4089ddf6865340f6e399400ba9eca735a)
As a result, I think the behavior from v1.15.0 and earlier has been overwritten.

Sorry, I didn't expect people access jwks[0], jwks[1] etc.


Fix grammar in nodes documentation

Just a simple grammar fix

Signed CLA

@Arhell All set I believe

@axsuul Thank!
/assign @sftim

/close
In https://github.com/kubernetes/website/pull/22377#pullrequestreview-442972975 I explained that the original wording is idiomatic English.


rcssmin seems to be unmaintained

The last commit was on Nov 1, 2016.

Thanks @webyneter what is the alternative to it?

Looks like there is some activity on the repo, maybe it's not unmaintained after all... Let's see if a new release comes up soon.

Just had a new release: #3429


Use Try / Either monads to control exception flow

Use Try / Either monads to control exception flow, instead of throwing exceptions. Do not do side effects.

fixed with 9c7736f


Return string for time picker

On form submit, it would be great to be able to format the output directly on the picker.
IE instead of object holding hours, minutes, and seconds, it would be great to have the same formatting options you have on the date picker itself.
Describe the solution you'd like
In a perfect world I can use :format="'HH:mm:ss'" that then formats the output as a string and not as an object.
Describe alternatives you've considered
Taking in the object in backend but it is a bad solution because it has to be adapted for every case instead of just having it as an option on the picker itself.

And I just found "model-type" which does exactly that but is not a part of the documentation :) Closing this. Thank you!


Table extract to gcs and keep the kmsKeyName

Hello, I am using the extract function to export a table from Google BigQuery to a CSV file in Google Cloud Storage. For that, the lib requires me to create a File reference just as you can see In my example below. It works just fine, the extraction and the file creation are just like expected. However, the file reference we pass in contains a kms configuration that is not applied.
In other words, we make sure to setup the kmsKeyName before but when we retrieve the resulting file this is not applied anymore. Does anyone can give me a tip regarding this?
async exportExportTableToCloudStorage(
    companyTenantId: string,
    dataExportReportId: number,
    file: File,
  ) {
    await this.getClientInstance()
      .dataset(companyTenantId)
      .table(this.getTmpExportTableName(dataExportReportId))
      .extract(file, {
        destinationFormat: 'CSV',
      });
  }

hey @gustavosizilio thanks for the question. I checked here and KMS configuration is not support for Extract jobs, only Query/Copy/Load jobs. The kmsKeyName attribute on the File interface is used for Load jobs.
References:

BQ CLI extract doesn't have KMS option: https://cloud.google.com/bigquery/docs/reference/bq-cli-reference#bq_extract
Extract Job Configuration on the API: https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobconfigurationextract


Create a generic method for mapping the different endpoints

Summary & Motivation
This pull request will Map all of the application's endpoints by scanning all of the classes that implement the IEndpoints interface.
Checklist

[x] I have added a Label to the pull-request
[x] I have added tests, and done manual regression tests
[x] I have updated the documentation, if necessary

Love it :) I made a few suggestions to improvements.

@tjementum give it a look again


[LMS-469] Extract enrollments and students from GraphQL

Overall, the changes look great, and the GraphQL results appear to have the same section-associations as seen in REST API results. A few queries/suggestions:

QUERY: I noticed we use the canvasapi package for CanvasObject class in the api module. However, we created a new similar class in  graphql\canvas_object.py and then used it in graphql\canvas_helper.py. I think the one coming from the package is not much different from what we have in the graphql code. Am I missing something?
QUERY: Are we planning on adding unit tests for GraphQL like we have for the rest api code in a separate ticket? Or should we include it (or modify existing tests) as we go along these tickets?
SUGGESTION: More descriptive commit messages and smaller multiple commits with a limited scope would be helpful for code reviews/future work as the Tools team is still a bit new to the codebase.

QUERY: I noticed we use the canvasapi package for CanvasObject class in the api module. However, we created a new similar class in  graphql\canvas_object.py and then used it in graphql\canvas_helper.py. I think the one coming from the package is not much different from what we have in the graphql code. Am I missing something?

I think there is a transition in process away from the canvasapi package to our own code. I agree that we don't need to use canvasapi just for plain objects, if doing so makes it more difficult to map the GraphQL results into objects that we can use.

QUERY: Are we planning on adding unit tests for GraphQL like we have for the rest api code in a separate ticket? Or should we include it (or modify existing tests) as we go along these tickets?

I should have noticed that with the first ticket :-). For LMS-469, let's try to move forward without additional tests. But for the next stories, @sgonzalezgap please start adding unit tests.

SUGGESTION: More descriptive commit messages and smaller multiple commits with a limited scope would be helpful for code reviews/future work as the Tools team is still a bit new to the codebase.

Yes, I agree please 😁 .


Added ability to specify cpu_path separately from absolute input file path. This is helpful for scenarios in which you don't necessarily want the CPU path to contain the abs path, such as testing. [phab:D1448]

Created by craigbarber at 2017-03-24 01:06:16:

jrtom commented inline (context lost during migration) at 2017-03-24 14:32:45:
missing terminal "" (line continuation)

jrtom commented inline (context lost during migration) at 2017-03-24 14:32:45:
INPUT_SOURCE_FILE is no longer needed here?

craigbarber wrote at 2017-03-27 17:35:04:

incorporated CL feedback

jrtom accepted this revision at 2017-03-27 22:28:25


Add link to latest blog post to README

I recently wrote a new blog post that can be found here
Please add a link to this blog post in the README Blog post section

Fixed #136


Windows build broken due to HDF5 update on MSYS

A change in HDF5 imposes DEBUG/NDEBUG preprocessor definitions onto its consumers (like us, indirectly via NetCDF):
target_compile_definitions(${HDF5_LIB_TARGET}
    PUBLIC
        ${HDF_EXTRA_C_FLAGS}
        ${HDF_EXTRA_FLAGS}
        $<IF:$<CONFIG:Debug>,DEBUG,NDEBUG>
    PRIVATE
        $<$<BOOL:${HDF5_ENABLE_TRACE}>:"H5_DEBUG_API">  # Enable tracing of the API
        $<$<BOOL:${HDF5_ENABLE_DEBUG_APIS}>:"H5Z_DEBUG;H5T_DEBUG;H5ST_DEBUG;H5S_DEBUG;H5O_DEBUG;H5I_DEBUG;H5HL_DEBUG;H5F_DEBUG;H5D_DEBUG;H5B2_DEBUG;H5AC_DEBUG">
)

This is a big problem as the string DEBUG in any preprocessed source code would be replaced by an empty string. Having NDEBUG defined is normal as that's a convention, but DEBUG is a very general term. For WPS, it breaks the build because that identifier is used: https://github.com/WRF-CMake/wps/blob/19933577165fa9735cbd08fa7ccd0ef63135fdb3/geogrid/src/module_debug.F#L14
We're currently experiencing this problem as MSYS2 updated its HDF5 package, picking up the change. A temporary work-around is to undefine the DEBUG preprocessor definition via -UDEBUG.
This issue should stay open until the problem is reported and resolved in HDF5. We will have to keep the work-around for quite a while though (forever?) as we won't know which version people will be using. Looking at the release dates of HDF5, affected versions are >= 1.10.3.

This is now reported as bug HDFFV-10896 at https://jira.hdfgroup.org (not public and requires registration at https://www.hdfgroup.org/ unfortunately).
The workaround in https://github.com/WRF-CMake/wps/commit/d7530d0a3c3e19282e0d9363f5925f753a282513 did the trick and everything is compiling.


Typo:  _reslove_last_node

@ kivy/uix/behaviors/compoundselection.py
code is written
_reslove_last_node
instead of
_resolve_last_node

Hello i have created a pull request #4981 to fix this typo. Please have a look at it


statistics is still public

Describe the bug
According to the documentation, setting the property called google-analytics.authorization.admin.usage to true will hide the statistics for unauthorized users. However, statistics is still visible in the home page and returns the total views for each item even though each item is inaccessible by anonymous group.
backend: DSpace 7.4
frontend:  DSpace 7.4
To Reproduce
Steps to reproduce the behavior:

sudo nano /dspace/config/modules/google-analytics.cfg
set google-analytics.authorization.admin.usage to true
restart tomcat, solr apache2, and postgresql.
start the dev environment of frontend.
click statistics as anonymous group user

Expected behavior
Statistics button and route should not be accessible on the end of the anonymous users.

Bit of context to what we did:
We've populated our website with communities, collections, and items which are previously publicly accessible. Then after populating, my team decided to set the statistics section to only be visible by authorized users such as Administrator group by setting the google-analytics.authorization.admin.usage to true and setting the authorizations for communities,collections, and items to only be accessed by admin group.
However, site statistics is still accessible by the anonymous users and returns the "total views" for each items but does not return the titles of each particular item.

@sipelepis : The statistics visible in DSpace are not driven by Google Analytics, so the google-analytics.cfg settings do not impact the Statistics you see in DSpace...they only impact statistics visible in Google Analytics... and they aren't yet supported in DSpace 7, see this note: https://github.com/DSpace/DSpace/blob/main/dspace/config/modules/google-analytics.cfg#L8
The Statistics visible in DSpace's UI are the Solr Statistics feature: https://wiki.lyrasis.org/display/DSDOC7x/SOLR+Statistics  The correct configuration you want to use is in usage-statistics.cfg:
usage-statistics.authorization.admin.usage = true

I've tested locally and verified that this configuration works.  You were just using the wrong setting.  Closing this ticket as answered.


Where do I report issues with the tutorial?

I am following the spring-security-oauth tutorial and came across some issues like incorrect instructions, broken links. Is this the place to post them? If so would you like me to raise them as individual issues, or separate? Or are the docs in github somewhere so I can make a PR?

The docs are in github (so this is the right place to send a pull request): https://github.com/spring-projects/spring-security-oauth/blob/master/docs/tutorial.md


Improve validation for disconnected highways #5869

This addresses issue #5869.
(This code was originally by @gaoxm- Thanks Ming!)
Old behavior: mappers could create new highways that didn't attach to any existing highways. If the new highways were all connected to each other, no warning flag would present itself.
New behavior: mappers will receive a warning if they create any new highways that aren't ultimately connected to existing ones.
Validation catching two new connected primary (orange) highways that are otherwise disconnected from the rest of the highways:

Issue is no longer flagged when the two new highways are connected:

Seems that travis is unhappy with my submission- taking a look at what the issue is!

cc @wonga00 @chrisklaiber

Thanks for the work!
I'd really like this validation to work for all routing islands, not just new ways. We could have a single issue for each routing island, like "Roads aren't connected to the primary road network", and when you click it all the ways in that island are selected.

I'm also fine with merging this as-is and then we can update it as-needed.

I'd really like this validation to work for all routing islands, not just new ways. We could have a single issue for each routing island, like "Roads aren't connected to the primary road network", and when you click it all the ways in that island are selected.

Yes I was thinking this too..  But like you said, I'm also ok with merging it as-is and we can develop it more.


License Violation

Hi @MrLoLf ,
Thanks for porting my mod! But, I noticed that you removed my name from the LICENSE file. Even though you have changed the orginial files related to the mod, you must properly attribute the source of that code by complying with the original LICENSE file.
Regards,
@mymindstorm

I change the file back to the original but would a mention be enough for you, that the original mod is yours. Because I have changed a lot of the code and it is modified to fit the newer versions. So it's mostly a rewrite of your mod with the idea of your mod.
Best regards MrLoLf

Feel free to add your name to the license file. It is just not ok to remove the old one since this is a fork.

I hope you're fine with this version. I would close this issue now. Thanks for your issue opening.


the topbar is not displaying properly.

I found an issue while trying to use it, the topbar is not displaying properly.
`@Composable
fun RallyApp() {
RallyTheme {
val navController = rememberNavController()
val currentBackStackEntryAsState by navController.currentBackStackEntryAsState()
val destination = currentBackStackEntryAsState?.destination
    var currentScreen = rallyTabRowScreens.find {
        it.route == destination?.route
    }
    var isShowBackButton by rememberSaveable {
        mutableStateOf(false)
    }
    isShowBackButton = currentScreen == null
    Scaffold(
        topBar = {
            if (currentScreen != null) {
                RallyTabRow(
                    allScreens = rallyTabRowScreens,
                    onTabSelected = { screen ->
                        navController.navigateSingleTop(screen.route)
                    },
                    currentScreen = currentScreen
                )
            }
        }
    ) { innerPadding ->
        DestinationsNavHost(navGraph = NavGraphs.root , modifier = Modifier.padding(innerPadding))
    }
}

}`

I found an issue while trying to use it, the topbar is not displaying properly.
`@Composable fun RallyApp() { RallyTheme { val navController = rememberNavController() val currentBackStackEntryAsState by navController.currentBackStackEntryAsState() val destination = currentBackStackEntryAsState?.destination
    var currentScreen = rallyTabRowScreens.find {
        it.route == destination?.route
    }
    var isShowBackButton by rememberSaveable {
        mutableStateOf(false)
    }
    isShowBackButton = currentScreen == null
    Scaffold(
        topBar = {
            if (currentScreen != null) {
                RallyTabRow(
                    allScreens = rallyTabRowScreens,
                    onTabSelected = { screen ->
                        navController.navigateSingleTop(screen.route)
                    },
                    currentScreen = currentScreen
                )
            }
        }
    ) { innerPadding ->
        DestinationsNavHost(navGraph = NavGraphs.root , modifier = Modifier.padding(innerPadding))
    }
}

}`


App does not recognize client certificates

Description
I have some sort of 2 factor authentication for RocketChat. I am using client certificates in my Webserver which is configured as Reverse proxy to Rocketchat. This works in Chrome and Firefox but breaks the RocketChat app.
Devices and Versions
Android version: 3.0.0 (latest on f-droid)
Rocket.Chat Server version: 0.71.1 (docker image)
Android 5.0.1
Steps to reproduce
If using NGINX as reverse proxy add configuration:

Create self singed certificates
Change NGINX configuration
 ssl_client_certificate /etc/nginx/ssl/private_ca.cert;  ssl_verify_client on;
Install client certificate on mobile device
Try to access Rocketchat with Webbrowser, if this works try to access Rocketchat with the App.

Logs
The App reports:
400 Bd Request No required SSL certificate was sent nginx/1.14.0(Ubuntu)
This is a standard error page from NGINX and is directly displayed in the Rocketchat app.

@pombaer this is not a support forum.
If you have an error with Rocketchat then file a bug but first make sure it really is an error with Rocketchat itself. Read, ask questions in forums, and if they advise you then open an Issue.
Thank you.

@rocket-cat close
Closing as a support issue and notabug.


[Feature request] Don't throw at config time

I integrated this gem into my app today, works great on local.
In my test pipeline (Heroku CI currently), my build fails because the initializer is receiving nil for the secret key and instance id:
Pusher::PushNotifications.configure do |config|
  config.instance_id = ENV['PUSHER_INSTANCE_ID']
  config.secret_key = ENV['PUSHER_SECRET_KEY']
end

That code throws if nothing is passed in:
      def instance_id=(instance_id)
        if instance_id.nil? || instance_id.delete(' ').empty?
          raise PushError, 'Invalid instance id'
        end
        @instance_id = instance_id
      end

Most ruby libraries I've interacted with don't throw at config/initialize time, they throw at runtime.
In this case I explicitly do not want to enter a valid pusher configuration to the test runner. This is a relatively easy fix for me as I can put in garbage env variables to the test runner or rescue the exception in the initializer.
But it's also going to force me to ensure every environment I ever spin up has some sort of beams credentials or else the entire app will fail to build/launch. In plenty of environments I don't need beams at all, it would be great if that exception could either be suppressed or if it didn't raise at all imho.

Thank you for highlighting this. In the meantime you should be able to pass in a dummy instance_id:
Pusher::PushNotifications.configure do |config|
   config.secret_key = "foo"
   config.instance_id = "foo"
end
=> #<Module:0x00007f837c9cddd8>
Pusher::PushNotifications.publish_to_interests(interests: ['hello'], payload: data)
=> #<struct Pusher::PushNotifications::Client::Response
 status=400,
 content=
  {"error"=>"Bad request",
   "description"=>"The instance id given is invalid. It is expected to be in this format: '3162fe0d-5518-48bf-9ce1-961a7229a2ff'."},
 ok?=false>

But it's also going to force me to ensure every environment I ever spin up has some sort of beams credentials or else the entire app will fail to build/launch.

I mostly see this as a feature tbh, raising the exception as early as possible seems like a good idea. Since it's possible to insert fake credentials, I think it should be relatively easy to work around. I will close this as a wontfix, but please feel free to re-open this if you feel strongly about it (and if more people require this feature).


Roll Flutter Engine from 12def739b1f6 to 1714d73e681b (2 revisions)

https://github.com/flutter/engine/compare/12def739b1f6...1714d73e681b
2023-06-12<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from FreETK3TrhkNzCCL-... to J-zU9HGYXYU5UWJO9... (flutter/engine#42784)
2023-06-12<EMAIL_ADDRESS>[Impeller] allowing enabling Impeller on macOS. (flutter/engine#42639)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from FreETK3TrhkN to J-zU9HGYXYU5
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

landing manually to move things along...


Remove AliasError

After looking into the source code I found that AliasError can be
directly replaced with with the new type operation::Error since this error
type includes all necessary information necessary to handle an alias
query. Only when more fine grained information are necessary we should
include other error types.

@hugotiburtino I guess this PR is in a form that also you can review it.

@inyono I have merged this PR after the review of @hugotiburtino I can revert if it is necessary


Proguard issue

When setting minifyEnabled true the circle animation is broken and only a static circle is shown. What proguard exceptions should we add to prevent this?

Yes, that's true, got the same problem.

@gioana, found a solution:
-keep class it.sephiroth.android.library.xtooltip.TooltipOverlayDrawable { *; }
It helps me, I use AGP 3.4.0 with R8 (not in full mode).
@sephiroth74, pls, check it, and maybe there is an option to refactor code a little to avoid adding the special proguard rule.

@Gary111, thank you so much for the solution, it works for me too.


Linux embedded related: unable to get local issuer certificate

I've written a program which runs on an i.MX6 ARM system.
The system is built using Yocto system.
If I try to send an email, I'm getting the following output:
c: Trying to connect to smtp.office365.com on port 587
s: 220 VI1PR04CA0137.outlook.office365.com Microsoft ESMTP MAIL Service ready at Tue, 26 Apr 2022 22:14:55 +0000
c: Connected!
c: ehlo localhost\r\n
s: 250-VI1PR04CA0137.outlook.office365.com Hello [<IP_ADDRESS>]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 SMTPUTF8
c: Info: STARTTLS is available by the server, the communication will be encrypted.
c: STARTTLS\r\n
s: 220 2.0.0 SMTP server ready
c: <Start TLS negotiation>
c & s: <Negotiate a TLS session>
c & s: <Check result of negotiation>
s: unable to get local issuer certificate
Unable to verify the result of chain verification|-58

I'm using the OpportunisticSecureSMTPClient client.
Do you have an idea, what's missing on my Linux distribution?
The same program compiled for Ubuntu Linux or MacOS is working properly.
There are certificates missing, but which ones?
Any help is appreciated.
Markus

Hi Markus,
I had a similar issue with macOS Catalina as I needed to export Systems Roots certificates from the Keychain Access. This may not be exactly the same issue, but I think it's worth trying at least with the environment variables to tell OpenSSL where the CA certificates are located on the computer.
See the detail here : https://github.com/jeremydumais/CPP-SMTPClient-library/issues/9#issuecomment-1019626080
I will continue to investigate on my side.
Regards,
Jeremy

Hi Jeremy,
thanks for that hin. I'll give it a shot.
BTW: thanks for that awesome library :)
It's really easy to use and working out of the box on my other systems.
Kind regards,
Markus

Good hint!
Just added an environment variable and it worked.
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
Thanks Jeremy!
Kind regards,
Markus

Thanks for the kind words Markus and for the follow up. I will add the solution on the wiki for future cases.
Regards,
Jeremy


GDScript (int-float arithmetic?) behaves differently in release mode

Godot version: v3.1.stable.official and v3.1.1.stable.official
OS/device including version: Arch Linux 64bit, but shouldn't care (see issue description)
Issue description:
I should have narrowed down the problem enough... may not be the full story, but this is what's happening to me:
if a script has a variable (as a member, declared in its "global" space - i.e. not inside a function) of type int and I try to subtract a float value from it, the value doesn't get updated only when the project is exported in Release mode. I tested this on Linux and Android exports, so this shouldn't tied to my system. I also tried setting the script export mode to "Text" instead of "Compiled" without any luck.
This doesn't happen with a variable local to the function or with an int-int subtraction (i.e. if I subtract an int value from the script variable, it also works in Release mode)
Steps to reproduce:
I'll attach a minimal project where this happens, but without having you download and open it, this is the script I used:
extends Control

var own_value : int = 100

func console_print(text):
	print(text)
	$Label.text += text + "\n"

func myfunc(amount : float):
	self.own_value -= amount

func _on_Button_pressed():
	self.console_print("")

	var value : int = 100
	var amount : float = 5.0

	self.console_print("value=" + str(value))
	self.console_print("amount=" + str(amount))
	self.console_print("doing value -= amount")
	value -= amount
	self.console_print("value=" + str(value))

	self.console_print("own_value=" + str(own_value))
	self.console_print("doing own_value -= amount")
	self.own_value -= amount
	self.console_print("own_value=" + str(own_value))

	self.console_print("calling myfunc(amount : float)")
	self.myfunc(amount)
	self.console_print("own_value=" + str(own_value))

	var int_amount : int = 10
	self.console_print("int_amount=" + str(int_amount))
	self.console_print("calling myfunc(int_amount : int)")
	self.myfunc(int_amount)
	self.console_print("own_value=" + str(own_value))

	self.console_print("doing own_value -= int_amount")
	self.own_value -= int_amount
	self.console_print("own_value=" + str(own_value))

	self.console_print("setting own_value to 200")
	self.own_value = 200
	self.console_print("own_value=" + str(own_value))

The output in debug mode:
value=100
amount=5
doing value -= amount
value=95
own_value=100
doing own_value -= amount
own_value=95
calling myfunc(amount : float)
own_value=90
int_amount=10
calling myfunc(int_amount : int)
own_value=80
doing own_value -= int_amount
own_value=70
setting own_value to 200
own_value=200

And the output in release mode:
value=100
amount=5
doing value -= amount
value=95
own_value=100
doing own_value -= amount
own_value=100
calling myfunc(amount : float)
own_value=100
int_amount=10
calling myfunc(int_amount : int)
own_value=100
doing own_value -= int_amount
own_value=90
setting own_value to 200
own_value=200

You can clearly see it's behaving differently and wrongly in release mode, the value is not updated.
To reproduce with the project... run with F5 for Debug mode or add an export profile for whatever platform, ensure "Export with Debug" is off and run... I mean I don't think I should be telling you guys this, but just in case... :smile:
Minimal reproduction project:
GDScriptReleaseIssue.zip

Was able to reproduce for Win10 64-bit Editor/Release builds of 84401e8

I think I have the same issue with int/float in Release mode.
Posting this for further clarification.
Godot version:
v3.1.1.stable.official
OS/device:
macOS 64-bit 10.13 and 10.14
Issue description:
In a Release export the label displays "99" instead of the expected "100" (the constant values are not relevant).
extends Node2D

class V:
	var x : int = 99

var _v1 : V = V.new()

func _ready():
	_v1.x = 100

	find_node('Label').text = str(_v1.x)
	return

Any of the following work around the issue to display "100" in both Debug and Release exports:

change constant 100 to 100.0
change type of V.x to int
use a float for _v1 instead of a class type

Minimal reproduction project:
28663_repro.zip


MP3 patent expiry

According to Wikipedia, "MP3 decoding may be patent-free in the US by September 2015". Is there any consideration for adding mp3 support into the project when the time comes?

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Playing MP3s is already supported by web audio elements and javascript.
https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_HTML5_audio_and_video

@ijcheung when the time comes it will be considered :)


Saving and restoring undo stack at shutdown and startup

Change Description

This PR saves RocksDB backing store undo stack when shutdown and restores undo stack upon startup.
This is a draft PR calling for review and quick turn around of resolving any design/coding issues.
Change Type
Select ONE:

[ ] Documentation

[ ] Stability bug fix

[ ] Other

[ ] Other - special case

Testing Changes
Select ANY that apply:

[ ] New Tests

[ ] Existing Tests

[ ] Test Framework

[ ] CI System

[ ] Other

Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

Thanks for the help Lin.

Thanks for the help Lin.

Thank you Tim, Bucky, and Brian for all the help. My last commit made it serialization and deserialization work (I verified via logging). I will incorporate your other comments shortly.


Add unit tests, as well as a frame_block_offset function.

Coverage decreased (-0.1%) to 71.036% when pulling 5e63e754be2f1ec85bfcad5437761dc842eb66a5 on tdaede:block_offset_tests into db0da3c97efb269cb23571f2c1f68afdf1ad9813 on xiph:master.


Fix labels on runtime-reconciler

Description
There were no metrics beacause vmservicescrapes needs this labels
Related issue(s)

/kind bug


Third party SMTP service

Helpy only supports Sendgrid and a few other services. We recently switched to http://elasticemail.com
I tried to set it up as "Sendgrid" and changed the ports according to documentation on Elastiemail. it does not work. any advice?

Hi @hadifarnoud elasticemail looks pretty 🎉!  In order to get it working in Helpy, you will need to add an adapter gem.  Here is an example of the one for SendGrid https://github.com/thoughtbot/griddler-sendgrid
It looks like no one else has written an adapter for ElasticEmail so that might be the place to start!

Elasticemail is awesome and cheap! we recently switched. I was hoping a general SMTP setting work for Helpy. is that possible? that makes Helpy compatible with any transactional email service

seems like that griddler adapter is for parsing incoming emails. my request was setting normal SMTP for outgoing emails. there is no way to set a SMTP service other than the ones allowed in Helpy

Actually thats not true.  The dropdown is only for selecting the inbound parse provider.  You can enter any smtp you want- I have tested it with a handful of different ones and all worked.  Not sure what the problem is with ElasticEmail...  but it should work 🤞

I can confirm that third party SMTP works just fine. there was a networking issue on our side.


The file could not be uploaded in Windows 10

Codebase
Drupal 7 - Open Atrium and other mounted codebase
Host OS
Windows 10 Pro
Services

wodby/mariadb:10.1-2.3.3
wodby/drupal-php:5.6-2.4.3
wodby/drupal-nginx:7-1.13-2.4.2
phpmyadmin/phpmyadmin
mailhog/mailhog
portainer/portainer

Multiple projects hosted in Traefik
Followed instructions here: http://docker4drupal.readthedocs.io/en/latest/multiple-projects/
Image field
When trying to upload an image using Image field, this what happens:

In the console:

Media Browser
When trying to upload an image using Media Browser:

In the console:

But getting sources/image from web seems to download the file successfully. What's going on?
Linux file permission
When changing permissions in Linux, nothing happens

Windows: remove read-only
Removing Read-only from /sites/default/files as well as doc root doesn't do anything. Read-only is checked the next time you see directory properties:

I've spent several days already trying to remove this impediment in my local project. I really need your help.

When setting up new Drupal site using wodby/drupal, user and group www-data owns the files, but with wodby/drupal-php it is always root:root. Can anyone pls help me with this? Thanks

Hi,
Do you see this post ? I have a similar problem.
See this: https://github.com/wodby/docker4drupal/issues/167
And i solved my probleme here: https://github.com/wodby/docker4drupal/issues/29#issuecomment-316055081
Loïc

not sure i understand why the problem lies in the core file.inc file when Vanilla Drupal images wodby/drupal should be using the same Drupal core files as the Windows-problematic wodby/drupal-php images. if Linux users don't get this problem unlike Windows users then certainly the core Drupal file isn't the culprit, right?

Under Windows there are in general problems with write permissions. Because under Windows all files/directories inside the container belongs to root. And all chown/chmod have no effect, since the changes for this can not be set in Windows (Host for the volumes).
And because the php process in docker4drupal does not run as root, Drupal has no write permissions to the files directory. If the php run as root, files should be writeable (I use this with Drupal 7).

this works for me: https://github.com/wodby/docker4drupal/issues/29#issuecomment-358756715


🔐 Verify Peer for database ssl with :public.get_certs()

#222  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @RTLS and the rest of your teammates on  Graphite


anyuid-portieris SecurityContextConstraint shouldn't apply across entire cluster

What commit ID of Portieris did you experience the problem with?
Looks like this was introduced in 1724020e66f4d5771f36c07860eeb1a04e1bf428
What went wrong?
When the following SecurityContextConstraint is applied:
https://github.com/IBM/portieris/blob/main/helm/portieris/templates/securitycontextconstraint.yaml
It affects all pods whose service accounts are bound to the cluster-admin role, forcing them to use the portieris user. This causes problems for any containers that want to use a different user but don't have them defined. cluster-admin is a system-wide role.
What should have happened differently?
The security context constraint should apply only to portieris and not to everyone else using this role.
How can it be reproduced?

Install portieris
Create a service account and a corresponding role binding to cluster-admin
Create a deployment that uses this service account, and whose container uses a different id (say, 1000)
Deploy the service, check the user id it is running as. It will be<PHONE_NUMBER>

In our case, this user id did not exist in the container, and caused a permissions error, and the pod was in a CrashLoopBackoff state.
Any other relevant information

Please have a look:
https://github.com/IBM/portieris/pull/391

Closing on the belief it is fixed in the linked PR.


headless service couldn't select endpoints from other primary clusters after upgrading to 1.15

Bug Description
The setting is Primary-Primary and different networks:

cluster-dev-1, dev-network
cluster-qa-1,   qa-network
cluster-prod-1,   prod-network`
cluster-mgmt-1, mgmt-network

All the clusters are remote clusters of cluster-mgmt-1 so that cluster-mgmt-1 could talk to them.
The endpoints of non-mgmt clusters are imported to the cluster-mgmt-1 cluster with the following config:
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  namespace: istio-system
  name: mgmt-1-control-plane
spec:
  values:
    global:
      meshNetworks:
        dev-network:
          endpoints:
            - fromRegistry: cluster-dev-1
        qa-network:
          endpoints:
            - fromRegistry: cluster-qa-1
        prod-network:
          endpoints:
            - fromRegistry: cluster-prod-1

Running nslookup -type=A echo-headless.echo.svc.cluster.local on the cluster-mgmt-1 used to show up all the echo pods running across all the clusters.
After upgrading to 1.15,  nslookup -type=A echo-headless.echo.svc.cluster.local on the cluster-mgmt-1 only shows the echo pods running on the cluster-mgmt-1.
After changing the network of  cluter-mgmt-1 from mgmt-network to prod-network, the prod pods show up.
It shouldn't be related to the topology.istio.io/controlPlaneClusters annotation  because it's not primary-remote mode.
Version
$ istioctl version
client version: 1.16.0
control plane version: 1.14.6
data plane version: 1.14.6 (545 proxies)

$ kubectl version --short
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.25.4
Kustomize Version: v4.5.7
Server Version: v1.23.16-eks-48e63af

$ helm version --short
v3.10.2+g50f003e

### Additional Information

N/A

I think this is intended? https://github.com/istio/istio/issues/36733#issuecomment-1007024115

It worked for me on 1.14.3 with https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#Network-NetworkEndpoints

Running nslookup -type=A echo-headless.echo.svc.cluster.local on the cluster-mgmt-1 used to show up all the echo pods running across all the clusters.
After upgrading to 1.15, nslookup -type=A echo-headless.echo.svc.cluster.local on the cluster-mgmt-1 only shows the echo pods running on the cluster-mgmt-1.

Since you are running clusters in different networks, i think only shows the echo pods running on the cluster-mgmt-1. is more reasonable, if it shows all, endpoints in other clusters/networks can not be accessible

BTW, how do you access in 1.14.3?

BTW, how do you access in 1.14.3?

It works fine on 1.14.
We have a networking setup so that mgmt can initiate connections to all the other networks, but not the other way around.
I thought it's supported if we have set it up with https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#Network-NetworkEndpoints

I do not compare 1.14 with master, there must be some change in name table building


Use UnaryUnaryMultiCallable (and others) instead of function definition in Stubs

Hey! Kudos for releasing V2! It's such a great improvement!
I'm especially fond of the new grpc stubs! they're quite nice.
One thing of note, however is that you are currently using a function definition in service stubs.
However, the  actual implementation is a MultiCallable. Using that would allow for passing in additional arguments (like timeout), and also access to it's non-calling members (future and with_call)
See here:

# Currenty:
def Generate(self,
    request: global___GenerateRequest,
) -> global___GenerateResponse: ...

# Should Be:
    Generate : grpc.UnaryUnaryMultiCallable[
        global___GenerateRequest,
        global___GenerateResponse] = ...

However, this assumes the use of the grpc-stubs typings (in order for the generics to work). That said, I think it's already a dependency of this module.
Is there a reason for this decision?

I've suggested the changes in #210

CC @Evgenus - who mainly contributed the grpc stubs here. Thoughts on #210 ?


Add toppin loader

For people that wants to play with mods

To my knowledge that project is closed-source, so I cannot implement it. If it becomes open-source or I if am given the source code somehow - it will be considered for the next release. Until then, you got plenty of built-in mods in the port's mod menu.


No module named cpufreq

hey, I noticed when I tried to change/check the cpu/kpu frequency that the cpufreq module doesn't seems to be working, I installed the maixpy_v0.3.2_full version, I don't think I have made anything wrong. Hope this problem will be fixed soon !
import cpufreq Traceback (most recent call last):   File "<stdin>", line 1, in <module> ImportError: no module named 'cpufreq'

upgrage firmware  http://dl.sipeed.com/MAIX/MaixPy/release/master/

even with the latest  v0.4.0-101-g553fdfd it doesn't work !

or with v0.5.0

https://maixpy.sipeed.com/zh/libs/Maix/freq.html

thanks a lot !

when tring to change kpu frequency (set function is working fine with cpu frequency):

nevermind, I found where the problem was !
Thank you again !