Add an extra comma so as to not have an invalid.illegal scope

Although the JSON (with comments) is valid, basically because ST3 parses it and doesn't complain, the sublime syntax definition for JSON incorrectly scopes the whitespace just before // "settings" as invalid.illegal. Adding a comma works around this issue.

I have an opposite problem - the json server complains about all the trailing commas in the file as invalid (and I personally don't care for them either)
The settings open as "Sublime Text Settings (JSON)" and I don't see any highlighting  - do we have different syntaxes applied?

I guess you're using the syntax file from PackageDev. I use the default syntax Packages/Javascript/JSON.sublime-syntax. I've made an issue about it: https://github.com/sublimehq/Packages/issues/2193, it should be auto-fixed in the future.

You are correct, it's the one from PackageDev.
Getting the syntax fixed is a great move.
The LSP-json plugin sets that syntax up as a "jsonc" language which helps with the comments but not with the trailing commas.
But I think the utility of a json language server is limited for the sublime settings file, so the trailing comma errors are more something for @predragnikolic to consider.

This'll be auto-fixed once a new release of ST drops.


Add Network as a filter for TV Shows

As mentioned on the discord:
https://forums.plex.tv/t/plex-media-server/30447/412
Can we get Networks as a filter flag for PMM?

this will be added once the feature is out of the Beta Branch of PMS which shouldn't be long

this has been added to develop


Enable timeout as a valid queue option

What is the current behavior?
timeout is not an overridable in the crawler.queue() options
If the current behavior is a bug, please provide the steps to reproduce
const HCCrawler = require('headless-chrome-crawler');

HCCrawler.launch({
  evaluatePage: (() => ({
    title: $('title').text(),
  })),
  onSuccess: (result => {
    console.log(result);
  }),
})
  .then(crawler => {
    crawler.queue({ url: 'https://example.com/', timeout: 5});
    crawler.onIdle()
      .then(() => crawler.close());
  });

What is the expected behavior?
timeout should be a valid queue option
What is the motivation / use case for changing the behavior?
I'd like to be able to set a per-request timeout like it's possible with puppeteer goto function.
Please tell us about your environment:

Version: 1.4.0
Platform / OS version: macOS 10.13.3
Node.js version: v9.7.1

timeout is a LAUNCH_OPTIONS key, and check for available queue keys is based on a concat of CONNECT_OPTIONS, LAUNCH_OPTIONS and CONSTRUCTOR_OPTIONS.
may be adding a request_timeout key would be more distinctive?

@bobmaerten
Thanks for tracking the code and suggesting a feature!
It turned out to be a bug. Actually, timeout option must be passed per-request as described in README as follows:

The following options are passed to Puppeteer's page.goto()'s options'.
timeout, waitUntil

However, it wasn't working simply because the option name is the same as the constructor option.
It was my fault, and I'll make a fix very quick!

Nice! But take all the necessary time to find a good name for this option :)

@bobmaerten
Thanks for your kind advise!
I was about to follow your suggestion, renaming timeout to requestTimeout, but I realized that timeout does not consider only HTTP requests but also javascript events like DOMContentLoaded and load especially when you specify waitUntil option.
So probably timeout is the most general and proper name. I appreciate your suggest, though!


[tlul] Waive lint warning

The expansion is done for cases where SramDw != TL_DW, and is expected
to result in "nothing" if the two parameters match.
E   ZERO_REP:   tlul_adapter_sram.sv:259   Replication count is zero in '{SramDw - top_pkg::TL_DW{1'b0}}', instance 'otbn.u_tlul_adapter_sram_imem' of module 'tlul_adapter_sram' (SramDw=32)                 New

@msfschaffner can you run AscentLint on OTBN to see if that silences the warning or if a bit more/different escaping is needed on the regex?

@msfschaffner can you run AscentLint on OTBN to see if that silences the warning or if a bit more/different escaping is needed on the regex?

The remaining AscentLint errors in this file don't seem to make sense, tracking in https://github.com/lowRISC/opentitan/issues/4913

The remaining AscentLint errors in this file don't seem to make sense, tracking in https://github.com/lowRISC/opentitan/issues/4913


jsonApiModelBuilder won't add a relationship to modelbuilder

final JsonApiModelBuilder jsonApiModel = jsonApiModel()
               .model(modelObject)
               .link(linkTo(methodOn(SomeController.class).findOne(id)).withSelfRel());
      if (condition) {
         List<ModelObject> values =repository(ids)
                                                      .stream()
                                                      .map(ModelObject::new).collect(Collectors.toList());
         jsonApiModel.relationship("key", values);
      }
      EntityModel entityModel = EntityModel.of(jsonApiModel.build());
      return new ResponseEntity<>(entityModel, HttpStatus.OK);

i get the object but without the relationship. There are no relationship in responseEntity body but the values have some values.
I use:
implementation 'com.toedter:spring-hateoas-jsonapi:1.6.0'
implementation 'org.springframework.boot:spring-boot-starter-hateoas:2.7.8'

i changed the response type to ResponseEntity<RepresentationModel<?>> but i have the same issue

Could you paste the whole method or provide a link to your code? Then I can take a look.

@GetMapping("/path/{id}")
   public ResponseEntity<RepresentationModel<?>> findOne(@PathVariable String id,
                                                            @RequestParam(name = "condition", required = false) boolean condition)
   {
      Object object = repository.findById(id);
      if (object== null) {
         throw new ResourceNotFoundException("Could not resolve object for : " + id);
      }

     final JsonApiModelBuilder jsonApiModel = jsonApiModel()
               .model(modelObject)
               .link(linkTo(methodOn(ThisController.class).findOne(id)).withSelfRel());
      if (condition) {
         List<ModelObject> values =repository(ids)
                                                      .stream()
                                                      .map(ModelObject::new).collect(Collectors.toList());
         jsonApiModel.relationship("key", values);
      }
     final RepresentationModel<?> yourModel = jsonApiModel.build();
     return ResponseEntity.ok(yourModel);

Hm, as long as your AnotherObjects have something that could be mapped to a JSON:API resource if (e.g. a field named id), it should work. Could you please paste the Class AnotherObject.

@Getter
@Setter
@NoArgsConstructor
public class AnotherObject extends RepresentationModel
{
@JsonApiId
private String id;
@JsonApiType
private final String type = "anotherObject";
// other attributes and constructor

You could delete the @JsonApiId annotation here (you only need it for fields that have another name than id).
But if all objects have a valid id set, it should work. Just for testing, try
@JsonApiId
private String id = "1";

i have it now the responseEntity. Don't ask me how, but it works.
i use:
implementation 'org.springframework.data:spring-data-rest-webmvc:3.7.6'
    implementation 'org.springdoc:springdoc-openapi-hateoas:1.6.14'
    implementation 'org.springdoc:springdoc-openapi-ui:1.6.14'

When i use RepresentationModel<?> i don't have a wrong representation in swagger. But i use a EntityModel i have a correct representation.

Yes, this is a drawback when you want to use the Swagger API. I use Spring REST Docs and ePages (https://github.com/ePages-de/restdocs-api-spec) for generating OpenAPI 3 yml files with JSON:API exanmples/schemas.

Hi @toedter
I am using spring boot 3.1.1 and also
implementation 'org.springdoc:springdoc-openapi-ui:2.0.5'
I wrapped the request model with EntityModel and consume "application/vnd.api+json" in rest endpoint.
But on the swagger page, I cannot see the correct representation.


add kubeVersion field

This chart requires at least Kubernetes 1.19.0 (which maps to OpenShift 4.6
Signed-off-by: Jeff Mesnil<EMAIL_ADDRESS>

@yersan could you please review?
The field is described at https://helm.sh/docs/topics/charts/#the-chartyaml-file and the changes was triggered by David's comment at https://github.com/openshift-helm-charts/charts/pull/367#issuecomment-974282261

FIY: https://access.redhat.com/solutions/4870701

Nice link, I usually check the release notes searching for "kubernetes"


Win 64 issues

If trying to copy a section to an earlier point in the chart, Trombone Charter crashes on every attempt.
E.g. If I try to copy a section starting at beat 14 backwards to beat 13, it crashes.
Pressing the "copy section lyrics" button crashes Trombone Charter if there are no lyrics.
(Otherwise this is an amazing piece of software, thank you for creating it!)

Weirdly, this only seems to happen to certain songs. I'm not having any problems in the current one I'm working on, but another song crashed persistently... sorry, I'm not sure how to reproduce it accurately.

I haven't been able to reproduce the crash on copy backward, but the crash on copy with no lyrics at all is fixed now. That one was absolutely my bad. Download the new release (when it's uploaded) and see if you can still reproduce the other one.

OK, I found a way to reproduce the bug you were describing and I have a fix in the pipe along with generally improving the way section copy works. It'll be up soon.


Add dask (and koalas in future) as optional requirement

In the code I see statements such as import dask.dataframe as dd, how does it behave when Dask is not installed?
Maybe we should use something like this https://stackoverflow.com/a/52826085 to handle cases where Dask is not installed.
I think we should also add add "dask" as "extras_require" in the setup.py file (see https://github.com/FeatureLabs/featuretools/blob/master/setup.py#L9) and remove it from install requirements, since not everybody needs Dask support.
The same approach should probably be used when Koalas dataframes support will be merged.

If Dask is not installed, this will generate a ModuleNotFound error when importing featuretools. However, starting with version 0.16.0 of Featuretools, Dask will be installed automatically when Featuretools is installed. In that case, in order for the error to be generated, a user would have to uninstall Dask after installing Featuretools.

Since Featuretools uses dask in its general n_jobs approach, dask has been a requirement for years before adding dask dataframe support.
Featuretools has an import_or_raise method used to handle importing optional requirements in the code.  We could use this for the koalas code and make koalas an extra.
https://github.com/FeatureLabs/featuretools/blob/95117a7da15decf993bde65479f67fe883072754/featuretools/utils/gen_utils.py#L76-L88

Since Featuretools uses dask in its general n_jobs approach, dask has been a requirement for years before adding dask dataframe support.

Ok, I thought it was only necessary for Dask dataframes support.
So this is only relevant when Koalas support will be merged to avoid having Koalas as a hard dependency.


Change primary folder structure for reliable sorting and better culture-specific labels

The current folder structure will not scale well when a lot of languages are added, because sorting will make it hard to spot the right languages. I recommend the primary identifier comes first - being the language code itself with an addition. Optionally with the localized term in brackets.
So I recommend:
de-CH German-Switzerland (Deutsch-Schweiz)
de-DE German-Germany (Deutsch-Deutschland)
nl-NL Dutsch-Netherlands (Nederlands-Nederland)
This ensures that it's always consistent from A-Z sorting and it's clear if a language pack has been added. It also ensures that similar language packs are side-by-side as they will start with the same language code.

Make sense, but for packages we agreed with @sbwalker to use Oqtane.{project}.{culture-Name}.nuget if I'm not wrong

@hishamco I don't see a problem with having the packages having a longer, more explicit name. What would the {culture-name} part look like? en-US or English-United States or something else?

Oqtane.Client.de-CH.nuget

@hishamco that's perfect IMHO.

I posted a lot of thoughts about the current state of Localization in this issue:
https://github.com/oqtane/oqtane.translations/issues/16

Framework - an initial attempt has been made to implement localization throughout the framework. It is possible that there are a few items which have been missed, or even a few scenarios which are not supported currently (which need to be documented somewhere). Going forward we need to ensure that all new features are localizable.

I don't think a general sweep has been made yet to find any missing items requiring localization

Resource files - need to be maintained by version, as the set of resources are dependent on a specific version of the Oqtane framework. A set of resources should exist for each official release version of the framework from version 2.1.0 forward.

IMHO requires a restructuring of the Translations repo as the current structure does not handle versions.

Translators - in order to maintain the resource files we need to try to minimize the effort required by translators. @hishamco has created a tool to automate the extraction of resources from the framework. This tool does not currently handle all scenarios - but it needs to as soon as possible or else people will attempt to maintain resources manually. Since resource files are just text files it should be possible to do a comparison of the resources extracted for the latest version with the resources for the prior version, so that a translator can easily identify the specific modifications required without having to do a full translation for every new release.

I am not aware of any progress on the extraction tool. Based on other conversations it will need to handle Shared resources as well as the immutable key concept

Translators - should be able to create a Nuget package which includes the compiled satellite assembly for their culture. This package should be created for each specific framework version and should be made available on nuget.org. Detailed instructions and a template should be created to explain how to create these packages.

instructions have not been created anywhere - however I know that @leigh-pointer created a Dutch satellite assembly and install it

Framework - Oqtane should allow non-technical users to install translation packages into Oqtane similar to how Modules or Themes are installed. I will add this capability.

done - I added support for installing satellite assemblies via Nuget.org or upload in 2.1

@sbwalker Based on this my understanding is that there are a few more challenges, but my question for the main folder-names hasn't been answered. But to combine this, I believe the best folder structure would be

de-CH German-Switzerland (Deutsch-Schweiz)

02.00.02

Client

02.01.00

Client

de-DE German-Germany (Deutsch-Deutschland)
nl-NL Dutsch-Netherlands (Nederlands-Nederland)

Just as an input: I believe Peter Donker created a system to manage resources across versions for DNN. Something like a Database to manage stuff and compare versions. It was blogged about https://www.dnnsoftware.com/community-blog/cid/144731/introducing-dnn-translator-a-new-translation-tool-for-dotnetnuke and is currently on github here: https://github.com/DNN-Connect/DNN-Translator
Donno if this helps.

@hishamco @iJungleboy  now that 2.1 is out we need to reorganize this repo so that the language resources are organized by version... and we should create individual nupkg packages for each languge so they are installable.

@iJungleboy I took a look at the code for Peter Donker's tool and it appears that it would take a lot of effort to make it work for Oqtane. Have you ever looked at ResXManager: https://marketplace.visualstudio.com/items?itemName=TomEnglert.ResXManager - it is a popular open source project which is a member of the .NET Foundation. It does a nice job of comparing RESX files in folders and identifying missing keys. It has a snapshot feature as well so you can compare to a previous version.

@iJungleboy Most tools operate based on folder hierarchy so the repo organization should be structured in a way which optimizes the main localization management use cases. The main use case I can imagine is within a specific Oqtane version you want to compare the RESX files for various languages ( usually comparing a custom language to the neutral language ). This allows the translator to ensure that their language resources contain all of the resource keys for that version. In order to accomplish this it would seem to make more sense to organize files by version first and then language:

02.00.02

en Neutral (English)

Client

de-CH German-Switzerland (Deutsch-Schweiz)

Client

de-DE German-Germany (Deutsch-Deutschland)

Client

02.01.00

en Neutral (English)

Client

de-CH German-Switzerland (Deutsch-Schweiz)

Client

de-DE German-Germany (Deutsch-Deutschland)

Client

This also makes it very easy to identify which languages have been translated for a specific version, and which have not.
Obviously for each new Oqtane release, a new version folder would need to be created and a subfolder would need to be created for the neutral language resource files. These resource files would need to contain the full set of resource keys for that specific release - and if we adopt the immutable(static) key approach discussed on #17 then the neutral resources would need to be naturally maintained as part of the standard development effort ( eliminating the need for any tool to extract resources from the code itself ).
And if a translator then wanted to create the language resources for a new version they could copy the folder from their previous version as a starting point and then run a tool like ResXManager which allows them to visualize which keys are missing by comparing their new folder to the neutral language folder for that same version.
I am interested in hearing your thoughts...

IMHO the repo should have the latest translation, leave NuGet package keep track the versioning (no need to reivent the wheel)

@hishamco I am not following your comment. Are you saying that whenever a new Oqtane version is released ( or 1 week after ) Nuget packages should be generated for each language managed in this repo? And these nuget packages would be stamped with the framework version number? I would imagine that some language resources will be maintained regularly by translators and others will not - which means the quality of the version based nuget packages will be very inconsistent.

We need a real world work flow which will facilitate ongoing language resource maintenance and package creation

I would imagine that some language resources will be maintained regularly by translators and others will not

You are right, so the generated NuGet packges should be based on some critieria one of them the maintainability. If there's no activity from previous release to upcoming one no need to publish a translation NuGet package, this way the maintained one will be published regularly

I would imagine that some language resources will be maintained regularly by translators and others will not

You are right, so the generated NuGet packges should be based on some critieria one of them the maintainability. If there's no activity from previous release to upcoming one no need to publish a translation NuGet package, this way the maintained one will be published regularly

So if I look at the current repo I see folders with a number of languages - but I have no idea which Oqtane version the resources were created for... so I can't create installable nuget packages and I have no idea if the resources I clone will work with my version of Oqtane. At the very least I need to be able to easily determine which Oqtane version that resources relate to.

Regarding the package creation it could be automated via PowerShell scripts, I already did similar thing, but we could do that manually for the upcoming release. Let me know if I can handle or assist in this step
For versioning we could utilize the tagging feature in GitHub too to archive the translation versions, but I'm still see publishing a NuGet packages will be valuable for active translations

so I can't create installable nuget packages and I have no idea if the resources I clone will work with my version of Oqtane. At the very least I need to be able to easily determine which Oqtane version that resources relate to

You are totally right, but I think this will introduce an overhead to maintain all the versions. Tagged version may usefual in this case, but we enchourage people to you use the latest and greates

Each language in this repo will be in a different state of maintenance in regards to being updated to the latest version at any given point in time. So you are saying that once a translator has updated their language resources for a specific Oqtane version they would need to remember to tag only their own folder with the appropriate version number. And other people interested in utilizing those resources would need to examine the tags on specific folders to determine the version. That does not sound like a good solution.

The requirements I am looking to satisfy are:
Whether you are a developer, translator, or user...
and whether you are using raw language resources or nuget packages containing satellite assemblies...
you need to easily be able to quickly and easily identify the resources for a specific language that matches your installed version of Oqtane.

According what you said we need sort of resource extractor that's adapte in every release, then the maintainer needs to fill in the missing translation as fast as possible before the next version is release. This is may make things complicated
IMHO the repor should focus on the latest translations (Last release)

you need to easily be able to quickly and easily identify the resources for a specific language that matches your installed version of Oqtane.

Look for the NuGet package that match your version
At the end NuGet can simplify the versioning for such scenario

You make a good point... in all other cases a repo represents the latest version of assets ( unless you are using multiple branches ). So this repo should contain the latest versions of resources for various languages. And to satisfy the requirement of being able to determine the current "state" of the resources for a specific language ( ie. the Oqtane version they related to ) I think we should follow the example already set by @iJungleboy with his README file in the German folders. Its very easy to look at the README and see information about the resources for a language. I also went ahead this morning and created a functional nuspec and package.cmd which I placed in the de-DE folder as an example ( these files should be created in each language folder ). The idea is that when someone copies the folder to the Oqtane.Client/Resources folder it contains the assets needed to package the satellite assembly into a nuget package with the proper naming, etc... So basically they copy the folder, build Oqtane, and then run the package.bat and it creates the nupkg.

The process for a translator to determine the missing keys will become much easier once we transition to using static keys and we ensure that a complete set of the neutral (EN) resources are constantly being maintained for the current framework.

For anybody following this thread, the last comment of @sbwalker refers to #17 to use keys for resources instead of the original English text.
@sbwalker I believe publishing nuget packages for each language would help sites a lot - because most will just want to install or update the language pack and forget about it a moment later. I see some challenges there, but I thought it's better to create a separate issue for this aspect #25

No further action


云服务器部署后vnc访问正常，novnc访问不了，但是本地部署都没问题

WARNING: logging deactivated (can't log to stdout when daemonized)
Use of uninitialized value $proto in socket at /usr/bin/tigervncserver line 357.
Use of uninitialized value $proto in socket at /usr/bin/tigervncserver line 357.
/usr/bin/xauth:  file /root/.Xauthority does not exist
Use of uninitialized value $proto in socket at /usr/bin/tigervncserver line 357.
Use of uninitialized value $proto in socket at /usr/bin/tigervncserver line 357.
New '86302bf1fbf6:1 (root)' desktop at :1 on machine 86302bf1fbf6
Starting applications specified in flwm
Log file is /root/.vnc/86302bf1fbf6:1.log
Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /root/.vnc/passwd 86302bf1fbf6:1 to connect to the VNC server.

镜像问题 用之前拉的镜像完美解决


"Illegal instruction" error

Hi,
First, thank you very much for developing this software.
I'm trying to run it on a library built with RepeatModeler and I'm getting the following error:
On train_test.py
$ singularity exec docker://fgajardoe/terl:latest python3 /opt/TERL/terl_test.py -m Models/DS3 -f test.fa
INFO:    Convert SIF file to sandbox...
WARNING: underlay of /etc/localtime required more than 50 (96) bind mounts
*******************************************************************************
**                                  OPTIONS                                  **
*******************************************************************************
              Model: Models/DS3
              Files:
                     test.fa
              Batch: 32
             Prefix: TERL_20210906_160904_
            Verbose: True

INFO:    Cleaning up image...
Illegal instruction

(In this case, the number of sequences on test.fa is 1, but I've try with up to 2400 and the result is the same. Changing the sequence identifiers didn't work either)
And the same issue while trying to train a model with terl_train.py.
$ singularity exec docker://fgajardoe/terl:latest python3 /opt/TERL/terl_train.py -r training_it_myself/Dataset_clean/
INFO:    Convert SIF file to sandbox...
WARNING: underlay of /etc/localtime required more than 50 (96) bind mounts
*******************************************************************************
**                                  OPTIONS                                  **
*******************************************************************************
               Root: training_it_myself/Dataset_clean
        Train batch: 32
         Test batch: 32
             Epochs: 10
            Dropout: 0.50
   Number of layers: 8
          Optimizer: ADAM
      Learning rate: 0.001000
      L2 regulation: 0.001000
   Not saving graph:
  Not saving report:
   Not saving model:
       Architecture: conv    pool    conv    pool    conv    pool    fc      fc
          Functions: relu    avg     relu    avg     relu    avg     relu    relu
             Widths: 20      10      20      15      35      15      1000    500
            Strides: 1       10      1       15      1       15
       Feature maps: 64      -       32      -       32      -       -       -
          Dilations: 1       -       1       -       1       -       -       -

INFO:    Cleaning up image...
Illegal instruction

A little bit of context: I installed TERL on a docker container following the instructions on this repository. The main difference is that I skipped the virtualenv-related commands since portability of the installation was supposed to be covered by the docker container. I choose the GPU version. Everything went fine during the instalation and I was able to get the default help message from both terl_test.py and terl_train.py. However, when trying to run either of them I get the Illegal instruction error stated above.
Could it be related to some missing dependency? If it helps, here is the Dockerfile used to build the container.
Thanks in advance,
Felipe

I've figured it out how to solve the issue.
The problem was that there was some missing packages in the host machine, which are required for Docker in order to recognize the GPU.
Since the host machine is running Archlinux, installing libnvidia-container and nvidia-container-toolkit from AUR  and running the container as follows (based on @japm48 response here) solved the issue:
docker run -it -v `pwd`:/home/user --gpus all --device /dev/nvidia0 --device /dev/nvidia-uvm --device /dev/nvidia-uvm-tools --device /dev/nvidiactl fgajardoe/terl:latest python3 /opt/TERL/terl_test.py -m Models/DS1 -f test.fa


Add support for .env.development file

- Summary
Fixes: https://github.com/netlify/cli/issues/876

- Test plan

Tests added

- Description for the changelog

Add function getEnvFile to return .env.development or fallback to .env file
Add tests for getEnvFile
Pass project directory to detectors

- A picture of a cute animal (not mandatory but encouraged)
🦆

:D thank you for this!

@wesbos Glad you found it useful 😊


Re-enable compiling with HPX_WITH_NETWORKING=OFF

Fixes #6287

this adds the missing #include

@G-071 please verify whether this fixes your issues.

This PR fixes the issue for me! Compilation works and I successfully ran the Octo-Tiger tests with it as well (just to be safe).

bors merge

compiling with HPX_WITH_NETWORKING set to OFF, you can modify your CMake configuration by adding the lines:
hpx_option(
HPX_WITH_NETWORKING
BOOL
"Enable or disable HPX networking support (default: ON)"
OFF
ADVANCED
)


feat(coral): Topic message: add custom fetching options

What is currently missing?
To solve  #1812, the following PR was opened: https://github.com/Aiven-Open/klaw/pull/1984
It adds some UI to the Angular app, which should also be added to coral.
Additionally, it is currently failing CI, as new params were added to the getTopicContents endpoint, which are not currently passed by coral

How could this be improved?
Add UI to allow fetching custom offsets
Is this a feature you would work on yourself?

[x] I plan to open a pull request for this feature

Resolved by https://github.com/Aiven-Open/klaw/pull/2006


Move orjson to be an optional dependency

Use it if available for faster parsing but for those less keen on using
a multi stage docker build and ensuring they have the correct shared
library dependencies (particularly challenging if building off an alpine
container that doesn't use a distribution build) they can avoid the
extra_requirement.

We also need to update the documentation along with this PR.

I've added a few notes to the documentation - let me know if I'm on the right track with the kind of update to the documentation you are thinking or if you were thinking of something else?


when i set contract it's no reply,reading  wasm files

1、
2、here is eosio.token folder:

What's the corresponding log output from nodeos?

closed as no reply. Please ask in eosio.stackexchange.com if you have further questions.


chore: docs

:tada: This PR is included in version 3.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


retrict all own comments to channel requestor (via signed request)

This should be restricted to a signed channel request for the author only (so we don't allow others to see someone else's comments)


API Age of Empires

The AOE-API is down and I can't find any alternative. Please remove it.

Thanks for this issue @RafaelChavesPB, but this is a duplicate: #3445


Oracle: Scheduler Job Run Log shows "No Data"

Description
Oracle: Scheduler Job Run Log shows "No Data" - even if this is existing.
This is the case for ALL Oracle Scheduler Jobs. The screenshots just express ONE example
DBeaver:

TOAD:

DBeaver Version
Community Edition 24.1.1
Operating System
Win 11
Database and driver

Steps to reproduce
No response
Additional context
No response

Hello @Arne1346,
Can you open the query manager and refresh or open the run log for a job again?

Please ensure you have the "User filtered" filter checked here in the context menu:

Hi,
For me the filter button does not work - clicking on it does not open
anything.
ShadelessFox @.***> schrieb am Do., 11. Juli 2024,
17:00:

Hello @Arne1346 https://github.com/Arne1346,
Can you open the query manager and refresh or open the run log for a job
again?
image.png (view on web)
https://github.com/dbeaver/dbeaver/assets/35821147/1f78bb82-9143-405c-be72-ef4402f206c2
Please ensure you have the "User filtered" filter checked here in the
context menu:
image.png (view on web)
https://github.com/dbeaver/dbeaver/assets/35821147/86d85ec8-2297-441e-97e6-0760717b6f39
—
Reply to this email directly, view it on GitHub
https://github.com/dbeaver/dbeaver/issues/34592#issuecomment-2223166009,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARGRMBZOZHMSTRBSW7WPFYLZL2M2DAVCNFSM6AAAAABKFYHZGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTGE3DMMBQHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hello @Arne1346
Looks like this is your case: https://github.com/dbeaver/dbeaver/issues/17909
Could you please check this workaround?

You can click on your connection -> choose navigation view -> choose "advanced".
Then you will see the SCHEDULER_JOB view.

Hi ShadelessFox,
Sorry - due to summer holidays my response took a bit longer.
[image: image.png]
Clicking on the little "green SQL" icon:
[image: image.png]
BUT:
[image: image.png]
I am logged in with the same user account who "owns" the scheduler job.
As you can see on my screenshot all filters are empty / filter icon in the
first screenshot is greyed out.
Please let me know if you need more information.
Thanks,
Arne
Am Do., 11. Juli 2024 um 17:00 Uhr schrieb ShadelessFox <
@.***>:

Hello @Arne1346 https://github.com/Arne1346,
Can you open the query manager and refresh or open the run log for a job
again?
image.png (view on web)
https://github.com/dbeaver/dbeaver/assets/35821147/1f78bb82-9143-405c-be72-ef4402f206c2
Please ensure you have the "User filtered" filter checked here in the
context menu:
image.png (view on web)
https://github.com/dbeaver/dbeaver/assets/35821147/86d85ec8-2297-441e-97e6-0760717b6f39
—
Reply to this email directly, view it on GitHub
https://github.com/dbeaver/dbeaver/issues/34592#issuecomment-2223166009,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARGRMBZOZHMSTRBSW7WPFYLZL2M2DAVCNFSM6AAAAABKFYHZGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTGE3DMMBQHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

It's been a while since no update here. If the issue is still actual please let me know and provide additional information.


Reports | Prevent the selection of one's own organization when completing compliance and exclusion reports |1|

Issue:
Currently, a fuel supplier is able to select themselves from the list of recognized fuel suppliers when filling out the different portions of a compliance and exclusion report. For example, a fuel supplier can select themselves as their transaction partner in Schedule A; we want to prevent this and these types of reported transactions cannot occur between one single organization.
Restriction measure:

Throw a validation error?
Remove one's own organization from being an option in the autosuggest feature

Affected areas:

Compliance Report, Schedule A: Legal Name of Trading Partner column
Exclusion Report, Exclusion Agreement tab: Legal Name of Transaction Partner column

https://trello.com/c/sslrUM28/2093-reports-prevent-the-selection-of-ones-own-organization-when-completing-compliance-and-exclusion-reports-0

 Reports | Prevent the selection of one's own organization when completing compliance and exclusion reports |1|


EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════

Steps to reproduce
Logs

══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during a scheduler callback:
'package:flutter/src/animation/animation_controller.dart': Failed assertion: line 822 pos 12:
'elapsedInSeconds >= 0.0': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.yml

When the exception was thrown, this was the stack:
#2      AnimationController._tick (package:flutter/src/animation/animation_controller.dart:822:12)
#3      Ticker._tick (package:flutter/src/scheduler/ticker.dart:249:12)
#4      SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1325:15)
#5      SchedulerBinding.handleBeginFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:1177:11)
#6      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:633:13)
#7      SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:1175:17)
#8      SchedulerBinding._handleBeginFrame (package:flutter/src/scheduler/binding.dart:1092:5)
#9      _invoke1 (dart:ui/hooks.dart:328:13)
#10     PlatformDispatcher._beginFrame (dart:ui/platform_dispatcher.dart:351:5)
#11     _beginFrame (dart:ui/hooks.dart:272:31)
(elided 2 frames from class _AssertionError)

This exception was thrown in the context of a scheduler callback. When the scheduler callback was _registered_ (as
opposed to when the exception was thrown), this was the stack:
#2      SchedulerBinding.scheduleFrameCallback (package:flutter/src/scheduler/binding.dart:579:49)
#3      Ticker.scheduleTick (package:flutter/src/scheduler/ticker.dart:265:46)
#4      Ticker.start (package:flutter/src/scheduler/ticker.dart:171:7)
#5      AnimationController._startSimulation (package:flutter/src/animation/animation_controller.dart:745:42)
#6      AnimationController._animateToInternal (package:flutter/src/animation/animation_controller.dart:612:12)
#7      AnimationController.forward (package:flutter/src/animation/animation_controller.dart:461:12)
#8      new InkSparkle (package:flutter/src/material/ink_sparkle.dart:133:8)
#9      _InkSparkleFactory.create (package:flutter/src/material/ink_sparkle.dart:464:12)
#10     _InkResponseState._createSplash (package:flutter/src/material/ink_well.dart:1070:72)
#11     _InkResponseState._startNewSplash (package:flutter/src/material/ink_well.dart:1166:42)
#12     _InkResponseState.handleAnyTapDown (package:flutter/src/material/ink_well.dart:1133:5)
#13     _InkResponseState.handleTapDown (package:flutter/src/material/ink_well.dart:1137:5)
#14     TapGestureRecognizer.handleTapDown.<anonymous closure> (package:flutter/src/gestures/tap.dart:624:61)
#15     GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:275:24)
#16     TapGestureRecognizer.handleTapDown (package:flutter/src/gestures/tap.dart:624:11)
#17     BaseTapGestureRecognizer._checkDown (package:flutter/src/gestures/tap.dart:300:5)
#18     BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:277:7)
#19     GestureArenaManager._resolveByDefault (package:flutter/src/gestures/arena.dart:268:25)
#20     GestureArenaManager._tryToResolveArena.<anonymous closure> (package:flutter/src/gestures/arena.dart:248:31)
(elided 4 frames from class _FrameCallbackEntry and dart:async)
════════════════════════════════════════════════════════════════════════════════════════════════════

Another exception was thrown: 'package:flutter/src/animation/animation_controller.dart': Failed assertion: line 822 pos
12: 'elapsedInSeconds >= 0.0': is not true.
I/TRuntime.CctTransportBackend(16554): Making request to: https://crashlyticsreports-pa.googleapis.com/v1/firelog/legacy/batchlog
D/TrafficStats(16554): tagSocket(5) with statsTag=0xffffffff, statsUid=-1
I/TRuntime.CctTransportBackend(16554): Status Code: 200

Expected results
show right way page
Actual results
not good
Code sample
Code Sample

class GetStartedCard extends StatefulWidget {
  const GetStartedCard({super.key});

  @override
  State<GetStartedCard> createState() => _GetStartedCardState();
}

class _GetStartedCardState extends State<GetStartedCard>
    with DesignComponentMixin {
  late MfDataBloc mfDataBloc;
  late TextEditingController _controller;
  final BehaviorSubject<double> iconPadding =
      BehaviorSubject<double>.seeded(10);

  @override
  void initState() {
    mfDataBloc = BlocProvider.of<MfDataBloc>(context);
    super.initState();
    _controller = TextEditingController(text: '₹1,000');
  }

  @override
  void dispose() {
    _controller.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    final ThemeData theme = Theme.of(context);
    return Container(
      padding: getOverAllPaddingForBody(),
      decoration: const BoxDecoration(
        gradient: LinearGradient(
          begin: Alignment.topCenter,
          end: Alignment.bottomCenter,
          colors: <Color>[
            Color.fromRGBO(225, 224, 249, 0.75),
            Color.fromRGBO(225, 224, 249, 0.0),
          ],
        ),
      ),
      child: Column(
        mainAxisSize: MainAxisSize.min,
        children: <Widget>[
          SvgPicture.asset(SvgAssetPath.piggySavingSvg),
          getVerticalSizedBox(16),
          Text(
            AppString.investInGoal,
            style: theme.textTheme.headlineMedium
                ?.copyWith(color: theme.colorScheme.onSurface),
          ),
          getVerticalSizedBox(16),
          investementHighlight(theme),
          getVerticalSizedBox(SpaceToken.lg),
          investmentSelectorWidget(theme),
          getVerticalSizedBox(SpaceToken.lg),
          CustomFilledButton(
            borderRadius: 8,
            onPressed: navigateToGrowthCalculator,
            child: Text(
              AppString.getStarted,
              style: theme.textTheme.labelLarge
                  ?.copyWith(color: theme.colorScheme.onPrimary),
            ),
          )
        ],
      ),
    );
  }

  Widget investmentSelectorWidget(ThemeData theme) => CustomBoxShadowCard(
        backgroundColor:
            theme.extension<CustomColors>()!.surfaceContainerLowest,
        child: SizedBox(
          width: getScreenWidth(),
          child: Column(
            children: <Widget>[
              getVerticalSizedBox(SpaceToken.lg),
              Text(
                AppString.amount,
                style: theme.textTheme.labelMedium,
              ),
              Stack(
                alignment: Alignment.center,
                children: <Widget>[
                  StreamBuilder<double>(
                      stream: iconPadding.stream,
                      builder: (BuildContext context,
                          AsyncSnapshot<double> snapshot) {
                        return Padding(
                          padding: EdgeInsets.only(
                            left: 150 + (snapshot.data ?? 0),
                          ),
                          child: IconButton(
                            icon: const Icon(Icons.mode_edit_outlined,
                                size: 16.0),
                            onPressed: () {},
                          ),
                        );
                      }),
                  Padding(
                    padding: getOnlyPadding(left: 20, right: 40),
                    child: TextFormField(
                      onTapOutside: (PointerDownEvent event) {
                        FocusManager.instance.primaryFocus?.unfocus();
                      },
                      maxLength: 12,
                      onChanged: (String val) {
                        mfDataBloc.getInvestmentAmount = cleanedString(val);
                        iconPadding.add(customPadding());
                      },
                      inputFormatters: <TextInputFormatter>[
                        FilteringTextInputFormatter.digitsOnly,
                        RupeeFormatter()
                      ],
                      controller: _controller,
                      keyboardType: TextInputType.phone,
                      textAlign: TextAlign.center,
                      style: const TextStyle(
                        fontSize: 45.0,
                      ),
                      decoration: const InputDecoration(
                        counterText: '',
                        contentPadding: EdgeInsets.zero,
                        border: InputBorder.none,
                      ),
                    ),
                  ),
                ],
              ),
              getVerticalSizedBox(SpaceToken.lg),
              const Divider(height: 0),
              chooseInvestmentType(theme)
            ],
          ),
        ),
      );
  double customPadding() {
    return double.parse(_controller.text.length.toString()) * 10;
  }

  void amount() {
    mfDataBloc.getInvestementPeriod = '5 years';
    if (mfDataBloc.isSipEnabled()) {
      String amount = '₹1,000';
      amount = _controller.text;
      mfDataBloc.getInvestmentAmount = cleanedString(amount);
    } else {
      String amount = '₹4,000';
      amount = _controller.text;
      mfDataBloc.getInvestmentAmount = cleanedString(amount);
    }
  }

  void cleanAmount() {
    if (mfDataBloc.isSipEnabled()) {
      const String amount = '₹1,000';
      _controller.text = amount;
    } else {
      const String amount = '₹4,000';
      _controller.text = amount;
    }
  }

  void switchAmount() {
    if (mfDataBloc.isSipEnabled()) {
      const String amount = '₹1,000';
      _controller.text = amount;
      mfDataBloc.getInvestmentAmount = cleanedString(amount);
    } else {
      const String amount = '₹4,000';
      _controller.text = amount;
      mfDataBloc.getInvestmentAmount = cleanedString(amount);
    }
  }

  void navigateToGrowthCalculator() {
    amount();
    GoRouter.of(context)
        .pushNamed(MfRoute.selectMutualFund)
        .then((Object? value) {
      setState(() {});
    });
    cleanAmount();
  }

  Widget chooseInvestmentType(ThemeData theme) => Container(
        padding: getOnlyPadding(top: 8, bottom: 8),
        clipBehavior: Clip.hardEdge,
        decoration: const BoxDecoration(
          borderRadius: BorderRadius.only(
              bottomLeft: Radius.circular(8), bottomRight: Radius.circular(8)),
          color: Color.fromRGBO(225, 224, 249, 0.60),
        ),
        child: Row(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              AppString.monthlySip,
              style: theme.textTheme.titleSmall?.copyWith(
                  fontWeight:
                      mfDataBloc.isSipEnabled() ? FontWeight.w500 : null,
                  color: mfDataBloc.isSipEnabled()
                      ? theme.colorScheme.primary
                      : null),
            ),
            getHorizontalSizedBox(20),
            CustomSwitch(
                value: !mfDataBloc.isSipEnabled(),
                onChange: (bool val) {
                  if (val) {
                    mfDataBloc.investmentType = InvestmentType.LUMPSUM;
                  } else {
                    mfDataBloc.investmentType = InvestmentType.SIP;
                  }
                  switchAmount();
                  setState(() {});
                }),
            getHorizontalSizedBox(20),
            Text(
              AppString.lumpSum,
              style: theme.textTheme.titleSmall?.copyWith(
                  fontWeight: mfDataBloc.isSipEnabled() == false
                      ? FontWeight.w500
                      : null,
                  color: mfDataBloc.isSipEnabled() == false
                      ? theme.colorScheme.primary
                      : null),
            )
          ],
        ),
      );

  Widget investementHighlight(ThemeData theme) => Row(
        mainAxisAlignment: MainAxisAlignment.spaceAround,
        children: <Widget>[
          investHelperText(theme, AppString.startWith),
          dividerCircle(),
          investHelperText(theme, AppString.selectReturn),
          dividerCircle(),
          investHelperText(theme, AppString.withdrawAnytime)
        ],
      );
  Widget dividerCircle() => Icon(
        Icons.circle,
        size: 6,
        color: Theme.of(context).extension<CustomColors>()!.surfaceDim,
      );

  Widget investHelperText(ThemeData theme, String text) => Text(
        text,
        style: theme.textTheme.bodySmall
            ?.copyWith(color: theme.colorScheme.secondary),
      );
}

String cleanedString(String amount) {
  return amount.replaceAll('₹', '').replaceAll(',', '');
}

Screenshots or Video
screen is gooad not any issue
Logs
Logs

══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during a scheduler callback:
'package:flutter/src/animation/animation_controller.dart': Failed assertion: line 822 pos 12:
'elapsedInSeconds >= 0.0': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.yml

When the exception was thrown, this was the stack:
#2      AnimationController._tick (package:flutter/src/animation/animation_controller.dart:822:12)
#3      Ticker._tick (package:flutter/src/scheduler/ticker.dart:249:12)
#4      SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1325:15)
#5      SchedulerBinding.handleBeginFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:1177:11)
#6      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:633:13)
#7      SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:1175:17)
#8      SchedulerBinding._handleBeginFrame (package:flutter/src/scheduler/binding.dart:1092:5)
#9      _invoke1 (dart:ui/hooks.dart:328:13)
#10     PlatformDispatcher._beginFrame (dart:ui/platform_dispatcher.dart:351:5)
#11     _beginFrame (dart:ui/hooks.dart:272:31)
(elided 2 frames from class _AssertionError)

This exception was thrown in the context of a scheduler callback. When the scheduler callback was _registered_ (as
opposed to when the exception was thrown), this was the stack:
#2      SchedulerBinding.scheduleFrameCallback (package:flutter/src/scheduler/binding.dart:579:49)
#3      Ticker.scheduleTick (package:flutter/src/scheduler/ticker.dart:265:46)
#4      Ticker.start (package:flutter/src/scheduler/ticker.dart:171:7)
#5      AnimationController._startSimulation (package:flutter/src/animation/animation_controller.dart:745:42)
#6      AnimationController._animateToInternal (package:flutter/src/animation/animation_controller.dart:612:12)
#7      AnimationController.forward (package:flutter/src/animation/animation_controller.dart:461:12)
#8      new InkSparkle (package:flutter/src/material/ink_sparkle.dart:133:8)
#9      _InkSparkleFactory.create (package:flutter/src/material/ink_sparkle.dart:464:12)
#10     _InkResponseState._createSplash (package:flutter/src/material/ink_well.dart:1070:72)
#11     _InkResponseState._startNewSplash (package:flutter/src/material/ink_well.dart:1166:42)
#12     _InkResponseState.handleAnyTapDown (package:flutter/src/material/ink_well.dart:1133:5)
#13     _InkResponseState.handleTapDown (package:flutter/src/material/ink_well.dart:1137:5)
#14     TapGestureRecognizer.handleTapDown.<anonymous closure> (package:flutter/src/gestures/tap.dart:624:61)
#15     GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:275:24)
#16     TapGestureRecognizer.handleTapDown (package:flutter/src/gestures/tap.dart:624:11)
#17     BaseTapGestureRecognizer._checkDown (package:flutter/src/gestures/tap.dart:300:5)
#18     BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:277:7)
#19     GestureArenaManager._resolveByDefault (package:flutter/src/gestures/arena.dart:268:25)
#20     GestureArenaManager._tryToResolveArena.<anonymous closure> (package:flutter/src/gestures/arena.dart:248:31)
(elided 4 frames from class _FrameCallbackEntry and dart:async)
════════════════════════════════════════════════════════════════════════════════════════════════════

Another exception was thrown: 'package:flutter/src/animation/animation_controller.dart': Failed assertion: line 822 pos
12: 'elapsedInSeconds >= 0.0': is not true.
I/TRuntime.CctTransportBackend(16554): Making request to: https://crashlyticsreports-pa.googleapis.com/v1/firelog/legacy/batchlog
D/TrafficStats(16554): tagSocket(5) with statsTag=0xffffffff, statsUid=-1
I/TRuntime.CctTransportBackend(16554): Status Code: 200

Flutter Doctor output
Details

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.0, on Linux Mint 20.3 5.15.0-92-generic, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] VS Code (version 1.85.2)
[✓] Connected device (4 available)
[✓] Network resources

! Doctor found issues in 1 category.

Hello @umamoneynmore
From the logs, this might be similar to a known issue https://github.com/flutter/flutter/issues/106277 which occurs on device with 120hz refresh rate (mostly seen on Samsung S22 Ultra device).
Can you share the device information of the device you are running this on?
Moreover, your shared code sample is incomplete and seems to contain some third-party package codes, hence I'm unable to run this on my end.
Please can you update this to a minimal complete reproducible code sample that doesn’t include 3rd party plugins or complex production code?


ci: Skip builds when secrets are absent

Fixes #1192

This doesn't fix the problem, never mind. We'll need to migrate to a script for that to work.


right click and double click don't seem to work

I can single click and drag things around, but i can't open right click menus, or open folders/files by double clicking.
I did look at issue #56, and I installed with all responses Y

Try this again with the new setup script.

Closing this unless there are further updates.


[Discussion] disk mounted with noexec - is it useful?

The disk is currently mounted with noexec in the /etc/fstab so nothing on it can be executed.
For now we need to store any extensions (https://github.com/rootzoll/raspiblitz/pull/2404) and C-lightning plugins on the SDcard and redownload them after SDcard changes unless this changes.
noexec is applied in the RaspiBolt guide (https://stadicus.github.io/RaspiBolt/raspibolt_20_pi.html#format-external-drive-and-mount), but does it have a real security benefit?

fwiw, the noexec mount has screwed me up multiple times, aside from that extensions PR. I'd also love to know if there's a security benefit.

I'm not 100% sure if this is best practice, but why not just do 'mount -oremount,exec /xyz', execute the commands, and then lock it up again with'-oremount,noexec'?
AFAIK this works fine even for a hot system ... but maybe I just always got lucky ;-)

Just confirmed and this works fine on my machine:
$ mount |grep disk01
/dev/mapper/cdisk01 on /mnt/disk01 type ext4 (rw,nodev,noexec,noatime,discard)
$ sudo mount -oremount,exec /mnt/disk01/
$ mount |grep disk01
/dev/mapper/cdisk01 on /mnt/disk01 type ext4 (rw,nodev,noatime,discard)
$ sudo mount -oremount,noexec /mnt/disk01/
$ mount |grep disk01
/dev/mapper/cdisk01 on /mnt/disk01 type ext4 (rw,nodev,noexec,noatime,discard)


Added a folder param

Hi !
I've had the need to use this feature for my project.
Figured it could be useful for everyone.
I use it like so :
bucket: "MyS3Bucket",
region: 'us-east-1',
folder: 'Photos/'

Please let me know if you'd like it in another way.
Regards,
Maxime.

Sorry it's not documented well, but there is already a options.getFileKeyDir function, which can return a folder to use for the key.  It takes in the req as a param, so you can do things like change the folder based on some session variables.  We use this to keep separate customer files in different sub-folders, and base it off a session customer key.


compositing image

hi, i'm trying to create a big image out of several small images (about 250).
composite works fine for few images, but if the number gets bigger the ram usage explodes and it does not finish anymore.
i've tried to split it up into chaining several composite calls, but it appears that this does not work.
any hint how i could combine these images into a large one? most of the images do not overlap, though a few do.

Hi, does switching libvips' cache off via sharp.cache(false) help? Are you able to share a code sample?

Hi Lovell,
thanks for the quick reply, much appreciated.
I'm not sure if sharp.cache(false) helps - for sure it does not solve the issue.
A composite of 66 runs through, of 180 did not. Although the 66 was quite slow, and used about 10gigs of ram. I'm comparing to a mathlab solution, which takes about 10 seconds to finish.
I can share the code, no problem - how would it be best for you (I can share ?
Here the problem snippet
        sharp.cache(false);
        sharp({
          create: {
            width: 16123,
            height: 17973,
            channels: 3,
            background: { r: 0, g: 0, b: 0}
          }
        })
          .limitInputPixels(false)
          .composite(compLayer0)
          //.composite(compLayer1)
        .toFile(file,(err, info) => {
          if (err) {
            console.log(err);
          } else {
            console.log('COMPOSITE written');
          }
          });

compLayer0 and compLayer1 are both arrays of this shape:
     {
        input: e.image,
        // blend: 'source',
        top: config.trans_x,
        left: config.trans_y,
      }

If i use both composite layers, only the last layer is present in the output (trying with limited amounts of images, eg 5 each).
blend: 'source' did only result in one placed image, hence i commented it.
As a side note:
When I try to get a raw buffer instead of toFile, I'm getting an error:

Assertion failed: (length <= imp::kMaxLength && "too large buffer"), function NewBuffer, file ../node_modules/nan/nan.h, line 823.
Abort trap: 6

using:
        sharp.cache(false);
        sharp({
          create: {
            width: 16123,
            height: 17973,
            channels: 3,
            background: { r: 0, g: 0, b: 0}
          }
        })
          .limitInputPixels(false)
          .composite(compLayer0)
         // .composite(compLayer1)
           .raw()
           .toBuffer({ resolveWithObject: true })
           .then((obj) => {
             console.log(obj.info);
           })

Each layer is ~850MB, hence the rapid memory exhaustion. If there is no overlap then the possible future enhancement detailed in #1580 will help, otherwise you'll need to do this in sections, or a few layers at a time.

thanks, i naively was expecting the lib to merge down every image one after another.
how would i do it in segments? i thought i could do
.composite()
.composite()
but didnt get that to work. I guess i could get the toBuffer and create a new sharp object, but i'd like to avoid compression and decompression each time.

To avoid the (de)compression roundtrip try raw pixel input and output.
https://sharp.pixelplumbing.com/en/stable/api-constructor/#sharp
https://sharp.pixelplumbing.com/en/stable/api-output/#raw

the problem i have with raw is that it results in this error:
Assertion failed: (length <= imp::kMaxLength && "too large buffer"), function NewBuffer, file ../node_modules/nan/nan.h, line 823.
Abort trap: 6

An alternative might be to try an SVG with positioned, inline base64-encoded <image> elements - see https://raw.githubusercontent.com/lovell/sharp/master/test/fixtures/struct-image-04-t.svg for an example.

interesting idea, but unfortunately I need the end result as either a jpg or png for further processing.
I guess i'll look into moving that part over to python

You can convert from SVG to PNG using sharp(svgInput).toFile('out.png') - it uses librsvg under the hood.

sounds interesting, i'll give it a try - though first time using svg.
do you know how svg handles if those placed images overlap?

I'm also having huge memory issues with composite.
I want to build a grid of pictures (potentially thousands of 64x64px pictures) and quickly run out of memory.
I tried batching the composite into chunks of 100 pictures, but after 5 batches it crashes my node process.
I saw the arrayjoin() feature from VIPS that would perfectly fit my needs so i'm gonna give it a try although the "zero dependency" .
Thank you for your work !
It made my code way smaller/cleaner than with GraphicsMagick/ImageMagick !
Regards,
Durss

I'll give the svg a later try. The python variant works fine.
It feels as if composite currently places every image which needs placement into a new image of the target image size and in the end merges the complete stack.
Probably due to blending modes?
In my case the top layer just wins without any blending, hence just placing each image onto the target works fine, and does not blow up the memory usage. Numpy is currently fast enough as well

I'll close this as I'm not sure what else can be done for now but please do subscribe to #1580 for updates about the future possible feature that will definitely help.

@lovell how would i go about creating the svg that i can composite tiles to? even with a 1024x1024 composite i'm getting crashes in node (expressjs).
i tried:
sharp('128_128.svg')
    .resize(1024, 1024)
    .composite(paths)
    .jpeg({ quality: 100 })
    .toBuffer()

and paths is a list of 700+ (each image is 32x32):
{
  input: inputImg,
  top: y,
  left: x
}

and this keeps crashing.

Try changing one object in path to:
{
  input: inputImg,
  top: y,
  left: x,
  **hasOffset: true**
}


Grid - click on selected row remove selection background in multi-select mode

Hey, We use w2ui grid on single selection mode, we wanted to keep the selected row when clicking on the row multiple times.
that what worked for me
  onUnselect: function (e) {
                var sel = this.getSelection();
                if (sel.length >= 1 && sel[0] == e.recid) {
                    var recEl = $('#grid_' + this.name + '_rec_' + w2utils.escapeId(e.recid));
                    if (recEl.length != 0) {
                        recEl[0].style.cssText = 'height: ' + this.recordHeight + 'px; ' + recEl.attr('custom_style');
                    }
                    e.preventDefault();
                }
            },

But the problem is with multiselect mode,
ithe e.recid always return the last record and not the new clicked one.

Can you please create jsFiddle

@mrg2001 This issue can probably be closed due to inactivity.

Closing issue: no response, no reproducer


use cargo-dist to release binaries

This PR uses cargo-dist to generate binaries in a github release when a tag is pushed to github.
These binaries are compatible with cargo-binstall as well.
The action is generated from cargo dist init --ci=github and unmodified from that output. Future updates should be as easy as running this init command again to pull in cargo-dist updates.
cargo-dist recently got a bunch of documentation in the form of a book if you want to know more about what it's doing: https://opensource.axo.dev/cargo-dist/book/ and I've produced a video showing what the results should look like using one of my own projects as an example. https://youtu.be/Cl2qgOwswH4
closes #84

Its also useful to note that the crates.io publishing approach is unchanged by this PR. This only handles the GitHub binary release.

A small update to cargo-dist in v0.0.4 enabled aarch64-apple-darwin support.
The process to regenerate the CI script is:

update cargo-dist-version in Cargo.toml
add aarch64-apple-darwin to cargo-dist metadata in Cargo.toml
run cargo dist generate-ci to regenerate the workflow

Thanks @ChristopherBiscardi and @benwis. You basically both propose the exact same thing, except that Ben's version is based on cargo-dist v0.0.4-prerelease.2 and Christopher's is based on v0.0.4 which I why I chose the latter. Ben, in your PR there's a lot of "flake" stuff. Did that have anything to do with the binary releases? I'll leave #88 open until you've replied.

Feel free to close #88, I use those files to do dev, they're not required. It is a bit less annoying to have those included, and they're text files, but they are not required.


Domain "dev" is used despite upgrading to v0.4.0

I assumed the new version 0.4.0 would  use .test TLDs as the default.
Here is what I did:
$ powder -v
powder 0.4.0
$ powder open someproject
LSOpenURLsWithRole() failed with error -600 for the URL http://someproject.dev/.

I would expect powder to open http://someproject.test rather than someproject.dev.
Can I somehow configure powder to now use the mentioned .test TLD domains?

That is odd. I just installed powder 0.4.0 fresh, linked an app and then used the open command and it did open with a .test TLD.
Do you have a POW_DOMAINS environment variable set to .dev in your shell? If so, you can remove it to get .test as the default.

I don't have  $POW_DOMAINS set to anything. I do have a .powder file. But this contains only the name without the domain.
I have the same behaviour when linking a new app:
$ powder link my-app
Your application is now available at http://my-app.dev/

This is weird behaviour. Can you also check for the existence of a POW_DOMAIN environment variable?
Basically, the TLD is returned from the domain method, which is currently:
    def domain
      if File.exists? File.expand_path('~/.powconfig')
        returned_domain = %x{source ~/.powconfig; echo $POW_DOMAINS}.gsub("\n", "").split(",").first
        returned_domain = %x{source ~/.powconfig; echo $POW_DOMAIN}.gsub("\n", "") if returned_domain.nil? || returned_domain.empty?
        returned_domain = 'test' if returned_domain.nil? || returned_domain.empty?
        returned_domain
      else
        'test'
      end
    end

This is either a value from POW_DOMAINS, POW_DOMAIN or 'test'. The string "dev" is no longer in the codebase (aside from the changelog and some documentation about running in production or development environments).

@philnash You're right there was a setting in ~/.powconfig:
export POW_DOMAINS=dev,devdev


Implement RngCore for RingOscillator

Implement rand_core::RngCore for RingOscillator from the get_random_bit function. This is not suitable for security purposes so rand_core::CryptoRng has not been implemented.

Thanks for taking a look. I'd be happy to go either way. I don't have enough experience to really have an opinion on which is better. If you think it would be an improvement I can make the change when I get home later today.


refactor: upgrade spore-graphql to 0.1.6

changes

upgrade spore-graphql to 0.1.6
upgrade @spore-sdk/core to 0.2.0-beta.2
Modify the configuration file: change predefinedSporeConfigs.Aggron4 to Testnet.

@ShookLyngs Vercel failed, please take a look

@ShookLyngs can this PR be merged?

Double checked omnilock's latest version, no updates.


'pod install' fails for the example project

What I did:

git clone https://github.com/ealeksandrov/EAIntroView
Go into EAIntroView/Example
pod install

Here is the output from cocoapods:
Analyzing dependencies
Fetching podspec for `EAIntroView` from `../`
[!] Unable to satisfy the following requirements:

- `EAIntroView (from `../`)` required by `Podfile`
- `EAIntroView (from `../`)` required by `Podfile`
- `EAIntroView (= 2.6.4)` required by `Podfile.lock`

I tried removing the reference to '../' in the podfile and replacing it by '~> 2.7.0' which does work but then the Xcode build from the workspace fails with again some references to '../'.
Everything else (referencing the lib from another project) works fine but I cannot run the example.

Ok I found the problem.
=> You should not commit 'Podfile.lock' and add it to .gitignore.
A good thing would also to add Pods/ to gitignore
Thank you for the framework!

Thanks for information and way to fix, will look into it!

Can you verify this on latest version of EAIntroView and cocoapods?
My pod install output is fine:

Extremely strange, I'm getting your error now. Probably have to remove Podfile.lock.

My mistake, I should run pod update for example project on every podspec update.
Fixed in 8f63ee170bcdb6859879c5eccc2430e69813ddb5

I confirm: everything works fine now


Fix shared "copy" popup for IP Address display

looking as it should, ready for review.
I overrode the overflow="auto" as we will not have many IP addresses in the popover to justify the use of a scroll


fix avoid coredump if failed to get jni env

Proposed changes
This PR #32217 find a problem that may failed to get jni env.
And it did a work around to avoid BE crash.
This PR followup this issue, to avoid BE crash when doing close() of JniConnector
if failed to get jni env.
The close() method will return error when:

Failed to get jni env
Failed to release jni resource.

This PR will ignore the first error, and still log fatal for second error
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Incorrect Ephemeral Keys Endpoint

EphemeralKeyRoutes.swift currently uses the endpoint ephemeral_key, but it should be ephemeral_keys. (Related to #222)

@amkomatz Fixed with latest patch release!


Multiple Kubernetes Node Labels reported as single huge merged tag for kubernetes.network.rx_bytes and kubernetes.network.tx_bytes

Output of the info page (if this is a bug)
Getting the status from the agent.

==============
Agent (v6.3.0)
==============

  Status date: 2019-06-26 12:04:59.406906 UTC
  Pid: 338
  Python Version: 2.7.14
  Logs:
  Check Runners: 2
  Log Level: INFO

  Paths
  =====
    Config File: /etc/datadog-agent/datadog.yaml
    conf.d: /etc/datadog-agent/conf.d
    checks.d: /etc/datadog-agent/checks.d

  Clocks
  ======
    NTP offset: -0.000646794 s
    System UTC time: 2019-06-26 12:04:59.406906 UTC

  Host Info
  =========
    bootTime: 2019-06-25 12:05:26.000000 UTC
    kernelVersion: 4.14.127+
    os: linux
    platform: debian
    platformFamily: debian
    platformVersion: buster/sid
    procs: 68
    uptime: 10685

  Hostnames
  =========
    host_aliases: [CONFIDENTIAL]
    hostname: [CONFIDENTIAL]
    socket-fqdn: datadog-datadog-m5dhm
    socket-hostname: datadog-datadog-m5dhm

=========
Collector
=========

  Running Checks
  ==============
    cpu
    ---
      Total Runs: 5045
      Metric Samples: 6, Total: 30264
      Events: 0, Total: 0
      Service Checks: 0, Total: 0
      Average Execution Time : 2ms

    disk
    ----
      Total Runs: 5045
      Metric Samples: 170, Total: over 100K
      Events: 0, Total: 0
      Service Checks: 0, Total: 0
      Average Execution Time : 484ms

    docker
    ------
      Total Runs: 5045
      Metric Samples: 138, Total: over 100K
      Events: 0, Total: 1
      Service Checks: 1, Total: 5045
      Average Execution Time : 123ms

    file_handle
    -----------
      Total Runs: 5045
      Metric Samples: 1, Total: 5045
      Events: 0, Total: 0
      Service Checks: 0, Total: 0
      Average Execution Time : 0ms

    http_check
    ----------
      Total Runs: 5045
      Metric Samples: 4, Total: 20178
      Events: 0, Total: 0
      Service Checks: 2, Total: 10090
      Average Execution Time : 255ms

    http_check
    ----------
      Total Runs: 5045
      Metric Samples: 4, Total: 20178
      Events: 0, Total: 0
      Service Checks: 2, Total: 10090
      Average Execution Time : 242ms

    http_check
    ----------
      Total Runs: 5045
      Metric Samples: 4, Total: 20178
      Events: 0, Total: 0
      Service Checks: 2, Total: 10090
      Average Execution Time : 272ms

    io
    --
      Total Runs: 5045
      Metric Samples: 182, Total: over 100K
      Events: 0, Total: 0
      Service Checks: 0, Total: 0
      Average Execution Time : 6ms

    kubelet
    -------
      Total Runs: 5045
      Metric Samples: 116, Total: over 100K
      Events: 0, Total: 0
      Service Checks: 4, Total: 20180
      Average Execution Time : 578ms

    kubernetes_apiserver
    --------------------
      Total Runs: 5045
      Metric Samples: 0, Total: 0
      Events: 0, Total: 0
      Service Checks: 0, Total: 0
      Average Execution Time : 0ms

    load
    ----
      Total Runs: 5045
      Metric Samples: 6, Total: 30270
      Events: 0, Total: 0
      Service Checks: 0, Total: 0
      Average Execution Time : 0ms

    memory
    ------
      Total Runs: 5045
      Metric Samples: 16, Total: 80720
      Events: 0, Total: 0
      Service Checks: 0, Total: 0
      Average Execution Time : 2ms

    network
    -------
      Total Runs: 5045
      Metric Samples: 38, Total: over 100K
      Events: 0, Total: 0
      Service Checks: 0, Total: 0
      Average Execution Time : 11ms

    ntp
    ---
      Total Runs: 5045
      Metric Samples: 1, Total: 5036
      Events: 0, Total: 0
      Service Checks: 1, Total: 5045
      Average Execution Time : 60ms

    uptime
    ------
      Total Runs: 5045
      Metric Samples: 1, Total: 5045
      Events: 0, Total: 0
      Service Checks: 0, Total: 0
      Average Execution Time : 2ms

========
JMXFetch
========

  Initialized checks
  ==================
    no checks

  Failed checks
  =============
    no checks

=========
Forwarder
=========

  CheckRunsV1: 5046
  DroppedOnInput: 0
  IntakeV1: 386
  RetryQueueSize: 0
  Success: 10478
  TimeseriesV1: 5046

  API Keys status
  ===============
    https://6-3-0-app.agent.datadoghq.com,[CONFIDENTIAL]: API Key valid

==========
Logs Agent
==========

  Logs Agent is not running

=========
DogStatsD
=========

  Checks Metric Sample: 3.612066e+06
  Event: 2
  Events Flushed: 2
  Number Of Flushes: 5046
  Series Flushed: 2.885373e+06
  Service Check: 136215
  Service Checks Flushed: 141261
  Dogstatsd Metric Sample: 12615

Describe what happened:
I have different node pools in GKE in production. I want to monitor network consumption of each node from those node pools. https://docs.datadoghq.com/integrations/kubernetes/#metrics lists kubernetes.network.rx_bytes and kubernetes.network.tx_bytes, which is exactly what I want to monitor.
I want to create datadog widgets separately for each node pool, and for this purpose i put different labels for each node-pool. E.g.:
apiVersion: v1
kind: Node
metadata:
  annotations:
    container.googleapis.com/instance_id: "6406839216285605507"
    node.alpha.kubernetes.io/ttl: "0"
    volumes.kubernetes.io/controller-managed-attach-detach: "true"
  creationTimestamp: "2019-06-24T12:03:33Z"
  labels:
    beta.kubernetes.io/arch: amd64
    beta.kubernetes.io/fluentd-ds-ready: "true"
    beta.kubernetes.io/instance-type: n1-highcpu-4
    beta.kubernetes.io/os: linux
    cloud.google.com/gke-nodepool: default-pool
    cloud.google.com/gke-os-distribution: cos
    cloud.google.com/gke-preemptible: "true"
    failure-domain.beta.kubernetes.io/region: europe-west4
    failure-domain.beta.kubernetes.io/zone: europe-west4-b
    nodepool: default-pool

When i go to the Datadog site, it seems that all the node labels are reported as single tag for each kubernetes.network.rx_bytes and kubernetes.network.tx_bytes, instead of them being added to metrics as individual tags:

This prevents me from configuring Datadog widget for individual labels, attached to GKE Nodes
Describe what you expected:
Datadog agent should report each of the Node Labels as individual tag for kubernetes.network.rx_bytes and kubernetes.network.tx_bytes metrics
Steps to reproduce the issue:

Setup Kubernetes cluster
Setup Datadog agent via helm chart 1.31.2 (datadog-cluster-agent enabled)
Configure Datadog widget on Datadog side to show kubernetes.network.rx_bytes and kubernetes.network.tx_bytes for any nodepool from cluster
Try adjust widget to show data only for specific Node Label as tag (e.g. cloud.google.com/gke-nodepool)

Additional environment details (Operating System, Cloud provider, etc):
GKE 1.13.6-gke.13
Datadog agent installed via Helm Chart version: 1.31.2

Hey @Simwar!
Thanks for your help! Worked like a charm! :+1:

Good to hear!
Closing the issue now, thanks for the feedback!


CI: Update travis config

Update xcode version to latest (11.3)
Cache only homebrew-core tap
Drop homebrew-cask; since it makes cache-size huge though is not used.
Organize CONFOPT
Remove default-enabled options: --enable-multibyte --enable-terminal
Fix build config warnings
https://travis-ci.com/github/macvim-dev/macvim/builds/156385225/config
Fix "6 warnings, 2 infos".
root: deprecated key sudo (The key `sudo` has no effect anymore.)
root: deprecated key anchors (anchor on a non-private key)
jobs.include.deploy: deprecated key skip_cleanup (not supported in dpl v2, use cleanup)
root: deprecated key anchors (anchor on a non-private key)
jobs.include.deploy: deprecated key skip_cleanup (not supported in dpl v2, use cleanup)
root: deprecated key sudo (The key `sudo` has no effect anymore.)
jobs.include.deploy: key api_key is an alias for token, using token
jobs.include.deploy: key api_key is an alias for token, using token

Remove brew link --overwrite python3
Already this problem was resolved in the base image.

Wow, I have literally never seen these warnings before. I wonder if that's true for most Travis CI users.

Wow, I have literally never seen these warnings before. I wonder if that's true for most Travis CI users.

Sorry, what did you mean? "no need to fix", "not found such warnings on travis", or?

Sorry I just meant I have never seen these Travis warnings before, probably because Travis doesn't make them very visible. We should definitely fix them.

@ichizok  I think this mostly looks good. I have one comment about the skip_image part because I don't think that flag can be removed or we won't be able to publish anything.

Cool looks good!


Issues/109 rest api for topology

debugging the reason for failing tests

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

108 of 110 (98.18%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 99.034%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

openwisp_network_topology/api/serializers.py
73
75
97.33%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
1128

Relevant Lines:
1139

💛  - Coveralls


chore(reps): update major version node-sass

Update node-sass dependencies to ^4.1.1
Closes #3673

I signed it!
Juan Sanchez Garcia
On Wed, Jan 04, 2017 at 9:00 PM googlebot
<
mailto:googlebot<EMAIL_ADDRESS>
wrote:

a, pre, code, a:link, body { word-wrap: break-word !important; }
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝
Please visit
https://cla.developers.google.com/
to sign.
Once you've signed, please reply here (e.g.
I signed it!
) and we'll verify. Thanks.
If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check
https://cla.developers.google.com/clas
and verify that your
https://help.github.com/articles/setting-your-email-in-git/
.
If you signed the CLA as a corporation, please let us know the company's name.
—
You are receiving this because you authored the thread.
Reply to this email directly,
https://github.com/angular/angular-cli/pull/3860#issuecomment-270564460
, or
https://github.com/notifications/unsubscribe-auth/AFucaFiKBY3MC7R7OZSAeinPTCK1oMi2ks5rPHkLgaJpZM4LbWU4
.

LGTM. Thanks!


adapter layer

nice work！I have a small question, why did sam med2d perform better after removing the adapter layer?

Hello！ I have the same question.


MTProto version implemented

Hi,
I've got a quick question about this project. From the README, there is a link to a description of the MTProto 1.0 protocol. Is that the one implemented, or is the code actually implementing MTProto 2.0 right now?
Thanks for the information.

MTProto 2.0


Closes: #371 - invalid lineliness probe for web process in latest release of app

…ease of app

Fixes: #371
Update liveness probe to use health check management command instead of unauthenticated httpGet to /api/

We may need to add the changes here: https://github.com/nautobot/helm-charts/blob/af603ffffff0a9136b9acd4a996080f990bee6a8/charts/nautobot/Chart.yaml#L32-L48


Google Maps API Key for maps to display

With the new changes to Googles' API we will need to utilize keys if accessing outside of localhost.  In bash/portal/install.sh there can be a new variable for there to be an API key designated.
When trying to figure out where the API key would need to be set, it was more of a struggle than I thought. After reviewing install.sh I went to /etc/lighttpd/conf-available/89-dump1090.conf which led me to the final place where to set it!
To fix it one needs to go to line # 9 in /usr/share/dump1090-mutability/html/gmap.html
Before:
<script type="text/javascript" src="//maps.googleapis.com/maps/api/js?libraries=geometry"></script>

After:
<script type="text/javascript" src="//maps.googleapis.com/maps/api/js?key=$GMAPAPIKEYGOESHERE&libraries=geometry"></script>

Thanks for pointing this out. I am going to be overhauling the installation process very soon. When I do so I will modify things so that the Google Maps API key is asked for then stored within either the XML settings file or the database. I will also add the ability to change/specify the Google API key via the portal administration area.

Portal but not dump1090 maps now use the Google Maps API key which can be supplied by the user in the administration area. commit a8780e1e01c1a4f7414bfe90447d8b4c9213ed50.


fix(workflow-dev): fixup incorrect usage of helm tpl

The file argument is supposed to be the last argument, with the option list preceeding it. This
is causing some templates to be printed to stdout because --out is not set.

I also added fixees for beta1 and beta2, since this seems to have only shown up recently with helm 0.6.0.

$ helm --version
helm version 0.6.0+1c8688e
$ helm generate -x manifests workflow-dev
---> Ran 13 generators.
$ helm generate -x manifests workflow-dev
[ERROR] File /Users/matt/.helm/workspace/charts/workflow-dev/manifests/deis-builder-rc.yaml already exists. To overwrite it, please re-run this command with the --force/-f flag.
[ERROR] Failed to complete generation: failed to execute helm template -o /Users/matt/.helm/workspace/charts/workflow-dev/manifests/deis-builder-rc.yaml -d /Users/matt/.helm/workspace/charts/workflow-dev/tpl/generate_params.toml /Users/matt/.helm/workspace/charts/workflow-dev/tpl/deis-builder-rc.yaml (/Users/matt/.helm/workspace/charts/workflow-dev/tpl/deis-builder-rc.yaml): exit status 1
$ helm generate -x manifests --force workflow-dev
---> Ran 13 generators.
$ helm generate -x manifests -f workflow-dev
---> Ran 13 generators.
$ helm generate --force -x manifests workflow-dev
---> Ran 13 generators.

Nice job @bacongobbler. :metal:


Add informational message to exception during initialization

Adds a short message to the thrown std::domain_error. Interfaces which
are able to handle C++ exceptions may not be able to detect the
exception class; providing a message solves this problem.
Very minor change for PyStan (and similar interfaces unable to detect the type of the exception).
By submitting this pull request, I agree to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

retest this please

jenkins, retest this please


WIP: vstd: bitwise mask properties

Proves properties of bitwise masks.

Replaced by https://github.com/verus-lang/verus/pull/1063.


Provide an alias for $ in Jerry

If Jerry is used with Kotlin, the $ must be escaped with backticks:
jerry(document).`$`("h1")

It would be nice to have an alias for $ like select
jerry(document).select("h1")

In times of declining importance of jQuery (less programmers are familiar with it), it might be a good idea to have such an alias anyway.

Make sense.
we are splitting this big monolith repo into smaller, stay tuned.

There already is such a method. Check out hte JavaDoc.
@igr As for splitting the library, I hope there'd still be one single distribution though, as this is IMHO one of the advantages of Jodd, not having to deal with a thousand JAR files but have all of Jodd's functionality in one handy file.

@neroux you are right:
public Jerry $(final String cssSelector) {
	return find(cssSelector);
}

So it's find()... Maybe select is a better name?

Since the parameter is named ...Selector, the method name select would be a better fit. However, thanks for the hint -- I can live with find.

@helmbold Just checked the jQuery API:
The find name is correct: https://api.jquery.com/find/ The argument is similar to jQueries one.
The select name is used for https://api.jquery.com/select/ which we don't support.
As Jerry should look like a jQuery there is no need to change anything :)

The resemblance of the jQuery API is a value of its own. Without this aspect I would have liked select a bit more, but find is fine, too.


'author' is not customisable

It's not possible to modify the 'author' value and have it reflect the author of the blog.
Still include Ronald as the author of base template (as people modify it), just include it below the author of the blog or something.

Hi, Are you talking about meta tag "author"? If so, you can edit this file: https://github.com/ronv/lines/blob/master/layouts/partials/head.html and remove it.
Br, Ron

That fixed it. I probably should have read more of the Hugo documentation beforehand! Thanks! Great layout by the way :)


fix(test): Add add/update iteration modal tests

Test result log - https://pastebin.com/WaKRDKf9
Few tests are still failing. I'll send a seperate PR for those.

All tests have been fixed and pass successfully.
Updated test result log - https://pastebin.com/Sym4bq2d

@jarifibrahim fabric8/fabric8-ui:SNAPSHOT-PR-2157-5 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2157-fabric8-planner.badger.fabric8.io

Way to go @jarifibrahim

@jarifibrahim fabric8/fabric8-ui:SNAPSHOT-PR-2157-6 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2157-fabric8-planner.badger.fabric8.io

@jarifibrahim fabric8/fabric8-ui:SNAPSHOT-PR-2157-7 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2157-fabric8-planner.badger.fabric8.io


Expand FileUtil to hash CIDs and do AES encrypt

We currently have FileUtil that does helper operations for file manipulation. We need to add two new functionalities here:

Hash CIDv1 (same algo that Numbers Protocol uses internally for registration)
Encrypt with AES-256-CBC

Alongside functions that enable these operations, such as generating an AES key, etc. It is possible that it's more appropriate to rename (or have another class) called CryptoUtil as keygen seems to fall out of "file operations" but I'll leave that open.
Note that internally we use sha256 as an internal addressing scheme, where the "asset" has persistent filename as its sha256 digest. Associated metadata files are also named with the matching asset's sha256. We need to keep this system. (Temporary assets are usually named with a UUID.)
To Do

[x] Hash (sha256 and Numbers-compatible CIDv1) - done in #64
[x] Encrypt (AES for data using collection key) - done in #66

[ ] Pin test asset on IPFS node and make sure our computed CID matches what say... IPFS Desktop does

[ ] Connect with @anaulin to generate these (see https://github.com/starlinglab/starling-integrity-api/issues/53#issuecomment-1058107379):

hash://sha256/9564b85669d5e96ac969dd0161b8475bbced9e5999c6ec598da718a3045d6f2e
ipfs://bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oclgtqy55fbzdi
md5://<md5_hash>

Not sure if MD5 should also be added to this list? Covered in #71

This is done.


Replace np_random with np.random.RandomState()

Fixed bug within baselines/common/tests/util.py with regard to np_random.

fixed upstream (np_random is not actually used anymore), closing this


Embellezco los botones

Codecov Report

Merging #241 into master will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##             master     #241   +/-   ##
=========================================
  Coverage     32.68%   32.68%
  Complexity      222      222
=========================================
  Files            75       75
  Lines          1545     1545
  Branches         73       73
=========================================
  Hits            505      505
  Misses         1035     1035
  Partials          5        5

Impacted Files
Coverage Δ
Complexity Δ

...go3/vista/Contenedores/ContenedorBotonEmpezar.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...fiuba/algo3/vista/Layouts/LayoutPrimerJugador.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...ba/algo3/vista/Layouts/LayoutSiguienteJugador.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

Continue to review full report at Codecov.

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


Volar Not Found: this should be bundled

I see the following message every time I open Nova:

Volar Not Found
You have selected Volar as the preferred
language server for Vue but no executable has
been found on your system. Check the docs for
the installation process.

I understand that this is intentional, but since this message is coming from an installed extension, it feels broken. In my opinion, extensions should just work and not have external dependencies.
Of course, it could detect if Volar is installed and use it if is. But if Volar isn't installed, I feel like this extension should come with its own bundled copy.
I say this because I think there are lots of people like me: I use Vue, but I don't want to do any configuration to get syntax highlighting. Instead, I want to install the extension and get the "standard" syntax highlighting without any additional effort.

Friendly bump, I'm still getting this message every single time I open Nova.
Turns out there is a setting to tell the extension to not look for Volar (and thereby stop telling me when it's not found):

I still think the default behavior should be that all dependencies should be bundled, but that's not my call. You could even create an advanced setting where users can tell you where to find the locally installed copy of Volar they want the extension to use. This would mean the default, zero-effort setup "just works", but people who want more control can have it.
And ironically, I ended up installing Volar globally, and it didn't fix the syntax highlighting issues I'm seeing, so I'm confused what the point of Volar is. Two examples below:

But my issue is now solved, thanks for the useful extension!


lfs: replace wrap_and_branch_coro with equivalent

It's unclear to me why we are even using dvc-http and dvc-objects here.

I'm running with this to unblock https://github.com/iterative/dql/pull/1058.

It's unclear to me why we are even using dvc-http and dvc-objects here.

It's so we can reuse the logic for batched transfers and the aiohttp large download timeouts. I didn't see the point in copy/pasting everything from dvc-http and dvc-objects generic transfer into scmrepo

dvc-http is a dvc's plugin. I have fixed the immediate issue, but we are creating a circular dependency issue here with this.
Maybe we can add support for batched transfers for fsspec filesystems in dvc-objects?
The aiohttp large download timeouts fixes are small that we can copy it here as well (or upstream it to fsspec).
Ideally, the fix would be to not have our own wrappers.


ClassCastException ... i'm SURE it's my fault ... but i don't know why :-)

Hi Hannes,
sorry for disturbing u :-)
but I've set up a new small MVP Project and get this error when my App is going in Background. I don't get it ... what can be wrong? I've used ArrayList's several times in another projects ... on the same way ... without any error... did you have any idea where I've to looking for??
java.lang.ClassCastException: java.util.ArrayList cannot be cast to android.os.Parcelable
at com.hannesdorfmann.mosby.mvp.viewstate.lce.data.ParcelableDataLceViewState.writeToParcel

Hi,
you are using the wrong ViewState Type I guess. Are you using ParcelableDataLceViewState? If your "data" is an array list you better use ArrayListLceViewState or CastedArrayListLceViewState

sorry for this late response... but YES it works now... THX


adjustment to the wiki?

Hi everyone,
thank you for this gem.
I just installed:

rails 5.0.0.rc1
devise_ldap_authenticatable 0.8.5
devise 4.1.1

using it with Windows Active Directory. Following the instructions in the wiki, it was no problem and works like a charm.
Two minor modifications were necessary in the models/user.rb. get_ldap_id returned nil. I just commented it out. I had to rename the so called "# hack for remember_token" to def authenticatable_salt (in the wiki: authenticatable_token)
Hope this may help.

@tuvya Afaik you can make the adjustments to the wiki yourself

I can confirm that the hack needs to be renamed to "authenticatable_salt", at least when using rails 5.

@tuvya Thanks for adding this, I changed the wiki page to include this.
https://github.com/cschiewek/devise_ldap_authenticatable/wiki
Can this now be closed?


Suggestion power button as indicator

Change the power button color based on TV status. I'm no good with js but you can easily get the TV power state from here:
curl -s GET "http://rokuip:8060/query/device-info" | grep power
I'm not sure if Hass component has an attribute for it or not...

The HA plugin does not report power state. I used to use the local API for everything in this card, so should be easy to add. I'll check it out

hmm, I'd have to add the IP address back...don't really want to do that. I think updating the Roku component is the better route to properly report as "off" instead of "home" for TVs

Looks like we'll need it to the python lib first:
https://github.com/jcarbaugh/python-roku/blob/master/roku/core.py#L227

I knew this idea sounded familiar :)
https://github.com/jcarbaugh/python-roku/pull/37
Looks like the repo is abandoned...perfect

So, I'll give the maintainer a week or two to respond to my last message. Otherwise I think we'll fork it, add the power support and apply a patch to HA core.

So I've been added as a maintainer to the module, I'll try to find some time this weekend to figure out the ins and outs of the module and how best to proceed.

Finally got pypi access this morning; a new release will be out tonight and will include tv controls. Will then look into how to update the Roku component to get this info for us

Installation step 3 example missing " " at -type: "custom:roku-card"
Step 3 example also shows power: service. I could not get power button to work until removing this option.


gfhtuyfoluly

jkj

Please reopen this PR with a proper description.

I think he meant to PR a fork instead.


Question about CacheFactory.Build<>

why  CacheFactory.Build<> creating a new instance each time,not  Singleton?
what a reason?

you are responsible to decide if/how to keep a singleton reference.
It would be bad for a library to do that assumption.
Also, how would you create multiple instances with different Ts? ^^


Add minimal example to docs?

Thanks for the work on this library!
If you're open to it, I'd like to submit a PR to add a minimal example to the docs. I was thinking something along the lines of this:
data Pair a = Pair a a
derive instance eq1Pair :: Eq1 Pair
derive instance eqPair :: Eq a => Eq (Pair a)
instance arbPair :: Arbitrary a => Arbitrary (Pair a) where
  arbitrary = Pair <$> arbitrary <*> arbitrary
instance functorPair :: Functor Pair where
  map f (Pair x y) = Pair (f x) (f y)

prxPair :: Proxy2 Pair
prxPair = Proxy2

main :: Effect Unit
main = do do checkLaws "Pair" (checkFunctor prxPair)

If you're open to adding an example to the docs, I assume it would be straightforward to adapt the example for purescript-strongcheck-laws as well.
I guess an even more minimal example would be to test an existing type that has a Functor instance, but I had a difficult time getting the Eq and Arbitrary instances right for a custom type in order to be able to test its Functor instance with QuickCheck.

Adding an example sounds good to me, sure!
There is also the whole test folder that exercise a good deal of the core data types using the library, it's probably worth adding a line to the README about using that as a reference too.