1)Make RedisCacheService singleton so same JedisCluster object is reu…

…sed for performance optimization 2) Add log in QuartzScheduling

@bsura  Can you review ?


Strange characters appearing in link text

Bug Report
I am receiving strange characters in my PDF generation. Here is an example:
Website: https:/examplelink.com/example Ð
Ð Ð

Description of the problem
See above.
Code sample
const doc = new PDFDocument();
      const currentTime = Date.now();
      doc.pipe(fs.createWriteStream(`${__dirname}/public/pdf/${currentTime}frp.pdf`));

      let font = __dirname + '/public/Roboto-Regular.ttf';
      doc.registerFont('Roboto', font);

      doc
        .fontSize(22)
        .text(`${frp.NameOfFRP}`);
      doc
        .fontSize(10)
        .text(`
        Region: ${frp.Region}

Your environment

pdfkit version: 0.13.0
Node version: v17.3.1
Browser version (if applicable): N/a, generating server side with Node
Operating System: Mac OS 12.3

I found this issue: https://github.com/foliojs/pdfkit/issues/1210 and followed the solution but it did not solve the issue.

Can you create a sample as a fork of https://replit.com/@blikblum/minimal-pdfkit ?


ApacheDrill: Column 'method__' is ambiguous

Hello Superset-Team,
when i use time series chart to query apache drill then this statement(see bottom) is generated, but apache drill give me an error "VALIDATION ERROR: From line 17, column 37 to line 17, column 44: Column 'method__' is ambiguous". Everything works fine when we use "anon_1.method__". Is there a possiblity to fix this problem?
thanks and best greets
christian
SELECT NEARESTDATE(`eventDateTime`, 'DAY') AS __timestamp,
       `method` AS `method`,
       sum(duration) AS `SUM(duration)`
FROM
  (select *
   from dfs.`/data/server.log`
   where duration > 0) AS virtual_table
JOIN
  (SELECT `method` AS method__,
          sum(duration) AS mme_inner__
   FROM
     (select *
      from dfs.`/data/server.log`
      where duration > 0) AS virtual_table
   GROUP BY `method`
   ORDER BY mme_inner__ DESC
   LIMIT 5) AS anon_1 ON `method` = method__
GROUP BY `method`,
         NEARESTDATE(`eventDateTime`, 'DAY')
LIMIT 10000

A workaround for this problem ist proposed in #17035 by not setting up a series limit. The Join Subquery will not be added and therefore the error will not occur.
The missing "anon_1" reference in the join condition is however still a bug from my point of view, when using a series limit.

Just noticing this issue has been inactive for quite some time. Can either of you confirm whether it's still worth keeping this issue open as of Superset 2.0.1?

It can be closed, im not look for it long time.


Omnisharp is shown in LspInfo even it is not configured

Problem description
In the commit https://github.com/williamboman/mason-lspconfig.nvim/commit/3364c6bbddfb5ffdc56a6688ce1865e23cf327d4
lua/mason-lspconfig/server_config_extensions.lua is added. And line 4 configs.omnisharp_mono = require "lspconfig.server_configurations.omnisharp" is configurating omnisharp_mono for everyone.
Why do you think this is an issue with mason-lspconfig.nvim?
Prior to this commit, it was working alright.
Neovim version (>= 0.7)
NVIM v0.7.2
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Operating system/version
Linux 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
I've manually reviewed the Nvim LPS client log (:LspLog) to find potential errors

[X] Yes

I've recently downloaded the latest plugin version of mason.nvim, mason-lspconfig.nvim, and nvim-lspconfig

[X] Yes

Affected language servers
omnisharp_mono
Steps to reproduce
1, use the latest commit 3364c6bbddfb5ffdc56a6688ce1865e23cf327d4
2, run :LspInfo
Actual behavior
:LspInfo shows omnisharp_mono is configured
Expected behavior
:LspInfo only shows lsp that is configured by user
LspInfo
~                Language client log: /home/abc/.cache/nvim/lsp.log
~                Detected filetype:
~
~                0 client(s) attached to this buffer:
~
~                Configured servers list: tsserver, gopls, sumneko_lua, omnisharp_mono, clangd, rust_analyzer, pyright

LspLog
No response
Healthcheck
2 mason: require("mason.health").check()
  3 ========================================================================
  4 ## mason.nvim report
  5   - OK: neovim version >= 0.7.0
  6   - OK: Go: `go version go1.18.2 linux/amd64`
  7   - OK: cargo: `cargo 1.63.0 (fd9c4297c 2022-07-01)`
  8   - WARNING: luarocks: not available
  9   - OK: Ruby: `ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu]`
 10   - OK: RubyGem: `3.3.5`
 11   - WARNING: Composer: not available
 12   - WARNING: PHP: not available
 13   - OK: npm: `8.11.0`
 14   - OK: node: `v16.16.0`
 15   - OK: python3: `Python 3.10.4`
 16   - OK: pip3: `pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)`
 17   - WARNING: javac: not available
 18   - WARNING: java: not available
 19   - WARNING: julia: not available
 20   - OK: wget: `GNU Wget 1.21.2 built on linux-gnu.`
 21   - OK: curl: `curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+                libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.12`
 22   - OK: gzip: `gzip 1.10`
 23   - OK: tar: `tar (GNU tar) 1.34`
 24   - OK: bash: `GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)`
 25   - OK: sh: `Ok`
 26   - OK: GitHub API rate limit. Used: 15. Remaining: 45. Limit: 60. Reset: Sat Aug 13 23:50:54 2022.
 27

Screenshots or recordings
No response

Would you mind sharing your thought of creating lua/mason-lspconfig/server_config_extensions.lua? So I can create a pr

Hello! So omnisharp_mono showing up in :LspInfo doesn't necessarily mean that it is configured. That window is provided by lspconfig, and it simply checks which keys are present in the configs table.
The reason it was added was to make the Mono variant of omnisharp easier to use via Mason.
I can see it leading to some confusion, will try to submit a patch to lspconfig so that only servers that have been set up are displayed

I am also encountering this issue.
I have a custom health module which shows me if every command for every server I have configure is executable, and as you can see it shows omnisharp_mono, even if I haven't configured it.
conf: require("conf.health").check()
========================================================================
## LSP server executables
  - OK: bashls: the command 'bash-language-server' is executable.
  - OK: clangd: the command 'clangd' is executable.
  - OK: clojure_lsp: the command 'clojure-lsp' is executable.
  - OK: cmake: the command 'cmake-language-server' is executable.
  - OK: cssls: the command 'vscode-css-language-server' is executable.
  - OK: dockerls: the command 'docker-langserver' is executable.
  - OK: emmet_ls: the command 'emmet-ls' is executable.
  - OK: eslint: the command 'vscode-eslint-language-server' is executable.
  - OK: html: the command 'vscode-html-language-server' is executable.
  - OK: jsonls: the command 'vscode-json-language-server' is executable.
  - WARNING: omnisharp_mono: the command is not defined.
  - OK: pyright: the command 'pyright-langserver' is executable.
  - OK: rnix: the command 'rnix-lsp' is executable.
  - OK: rust_analyzer: the command 'rust-analyzer' is executable.
  - OK: sumneko_lua: the command 'lua-language-server' is executable.
  - OK: svelte: the command 'svelteserver' is executable.
  - OK: taplo: the command 'taplo' is executable.
  - OK: tsserver: the command 'typescript-language-server' is executable.
  - OK: vimls: the command 'vim-language-server' is executable.
  - OK: volar: the command 'vue-language-server' is executable.
  - OK: yamlls: the command 'yaml-language-server' is executable.

@datwaft Just out of interest, how do you gather which server executables to check?

@datwaft Just out of interest, how do you gather which server executables to check?

The code is in here, if you want to see it (it's programmed in Fennel).
Essentially I am using require("lspconfig").available_servers(), which returns a list of the servers I have configured. After that I iterate over the list and do require("lspconfig")[name].cmd[1], with name being the name of the LSP server. The [1] is used to extract only the executable name and not the parameters to the executable.
Here is an small code snippet:
local config = require("lspconfig")

local server_list = config.available_servers()

for _, name in ipairs(server_list) do
  local server_configuration = config[name]
  if server_configuration.cmd ~= nil then
    print(server_configuration.cmd[1])
  end
end

See https://github.com/neovim/nvim-lspconfig/pull/2066 as a potential solution to this.

Should be fixed upstream now

Not sure if the issue is fixed.
using NVIM v0.8.0-dev-929-g9a100ee16  and b004cc6 of nvim-lspconfig, omnisharp_mono is still showing in LspInfo

(╯°□°)╯︵ ┻━┻

Should be fixed upstream in https://github.com/neovim/nvim-lspconfig/pull/2081. I'll close this here as it's not really a Mason issue anyway


include the global cordova variable on the window object

I've added the global cordova variable to the Window interface as cordova does attach it globally.

@davetayls thanks mate!

sweet :smiley:


Add support for running datasette as a module

This PR allows running datasette using python -m datasette command in addition to just running the executable.
This function is quite useful when debugging a plugin in a project because IDEs like PyCharm can easily start a debug session when datasette is run as a module in contrast to trying to attach a debugger to a running process.

This is a really neat trick, thanks!


Choose dashboard

Hi, I've downloaded the last version of grafana (6.2.5) and installed last plugin (3.10.2) but in the plugin page I can't find a dashboard to import in grafana.
I've installed this one https://grafana.com/dashboards/5363 but I can't get data... The data source configuration test is ok, but I get no data into dashboard. I can see the server list in the dropdown but without data. In Explorer I can see data correctly... The problem is only with dashboard.
What's wrong?
Thanks a lot

Ok, I've found. I didn't import the template into zabbix.


Scrolling is not fluid

Hi @davidtakac , congratulations for this great app!
I have noticed a "weird" behaviour, but I don't know whether it's intentional or not.
If you scroll fast on the main page, you can notice is not fluid and tends to stick to a random position.
Best regards!

Hello, thank you! Hmm, it's definitely not intentional. Could you attach a video? It seems to scroll fine on my devices.

I think a video would not show it very properly, but here you are :) https://streamable.com/ph2ss9
Let me try to explain better with an example: When we are on a Wikipedia's page and want to reach the bottom end of the page, we impart a "kinetic force" to the page itself so it "automatically" scrolls fluidly until the force exhausts (hope I explained it correctly xD).
When we do the same in the Prognoza's main page, seems that this "kinetic force" exhausts unnaturally, so I thought it may've been a bug, but I've noticed that in this way the app sticks in a way that never covers in half a temperature, so maybe it's a wanted behaviour?

Android 12, Redmi Note 11S


Autocomplete class width override by '.mat-autocomplete-panel'

Bug:
When you pass a class to the mat-autocomplete component it is placed on the injected overlay content. But the new styles added in material v6 to  '.mat-autocomplete-panel' prevent a width from being described on the autocomplete the same way as material v5.
I expect to be able to have
.custom-class {
width: 500px;
}
change the width of the overlay, as it did in v5
Currently need to do
.mat-autocomplete-panel.custom-class {
width: 400px;
min-width: 400px;
max-width: 400px;
overflow-x: visible;
overflow-y: auto;
}

This is working as intended with the inclusion of the flexible connected position strategy.  Our css styling is targeting with the least specificity possible, but will require that you use a target with higher specificity.


/home/ volume

Hi,
is there a reason why you define the /home/ directory as a volume in the Dockerfile? I get that this is for persistence but in my opinion this should be handled during deployment (in docker-compose.yml). Then the user could decide if he wants persistence or not. For my use case I want the home directorys to be repopulated when a new container is deployed.
Thanks.

Your compose file is leading, it is ment for automatic deployment.

When I don’t define a volume in docker-compose.yml, an unnamed volume is created for /home/ because it is defined in the Dockerfile. How can I avoid this?

 The latter volume is the homedir which I wanto avoid being created for my setup.

Sorry, but thats with any container that will write files , like logs ...


How can I restore it to plaintext

let pltxt = RistrettoPoint::hash_from_bytes::("aa".as_bytes());
let enc_pltxt = pk.encrypt(pltxt);
let txt = sk.decrypt(enc_pltxt);
txt is RistrettoPoint ,  can I restore it to plaintext "aa "

The type of txt is the same as pltxt, which is a RistrettoPoint. The ElGamal encryption works by encrypting messages which are in the group defined by the ElGamal parameters (which in our case these are points from the curve Curve25519 in the Ristretto prime order group, i.e.: RistrettoPoints).
The way one encodes a string to an elliptic curve point (and back) is still out of the scope of the current version.
We will include these functionalities in the near future.

This function is very important. We look forward to releasing it as soon as possible


Multi GPU training not working

Multi GPU training on VO model is broken/not working. The argument n-gpu simply doesnt do anything. Tweaking the code to run on multiple GPU using pytorch parallelism also doesnt work. We had the scripts hung indefinitely, seems to be resource allocation issues.
Is there a possibility of running VO model training across multiple GPUs? We could really make use of it to speed it up.

Thanks a lot for your interest in this work. Unfortunately, the VO training does not support multi-GPU training yet. I was trying to make that but have not got time to do it. You may have to refactor the code a little bit if you need multiple GPU training. Sorry about that.

That's unfortunate. We also tried to run multiple training in parallel with cloning the datasets/vo_datasets into multiple copies. But even then the training was stopped with the following error:
Traceback (most recent call last):
File "./pointnav_vo/run.py", line 347, in
main()
File "./pointnav_vo/run.py", line 75, in main
run_exp(**vars(args))
File "./pointnav_vo/run.py", line 313, in run_exp
trainer.train()
File "/home/praneeth/PointNav-VO/pointnav_vo/vo/engine/vo_cnn_regression_geo_invariance_engine.py", line 841, in train
batch_data = next(train_iter)
File "/home/praneeth/anaconda3/envs/pointnav-vo/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 363, in next
data = self._next_data()
File "/home/praneeth/anaconda3/envs/pointnav-vo/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 974, in _next_data
idx, data = self._get_data()
File "/home/praneeth/anaconda3/envs/pointnav-vo/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 928, in _get_data
raise RuntimeError('DataLoader timed out after {} seconds'.format(self._timeout))
RuntimeError: DataLoader timed out after 300 seconds
Initially we thought, this might be because both the training are accessing the same dataset, since the dataset is not loaded into the memory. And that is the why we cloned the dataset in first place. pointing dataset1 for one training and dataset2 for another training. We made these changes in configs/vo/vo_pointnav.yaml config file. But even then we faced the same issue. and the training was stopped after some epochs.
Do you think is there a change wherein the config file is also not stored in memory and its being read after every epochs? Or do you feel is there anything in the code that might cause this error?
I'd like to know what we should do if we need to run multiple trainings parallel, with one GPU allocated to each training.

Close as the discussion has been moved to #16


Integration of AdoraDish V2000

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
I tried to integrate my AdoraDish V2000 (Actuelly it is branded Fors, but its the same and I use the V-Zug app, which shows it as an AdoraDish V2000).
If I try to integrate the dishwasher, i get the following message:

Describe the solution you'd like
I would like to be able to integrate it via the Add-On
Describe alternatives you've considered
Currently I use the following YAML code:
#Geschirrspühler

platform: rest
resource: http://<IP_ADDRESS>/ai?command=getDeviceStatus
name: 'V-Zug Adoraspulen V2000'
json_attributes:

DeviceName
Serial
Inactive
Status
Program
ProgramEnd

platform: template
sensors:
vzug_adoraspuhlen_devicename:
friendly_name: 'V-ZugAdoraspülen V2000 DeviceName'
value_template: "{{ state_attr('sensor.v_zug_adoraspulen_v2000', 'DeviceName') }}"
vzug_adoraspuhlen_serial:
friendly_name: 'V-Zug Adoraspülen V2000 Serial'
value_template: "{{ state_attr('sensor.v_zug_adoraspulen_v2000', 'Serial') }}"
vzug_adoraspuhlen_inactive:
friendly_name: 'V-Zug Adoraspülen V2000 Inactive'
value_template: "{{ state_attr('sensor.v_zug_adoraspulen_v2000', 'Inactive') }}"
vzug_adoraspuhlen_status:
friendly_name: 'V-Zug Adoraspülen V2000 Status'
value_template: "{{ state_attr('sensor.v_zug_adoraspulen_v2000', 'Status') }}"
vzug_adoraspuhlen_program:
friendly_name: 'V-Zug Adoraspülen V2000 Program'
value_template: "{{ state_attr('sensor.v_zug_adoraspulen_v2000', 'Program') }}"
vzug_adoraspuhlen_end:
friendly_name: 'V-Zug Adoraspülen V2000 End'
value_template: "{{ state_attr('sensor.v_zug_adoraspulen_v2000', 'ProgramEnd')['End'] }}"
vzug_adoraspuhlen_endtype:
friendly_name: 'V-Zug Adoraspülen V2000 End'
value_template: "{{ state_attr('sensor.v_zug_adoraspulen_v2000', 'ProgramEnd')['EndType'] }}"

Additional context
Here my latest LOG

Are you sure you're running the latest version (0.3.1)? The error in your logs looks exactly like an issue that was fixed in that release.
If you are already on the newest version, please enable debug logging for the integration and post the full logs here, @simondaehler?


Load Test Etcd

In 1.4 we store all of our metadata in etcd which means that there exist workloads that put too much metadata in etcd and thus crash it. We should write some tests which push these limits so we know what the highest impact things to fix are.

stale


Adjust size of extreme bins in discretize_and_truncate

Summary
discretize_and_truncate currently has an odd behaviour on the first and last bin, that result to be smaller than the others.
Details and comments
discretize_and_truncate splits the domain (bounds[j, 1], bounds[j, 0]) in (2 ** prec) bins of equal size.
In the previous implementation, the first bin was centered in bounds[j, 0] and the last in bounds[j, 1]. So, half of the first bin fell out of the bounds, and therefore the number of samples in the first bin was misleadingly low. Similarly for the last bin.
I propose to change the logic, so that all bins fall completely within the bounds; notice that this way, the "label" (central point) of the first bin is no longer bounds[j, 0], but rather bounds[j, 0] + something; in the same way, the label of the last bin becomes bounds[j, 1] - something.
@Zoufalc

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@Zoufalc I'm realizing right now that if the original domain was discrete, say integer numbers [j_1, .., j_N], with this modification we would "relabel" outputs as [j_1+someting, ..., j_N-something]. What do you think?

Thank you  @gabrieleagl for raising this point.
The relabeling is something that we should avoid from my point of view.
Rather than changing the grid, I would prefer if lines 180 & 182 in dataset_helper.py are being changed, i.e. that values are not cut off exactly at the min/max of the bounds but symmetrically around the min and max of the bounds according to the grid resolution.

Shall we rename the parameter bounds into extreme_bins, extreme_bin_labels, or similar, in this case?

You can rename it to discretization_bounds

I have opened a new pull request for this; refer to https://github.com/Qiskit/qiskit-machine-learning/pull/17


fix: remove package name from androidManifest

Description
In gradle 8 ou higher setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
Related Issues
*[Question]: #2611
Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] I titled the PR using Conventional Commits.
[X] I did not modify the CHANGELOG.md nor the plugin version in pubspec.yaml files.
[X] All existing and new tests are passing.
[X] The analyzer (flutter analyze) does not report any problems on my PR.

Thanks for your contribution, but would be much better if you actually followed our contributors guide or at least looked at other open PRs to name the PR properly: https://github.com/fluttercommunity/plus_plugins/blob/main/CONTRIBUTING.md#55-create-a-pull-request


Can't import modules from packages created by mach-nix

I'm not sure if I'm doing things correctly, but I have a demo project that uses mach-nix to create a nix-derivation. When I drop into the shell, I am able access the package inside iPython.
But when I try loading it inside an environment with python37.withPackages as below I can't see my modules:
nix-shell -p 'with import (fetchTarball "https://github.com/korayal/mach-nix-demo/archive/master.tar.gz") {}; python37.withPackages (ps: with ps; [ ipython demo-library ])' --run ipython

Does this mean I'm using mach-nix wrong?

The ./demo directory in your repo is not a valid python module (It doesn't have a init.py file). Therefore find_packages() in your setup.py doesn't find any modules. As a result, only metadata is installed, but no python files.

In general it should work. The problem might be that your nixpkgs' python3 defaults to another python version than the one from mach-nix. That could be fixed by passing pkgs when importing mach-nix.
But it is usualy not agod idea to mix mach-nix generated python packages with the ones from nixpkgs. There is no guarantee that your python packages will be compatible. Also collisions will be likely since both sides might depend on different versions of the same libs.
It's best to always use mach-nix.mkPython and include external packages via packagesExtra

Thank you for your insight. it seems I've misinterpreted the use case of mach-nix. closing the issue.


Add PHPDoc method hints for allNullOrIs*

E.g. I used a Assert::allNullOrIsInstanceOf(...) in a __construct(), it's a valid function, but without a method PHPDoc. Is this intentional or should it be added?

The 'downside' of the current implementation is that the all and nullOr can be chained for however long the user wishes. e.g. nullOrAllNullOrInstanceOf would also be valid. So that means there is technically an infinite number of methods to support.
And if we document allNullOr...then nullOrAll... should be documented as well
The reasons for having the @method anotations are IDE auto completion, and static analysis tools. I'd personally like to solve those through some kind of annotation on the __callStatic method, but i don't think there is anything like that atm.
For now this isn't something i'm to keen on fixing as it doubles the work for most things related to this project.

BTW there was a PR proposed last year: #68

I understand, do whatever you think is appropriate. I just found these methods useful and wished they were documented (not seen as "undefined"). You can close this.

This will be closed after https://github.com/webmozart/assert/pull/126 is completed and merged.

Shouldn't this be closed as #126 is merged?


add  eurostreaming.diy and Anime World

Good morning great job , could you add some sites where to see sub ita TV series like “ eurostreaming.diy”? As with streaming community you only see those translated into Italian. Also if possible add “ Anime World ” to be able to see anime dubbed in Italian and not only subtitled . Thank you very much

Hi, I will see. I am quite sure multiple audios should appear with SC but I will check.
Moreover I had already planned to add an extra anime provider.

Added Animeworld. Eurostreaming added a captcha and it is not really reversable rn.


handleInsertUpdateSuccess json.parse where res already parsed to object

When insert new record to datagrid, server response in json. in the dx.aspnet.data.js line 156
d.resolve, check if mime is JSON (and that is true) but res already parsed as object, so when try to json.parse again return exception.
i had to fix that:
function handleInsertUpdateSuccess(d, res, xhr) {
    var mime = xhr.getResponseHeader("Content-Type"),
        isJSON = mime && mime.indexOf("application/json") > -1;
    d.resolve(isJSON && typeof res === "string" ? JSON.parse(res) : res);
}

How can I reproduce this?
Insert requests are executed with dataType=text, therefore response objects are not automatically parsed.
https://github.com/DevExpress/DevExtreme.AspNet.Data/blob/e3c3e88ecdf4c18acc90f858118e0e692c32ca7c/js/dx.aspnet.data.js#L57-L62


feat(send): Added send-tokens command

PR related to this trello task --> https://trello.com/c/aeBVxIpk

:tada: This PR is included in version 2.12.0 :tada:
Your semantic-release bot :package::rocket:


Added isReadyCheck

Exposed private redis client
Updated tests
Added setup.jest.js to eslintignore

TODO: Consolidate all hardcoded strings into a centralized location to avoid duplicate database collection names.


React DOM updating every instant on Drag

I am rendering multiple <Draggable> nodes in my app, using an array stored in the state. With the help of React's Chrome extension's "Highlight Updates" I could see that all of the different nodes being rendered using a map function were being re-rendered/updated every instant when I would drag any single node.
This seems like something that shouldn't be happening, especially considering that I used key prop as suggested by React while rendering a list of objects.
return (
        <React.Fragment>
            {nodes.map(
                node => (
                    <Draggable
                        key={node}        // node is a unique string
                        onStop={this.handleStop}
                        onDrag={this.handleMovement}
                    >
                        <div>
                               // content
                        </div>
                    </Draggable>
               ))}
        </React.Fragment>
    );

@STRML any thoughts on this?

Well, of course, the item you are dragging should be rerendered. And Draggable itself does not have a tight shouldComponentUpdate - I generally find it bad practice to implement one in libraries as it's a common source of bugs.
You can either extend the class as you import it to add a shouldComponentUpdate or write to its prototype if you are very worried about performance.

@STRML of course, the item being dragged is re-rendered, but in this example, every Draggable component (all of the items built using react-draggable, each having a unique key as recommended) gets updated on every instance of Drag of a singular item.
Sorry for pestering you but just wanted to know if this was expected behaviour. And thanks a lot for your time!

Is your parent re rendering?
On Mon, Mar 25, 2019, 10:32 PM Sreetam Das<EMAIL_ADDRESS>wrote:

@STRML https://github.com/STRML of course, the item being dragged is
re-rendered, but in this example, every Draggable component (all of the
items built using react-draggable, each having a unique key as
recommended) gets updated on every instance of Drag of a singular item.
Sorry for pestering you but just wanted to know if this was expected
behaviour. And thanks a lot for your time!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mzabriskie/react-draggable/issues/371#issuecomment-476461879,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABJFPzjPS13PyJNHso1ZJwOrBqgHO7oQks5vaZTkgaJpZM4YoFZ5
.


Create Zone Hold functionality

Description
Adds the ability to create a zone hold based on the hold API.
Has your change been tested?
I called the apis manually. I am happy to write tests, but I'm not sure where to get started. I could stub the responses, but since this is basically just calling the raw api, im not sure what I would be testing (no additional logic).
Screenshots (if appropriate):
Types of changes
What sort of change does your code introduce/modify?

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] This change is using publicly documented in cloudflare/api-schemas
and relies on stable APIs.

closes #1364

Codecov Report

Merging #1365 (c074f67) into master (b9ac804) will increase coverage by 0.15%.
Report is 142 commits behind head on master.
The diff coverage is 54.96%.

@@            Coverage Diff             @@
##           master    #1365      +/-   ##
==========================================
+ Coverage   48.33%   48.49%   +0.15%
==========================================
  Files         133      138       +5
  Lines       13023    13413     +390
==========================================
+ Hits         6295     6504     +209
- Misses       5201     5322     +121
- Partials     1527     1587      +60

Files Changed
Coverage Δ

access_application.go
72.72% <ø> (ø)

access_audit_log.go
79.31% <ø> (ø)

access_bookmark.go
72.44% <ø> (ø)

access_ca_certificate.go
68.00% <ø> (ø)

access_group.go
70.00% <ø> (ø)

access_identity_provider.go
66.32% <ø> (ø)

access_keys.go
71.42% <ø> (ø)

access_mutual_tls_certificates.go
68.86% <ø> (ø)

access_organization.go
53.84% <ø> (ø)

access_service_tokens.go
51.85% <ø> (ø)

... and 119 more

... and 1 file with indirect coverage changes


Dispatch reporting dynamically

Not sure how to accomplish this since we're using the URLs

We can provide the TA1 teams the GH action they can attach in their flow so they can incorporate into their CI


Update all npm deps

Excludes typescript as the tests don't build (npm run compile:test)

@dependabot ignore this major version

Superseded by https://github.com/badsyntax/vscode-spotless-gradle/pull/153


[Revised apis] - Parse and Resolve

Creating pull request so it's easier to see file changes.

@howdyjessie, @robes: I read through some more information about promises and figured out what was wrong with my code before. I cleaned it up and think that it is all set to be merged into master.
This contains the functionality of parse and resolve as well as creating the basic structure of the Reference object. You can test it here with my corresponding changes to record-two.

@robes, @howdyjessie: I made the changes that @robes suggested in his comments. The Reference constructor no longer relies on the parse function and parse uses the ermrest resource URI instead of chaise URI.
The above URL for testing the app is still valid.

Changes from @robes's last comments. Made table private, resolve is attached to the module ERMrest instead of the factory, columns returned to null (will update in next set of changes).

Added cid parameter based on @howdyjessie's last set of changes.

@jrchudy I just made changes to return the api to the original sketch that resolve should take a uri. I also updated the implementation of parse so that it can extract the base uri and path. Do you have anyway of validating that it works?


donation missing

because my father can use his koubachi sensors for 2 months now with koubach-pyserver without issues he asks if there is a possibility to donate a bit to your project. irrc paypal would be preferred. Further I can provide a small bash script which provides monthly/weekly graphs of the sensor data based on the csv files for those not using some sort of 'homecloud'. I may post it as a gist somewhere.

Hello !
I am setting up koubachi pyserver right now and it deserves a donation for sure, can you add a paypal link ?
@chwe17 : I would be very interested in your script to provide graphs. Could you share it somewhere ?

Hello Koubachi-owners!
Is it possible to add a "easy to understand" installation-manual for not very experienced users (like me). I use a Raspberry Pi and I'm almost done but something went wrong. I have the newest Python already installed on the Raspberry and I get following errors
Python 3.7 was not found on your system although it also installed. Neither pvenv nor asdf couldn't be found to install Python.
I think there's a wrong shortcut anywhere or the "double Python-installation" makes trouble.
Does anybody here have a detailled installation manual for "beginners"? Thank you very much....


Clarify use of seed data

Description
locs2.yml isn't meant to be the canonical repository of extant chapters, but people are getting confused.
Ask
I think it would be a good idea to cut it down to just a chapter or two. (Where was the first chapter? Are there any other obvious ones to pick?)
To Do

[ ] Annotate locs2.yml
[ ] Remove most chapters
[ ] Update docs

<3

(I'll work on this!)

NYC was the first chapter, SF is probably the largest

Good idea, @therufs...definitely no need to chase our tails on this if we can help everyone see what the purpose is here...

:idea: If we add locs2.yml to .gitignore, everyone can pull down the trimmed version and seed back in their own chapter as it makes them happy to do! Thoughts?


Add Collab Page

Description
Add a page for collaboration. This page contains the components for the editor and question box.
I have currently limited the support for the CodeMirror's syntax highlighter to java only as the prettier API, for code formatting, does not have plugins for other popular languages such as python, C++, and etc.
Checklist

[X] UI
[x] Integrate collaboration service
[x] Add code formatter
[x] Replace dummy room-id with real one
[x] Replace dummy username with real one
[x] Forfeit and Submit button functionality

Screenshots (if applicable)

Bug:
Submission reject notification on top-left instead of top-right

Add notification for when a user forfeits to inform the other user

If one user leaves the session (e.g. logouts), the other user is still able stay in the session. However, if the user remaining tries to submit, he/she is left waiting infinitely for the other user to come back. Would it be preferrable if the session just submits with one user in this case?
Not too sure if this is important as well or if I missed out on trying it out but I can't seem to see if my other peer has disconnected.

Thanks for raising this up. For now we assumed that the users do not leave the browser. We'll try to see if there's a way to keep track of the users connected to the websocket.

Thanks for the very detailed review @samuelim01 🫡🫡


Xamarin iOS: Error while loading assemblies: /Users/runner/.nuget/packages/grpc.core/2.33.0/runtimes/win/native/grpc_csharp_ext.x64.dll

We want to build our Xamarin iOS using Microsoft Azure Hosted agent with MacOS VM but we are having an error when it tries to load the GRPC assemblies, our Xamarin Android is working well with grpc and grpc core packages but not on Xamarin iOS.
Any help is greatly appreciated.
What version of gRPC and what language are you using?
c# - grpc 2.33.0
What operating system (Linux, Windows,...) and version?
Windows
What runtime / compiler are you using (e.g. python version or version of gcc)
OS: Macos-latest
.NET version: 2.0
grpc 2.33
grpc.core 2.33
Xamarin.iOS <IP_ADDRESS>
What did you do?
Steps of our pipeline
`pool:
vmImage: 'macos-latest'
variables:
buildConfiguration: 'Release'
outputDirectory: '$(build.binariesDirectory)/$(buildConfiguration)'

task: NuGetToolInstaller@1

task: NuGetCommand@2
inputs:
restoreSolution: '**/*.sln'

task: XamariniOS@2 -- FAILURE HERE **
inputs:
solutionFile: '/*iOS.csproj'
configuration: '$(buildConfiguration)'
buildForSimulator: true
packageApp: true`

What did you expect to see?
Build success
What did you see instead?
_CompileToNative:
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch @/Users/runner/work/1/s/ProjectName/ProjectName.iOS/obj/iPhoneSimulator/Release/response-file.rsp "--gcc_flags=-L/Users/runner/.nuget/packages/grpc.core/2.33.0/build/Xamarin.iOS10/../../native/ios/universal -lgrpc_csharp_ext -force_load /Users/runner/.nuget/packages/grpc.core/2.33.0/build/Xamarin.iOS10/../../native/ios/universal/libgrpc_csharp_ext.a -L/Users/runner/.nuget/packages/grpc.core/2.33.0/build/Xamarin.iOS10/../../native/ios/universal -lgrpc -force_load /Users/runner/.nuget/packages/grpc.core/2.33.0/build/Xamarin.iOS10/../../native/ios/universal/libgrpc.a"
Xamarin.iOS <IP_ADDRESS> (d16-8: 87a1b18d8 using framework: /Applications/Xcode_12.2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk
MTOUCH : error MT0009: Error while loading assemblies: /Users/runner/.nuget/packages/grpc.core/2.33.0/runtimes/win/native/grpc_csharp_ext.x64.dll. [/Users/runner/work/1/s/ProjectName/ProjectName.iOS/ProjectName.iOS.csproj]
Anything else we should know about your project / environment?
-Xamarin Android is working well
-The Pipeline is working well if grpc is removed.

I've assigned @jtattermusch, who knows the C# implementation quite well. I'm not familiar with the C# implementation, but I'm curious if https://github.com/grpc/grpc/tree/master/src/csharp/experimental#xamarin has any answers for you. What jumps out to me specifically is that your build shows grpc core v2.31.0, not 2.34.0 as you mentioned.

Starting from gRPC C# 2.34.x: in addition to the regular Grpc.Core dependency, you will also need to add Grpc.Core.Xamarin dependency to your project (which has the mobile-specific builds of c# native extension library). The Grpc.Core and Grpc.Core.Xamarin package versions must always match exactly for things to work.

I've assigned @jtattermusch, who knows the C# implementation quite well. I'm not familiar with the C# implementation, but I'm curious if https://github.com/grpc/grpc/tree/master/src/csharp/experimental#xamarin has any answers for you. What jumps out to me specifically is that your build shows grpc core v2.31.0, not 2.34.0 as you mentioned.

Starting from gRPC C# 2.34.x: in addition to the regular Grpc.Core dependency, you will also need to add Grpc.Core.Xamarin dependency to your project (which has the mobile-specific builds of c# native extension library). The Grpc.Core and Grpc.Core.Xamarin package versions must always match exactly for things to work.

Sorry for the confusion, I was trying different kind of grpc  versions just to see any difference on the error log. Unfortunately, if I use 2.34, I will get 106 more errors about grpc. I searched the new errors and its quite similar to this https://github.com/grpc/grpc/issues/19732 (except I dont use tvOS). Hoping for any feedback.

Sorry for the confusion, I was trying different kind of grpc  versions just to see any difference on the error log. Unfortunately, if I use 2.34, I will get 106 more errors about grpc. I searched the new errors and its quite similar to this https://github.com/grpc/grpc/issues/19732 (except I dont use tvOS). Hoping for any feedback.

What seems weird is that the error says it's trying to load /Users/runner/.nuget/packages/grpc.core/2.33.0/runtimes/win/native/grpc_csharp_ext.x64.dll. - it should be trying to load  an iOS specific version of that library (why would a windows specific dll be loaded on a MacOS machine that is running iOS simulator?).

What seems weird is that the error says it's trying to load /Users/runner/.nuget/packages/grpc.core/2.33.0/runtimes/win/native/grpc_csharp_ext.x64.dll. - it should be trying to load  an iOS specific version of that library (why would a windows specific dll be loaded on a MacOS machine that is running iOS simulator?).

I'm going to close issue this since we're not going to pursuit Unity/Xamarin support in Grpc.Core anymore.

The Grpc.Core implementation is now in maintenance mode and we're only going to focus on critical and security fixes.
Supporting Unity/Xamarin simply presents too much maintenance overhead and it's also difficult to test with the test infrastructure available to us
The Unity/Xamarin support has always been classified as "experimental", so discontinuing the support shouldn't be too surprising.

See the recent update on gRPC C# for more details.
Note that in practice, running Grpc.Core on Unity/Xamarin might still be possible (there is nothing in principle that would prevent it from working), but it will be completely at your own risk and it's simply not one of the use cases the grpc team will help you with as Grpc.Core on Unity/Xamarin is now considered as "not supported" by us (but you might still be able to get help from the community).


Sketch: adding override-only mark types to auto

See https://github.com/observablehq/plot/issues/1422

Still a decent idea, at least for box plots, but stale and trivial, so closing for now! More in the issue: https://github.com/observablehq/plot/issues/1422

Seems like a quick win if we want to add box charts to the chart cell. I’m supportive! (Voronoi seems more dubious.)

Just checking in on my stale PRs…

This should wait for https://github.com/observablehq/plot/pull/1843
This would benefit from https://github.com/observablehq/plot/issues/1330, but I don’t think that blocks it


Is there a way to use a data frame instead of a file path?

Really amazing work here!
Is it possible to pass a data frame as the data_url? I am trying to use this with a MySQL database, and I would much rather have the data be stored in the session temporarily (as a data frame) rather than it be cached on the disk permanently (or until someone deletes it).
If you can offer any advice, that will be much appreciated!

@shariqak14 , thanks for this; for sure we can start supporting raw_data inputs. Check out the below potential data input formats:

list of lists (attributes form the first list item, e.g. [["Age", "Salary"], [19, 1000], [21, 1320], [25, 4330], ...]
dict of lists (attributes are dict keys, e.g., { "age": [19, 21, 25, ...], "salary": [1000, 1320, 4330, ...]}

I will add support for these in the next three-four days. Is there an alternative input format that you think will be useful?

Thanks a ton, @arpitnarechania! Either format works for me.

@shariqak14 , NL4DV now supports passing local file objects as well as files hosted on the web using the new data_url parameter. For your use-case, you can use the data_value param that lets you input a list, dict, or a pandas dataframe.
Please check the updated documentation for examples. These changes are available in a new version, nl4dv==0.0.4.
With this, I am closing this issue. Let me know in case of any issue.

@arpitnarechania, thank you so much for this addition. It works perfectly!


remove npm install instructions

because it is installed via nodejs
https://www.npmjs.com/get-npm

Agreed. I'll also do some more updates to the readme.


Animating dynamically created elements

When targets are assigned, they stay like that. If I assign any ".animate" class and then dynamically create new .animate elements, they won't be included and I see no way to refresh the selection. Maybe I'm not being creative enough, but the only way I thought of was to reapply the entire animation via repeating anime({}) and overwriting the previous assignment. How can I just refresh the selection instead?

You can't refresh the targets parameters without restarting the animation.
Dynamically added elements must be animated separately.
One way to do it is to wrap the anime call and the element creation together :
function createElement() {
  var el = document.createElement('div');
  anime({
    targets: el,
    width: ['0px', '100px'],
    duration: 3000
  });
  document.body.appendChild(el);
}

http://codepen.io/juliangarnier/pen/mOGpzP


Preferred Camera Device is not working on Android

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
I want to take a picture using the front camera.
but it always opens the rear camera
final file = await ImagePicker().pickImage(
source: ImageSource.camera,
preferredCameraDevice: CameraDevice.front,
);
Expected results
I want to open the front camera by default
Actual results
it always opens the rear camera
Code sample
Code sample
final file = await ImagePicker().pickImage(
                        source: ImageSource.camera,
                        preferredCameraDevice: CameraDevice.front,
);

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

Hi @always-together12
Which device are you working on? And what's your current image_picker plugin version?
I check this issue on my device (Pixel 3a, Android 12) but it works as expected. I'm using image_picker sample code.

I tested it on both Real Device(Samsung Galaxy S23 Android 10) and Emulator(Pixel 5 Android 10).
All are not working

Thanks for your response. I've just checked again documentation and found this:
  /// Defaults to [CameraDevice.rear]. Note that Android has no documented parameter for an intent to specify if
  /// the front or rear camera should be opened, this function is not guaranteed
  /// to work on an Android device.

Related PR: https://github.com/flutter/plugins/pull/3037
And this also has been explained at https://github.com/flutter/flutter/issues/55644#issuecomment-691079453. You can try a hack there to see if it works on your device.
I'm therefore going to close this issue as not an issue with the plugin, but a current limitation on Android.


Remove all code related to writing topic slugs and links

Tagging of hmrc manuals will be handled by the content tagger app. This
entire subset of functionality dealing with topic/manual mappings and
the writing of topic data to the details/links hashes is no longer
required in this codebase.
As the publishing of topic data is currently switched off in production, this should be safe to merge and deploy even in the absence of the required config changes to content-tagger that enable tagging for hmrc manuals (although those changes will be going in across the next few days).
Trello: https://trello.com/c/6Owhx9Vn

This code looks correct to me.  I'd merge, but I want the "custom" team to have a look over it first.

This seems legit.  Do we need to talk to HMRC about this change?  It was off in production so I'm guessing not.  I'll check before I merge though.

But... but... the CSV I spent two days manually compiling and then fixing my typos! :sob: :stuck_out_tongue_winking_eye:

After discussion with @marksheldonGDS we'll merge this after the content-tagger changes are live.

@h-lame @marksheldonGDS The content-tagger change is now live. HMRC manuals can be tagged up with topics and organisation via the content-tagger web interface.
As discussed, making topic updates via content-tagger will not currently result in email updates being sent out. A conversation earlier today with @h-lame suggests this may not be an issue. Further, I'll very shortly be working on adding support for email notifications on updates to a document's links hash.
Naturally @marksheldonGDS should confirm first, but I think this code change can now be merged.

Having discussed this with @jennyd I'm happy to merge this.


Investigate Wifi Direct use for Thali

Scenario: Bluetooth... slow. Wifi.... faster.
 But Android implements a policy that requires users to confirm Wifi Direct connections. Bad.
Work Around: In theory what we can do is have one of the Android phones be a Wifi Direct Hot Spot. That can be done without interfering with normal wifi functionality. However, unless we use the Wifi Direct client ApI (and trigger the stupid permission dialog) we have to change the other's WifiManager to point at the first phone's hot spot. We would move the SSID and Password over BLE or Bluetooth.
Investigation:

Fire up the code in BTLib to make sure it still behaves itself properly in terms of forming Wifi Direct Hot Spots and connecting to them.
Take a look at NetworkRequest.Builder and see if there is anyway to use setNetworkSpecifier to open two simultaneous Wifi connections (I'm guessing not but I'm desperate).
Measure the kind of bandwidth we get on these hotspot connections and how the bandwidth changes as more peers connect to the hotspot (e.g. do we get a linear degradation in speed or super linear?)
Measure how long it takes to start a wifi hotspot and how long it takes a phone to connect to that Hotspot.
How do we do IP address assignments? I just don't remember anymore how this was handled. How does the client get an IP address to use over the wifi connection? I assume we use non-routable addresses for clients and use ARP or something to claim them. What about the server? What address should it use? How does it get it?
We have to test that we can successfully run SSDP which means we have access to multicast channels.

Priority:
2, 6, 3, 4.

NetworkRequest is not suitable for our scenario

NetworkRequest is not suitable for our scenario

NetworkRequest is not suitable for our scenario

NetworkRequest is 'passive'. You say "IF there is a Wifi connection with the following characteristics then we will connect" but we can't force the connection. So we can't use it.
Now we are investigating multicast support.

I meant "If we already have a connection with the following characteristics we will send our data"

Multicast seems to work between devices connected to the group owner but the group owner doesn't seem able to listen.
So let's focus for now on what is the data perf over Wifi? And how long does it take to connect (and can we do it reliably?)

I implemented base version of the test to measure the following commands chain:

Find network
Connect to that network
Get system notification that we successfully connected

I ran described test around 10 times on Samsung S6 and got results from 1900 to 4900 milliseconds

An interesting fact:
On Nexus 6p and HTC 10 if we call createGroup in wifi direct, the name and the password of the created access point is always the same for particular phone. On Samsungs S6 and S7 the name and the pass are different between createGroup calls.

For some reason we can't setup connections. We are getting 'network unreachable' errors and we can't find any obvious reason for it.

Figure out what the bandwidth is.
We should investigate proper wifi direct, with the dialog and everything. If that works properly then if we have say 3 phones and they all want to connect to each other, will that work? in other words, can a single phone connect to multiple simultaneous wifi direct groups?
If phone A has joined B's group, what happens if phone B tries to join A's group?
If someone accidentally says no to the wifi direct permission dialog, what happens if we try to join that wifi direct group again?


Feature/kit bundles documentation

Johannes just announced that the CFMM website moved the domain to cloudfoundation.org. Since you're already touching the relevant files in this PR, you may consider changing the URLs while you're at it, i.e., replace
https://cloudfoundation.meshcloud.io/maturity-model/?selectedTool=Azure%20LZ%20Terraform%20module%20-%20ES
by
https://cloudfoundation.org/maturity-model/?selectedTool=Azure%20LZ%20Terraform%20module%20-%20ES


Disable inbox reminders by default when creating a service

Closes #531.

@abom i think you misread the issue. We don't want the the 'Do you want a sandwich' broadcast to be enabled by default


404 - GET http://SERVER_IP_ADRESS:8080/get-basic-data?page=1

I'm trying to deploy with docker, but when I visit the site by 8080 port, it shows nothing, chrome debug message as above.
I configured praw.ini just like below:
[ClientSecrets]
client_id=a_14_character_string_from_reddit
client_secret=a_27_character_string_from_reddit
user_agent=my_app_name

The backend and frontend container built well and running healthy,  docker logs show no error message.
I found after I deploy the service by docker-compose up -d, there is two new files generated under back/data folder: 2021-04-06_financial_df.csv and  2021-04-06_tick_df.csv.

You need to run the backend along with the backend

You need to run the backend along with the frontend

Hi abbas, thanks for repply, I checked the running container, and pretty sure that backend running well along with the frontend.
> docker ps | grep reddit-stock shows:

I just checked, it is an issue with the frontend probably. The Dockerfile seems to be the problem.

I think the problem maybe caused by frontend query the wrong backend port.
The frontend try to GET data from :8080/get-basic-data, but the backend service is actually running on 5006, I tried query :5006/get-basic-data and it returns the right data.

Also, another dummies question related to this issue:
It's seems like by current docker-compose.yml setup, I can only use virtual IP or hostname 'backend' to retrive data from backend container. I entered into the frontend container, use curl localhost:5006/get-basic-data and get nothing since it's refused.
I'm not famaliar with Vue or React, just checked your frontend code, and don't know where did you set the backend IP or hostname with service port, could you send me to there?

https://github.com/iam-abbas/Reddit-Stock-Trends/blob/c9b3b0a4131daf5d00e65db889ce9a1280d49625/front/src/api/ticksData.ts#L4
And
https://github.com/iam-abbas/Reddit-Stock-Trends/blob/c9b3b0a4131daf5d00e65db889ce9a1280d49625/front/.env.example#L1
From what I understand your backend is failing. Can you check the logs? While building docker (with ––no–cache) and logs with docker logs –f <backend_container_id>

@jjdblast  The Vue frontend is using 8080 for API calls as it defaults to the same address/port as its own server. You need to create a new file ./front/.env and copy the contents of ./front/.env.example to it. The VUE_APP_API_URL variable within .env tells the frontend what the basepath of the API is.

@Tyler-Barham @iam-abbas
Thanks for your help, the backend container works well and no error message at all. After some struggling, I created a new ./front/.env file like :
VUE_APP_API_URL=http://<MY_SERVER_EXTERNAL_IP>:5006/

and suddenly everything work like a charm.
I'm still a little confused, since when I first time configure the ./front/.env by localhost, it still not worked and error message attached.
VUE_APP_API_URL=http://localhost:5006/

I found a similar question about this, hope this may help others.

I hope this is resolved


Implement backend using Express.js, Node.js, Sequelize.js, and PostgreSQL

Implement a new backend using Express.js, Node.js, Sequelize.js, and PostgreSQL.

Models: Define models for User, Address, Order, OrderItem, Product, and Category using Sequelize.js.
Controllers: Implement controllers for user, order, product, and category functionalities.
Services: Implement services for user, order, product, and category business logic and database operations.
Middleware: Implement authentication and error handling middleware.
Utilities: Implement validation functions using Joi and JWT token handling functions.
Routes: Define routes for user, order, product, and category endpoints using Express.js.
Tests: Implement unit tests for user-related functionalities using Jest.
Documentation: Update README.md to reflect the new backend implementation and add instructions for setup and testing.
Swagger: Define API documentation using Swagger for all endpoints.
Postman: Create a Postman collection with requests for all endpoints.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Applying patch failed, log shows "Error: could not push to origin master."

https://results.llvm-merge-guard.org/BETA_apply_patch-659/console-log.txt
+ /mnt/disks/ssd0/agent/workspace/BETA_apply_patch/llvm-premerge-checks/scripts/phabtalk/apply_patch2.py 255651 --token **** --url https://reviews.llvm.org --comment-file /mnt/disks/ssd0/agent/workspace/BETA_apply_patch/results/.phabricator-comment --push-branch
Syncing local, origin and upstream...
Error: could not push to origin master.
Cmd('git') failed due to: exit code(1)
  cmdline: git push origin master
  stderr: 'To github.com:llvm-premerge-tests/llvm-project.git
 ! [remote rejected]         master -> master (cannot lock ref 'refs/heads/master': is at 041080c247351da15b6bb21a7196c8dc9bc6babc but expected 448b777b864a312e3b2ceae1e0cd59752a1fe90e)
error: failed to push some refs to 'git@github.com:llvm-premerge-tests/llvm-project.git''

Thx for finding and reporting this one.
Well, this looks like a concurrency issue with two build pushing to master. I was hoping git could handle that in some magic way. Alright, then I need to find a way to do that manually...

Master being up to date is not acually required for our use case. And it will get updated in later builds anyway. Changed the log output from "Error" to "Info".


Evaluator review: Chronicle Milestone 1

Review, approve or deny https://github.com/eosnetworkfoundation/grant-milestones/pull/79

Re-assigned from @arhag to @linh2931.

Closed per @ericpassmore comments on https://github.com/eosnetworkfoundation/grant-milestones/issues/82


chore: fix deploy progress bar

Fixes RVT-4116

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#590  👈 (View in Graphite)
#589
#588
#587
#586
#585
#584
main

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


⚠ sandbox-api.piste.gouv.fr healthcheck has degraded performance

In 730d3b5, sandbox-api.piste.gouv.fr healthcheck (https://sandbox-api.piste.gouv.fr/cassation/judilibre/v1.0/healthcheck) experienced degraded performance:

HTTP code: 200
Response time: 2589 ms

Resolved: sandbox-api.piste.gouv.fr healthcheck performance has improved in 5ae2b56.


Not updating

Hey! I change the cron to run every minute and I left it running over night, nothing changed in the gist. My wakatime profile says the correct stats but not the gist, yes I have the correct API key and the correct gist id, it just won't update!

The WakaTime endpoint we hit only updates once a day, which is why we set the cron to only run once a day.

oh!


"es_exception called without error!" - a frequently seen message

Introducing a deliberate error into a script (using print()) produces the message, as do other errors -
exception executing script
ReferenceError: print is not defined
	at eval (eval at executeScriptHelper (c:\Users\tom\.vscode-oss\extensions\boltex.leojs-0.2.8-universal\dist\extension-node.js:2:1065610), <anonymous>:9:1)
	at eval (eval at executeScriptHelper (c:\Users\tom\.vscode-oss\extensions\boltex.leojs-0.2.8-universal\dist\extension-node.js:2:1065610), <anonymous>:13:3)
	at Commands.executeScriptHelper (c:\Users\tom\.vscode-oss\extensions\boltex.leojs-0.2.8-universal\dist\extension-node.js:2:1065648)
	at Commands.executeScript (c:\Users\tom\.vscode-oss\extensions\boltex.leojs-0.2.8-universal\dist\extension-node.js:2:1064871)
es_exception called without error!
saved: workbook.leo

It seems to be a minor error, but it seems pointless it it gets omitted over and over.  The exclamation mark at the end becomes annoying, too.

@tbpassin Thanks for reporting the 'es_exception called without error!' message.
I was hunting for them some days ago - seems like I missed the one that is occurring when running a script triggers an error!

@tbpassin I found the bug: the actual check for es_exception being called without an error parameter was wrong.
Thanks again for filing in this issue! 😁

@tbpassin
Fixed in https://github.com/boltex/leojs/pull/106 🥳


[WIP] Implementation of np.linalg.inv using Lapack

I started working on implementing np.linalg.inv using the cython Lapack binding found in scipy. I am far from finished but I would like some advices as I am not at all familiar with the internals of numba.
I will summarize my main questions here (they also appear as inline comments in my changes) :

in _helperlib.c integer seems to always be passed as Py_ssize_t. When calling LAPACK functions I need to provide integer pointers used as return values should I also use Py_ssize_t.
to create new arrays for internal use I compiled functions calling numpy functions. Is this the right way to go ? If yes, what is the exact return type of the function ? should it be treated as the numpy arrays passed as input arguments ?
for raising exceptions I am also using compile_internal, is that correct ?
when using numba types (such as integer), how should those types be instantiated in signatures ?

Any other comment is of course welcomed !
Thanks
Matthieu

I fixed some errors in the _helperlib.c preventing the installation of numba. I then tried to create a function calling np.linalg.inv to try to debug my code. However I got a message saying that inv is an unknown attribute of numpy.linalg. Should I somehow declare the np.linalg module and not only lower the numpy.linalg.inv function ? Any pointer on how to debug this would be much appreciated.

Hi Matthieu,
You'll have to add a typing definition for the np.linalg.inv function. You can do this in the numba.typing.npydecl module (look for "matmul" there for other linear algebra declarations that you can inspire from). Hopefully the code there is understandable enough by itself, if not don't hesitate to ask questions.

BTW, just a heads up: We're in the process of migrating Numba over to LLVM 3.7 (things are still a little broken, but should stabilize shortly).  This should not affect your PR directly, but if you merge in master, you'll need the latest llvmlite master (which in turn needs LLVM 3.7.1 to build).
If you are using conda, you just need to:
conda install -c numba llvmlite

to get the latest development packages of llvmlite from our conda channel.

Thanks @seibert. I have not yet merged with master but it is good to know. By the way what is the preferred workflow for numba should I use merge or rebase ?
Thanks @pitrou that got me a bit further. Now I am basically stuck when passing an integer pointer for info. I still do not know if my C declaration is correct (see previous question) and I cannot find how to get a pointer to a variable created using cgutils.alloca_once (not sure if this even the way to go). Could you help me with that ?

Now I am basically stuck when passing an integer pointer for info

Ah, yes, sorry. Are you talking about the ipiv parameter? If LAPACK expects an array of C integers there, the corresponding Numba type is types.intc. You can convert between Numba types by calling the cast() method on the target context (e.g. context.cast(builder, some LLVM value, types.intc, types.intp) to convert from intc to intp).

I cannot find how to get a pointer to a variable created using cgutils.alloca_once (not sure if this even the way to go)

A variable created using alloca_once is already a pointer. Note you need to pass the number of elements to allocate, if there is more than 1 (which is the case here, I assume).
I haven't looked at your code yet, do you need a review now?

Actually for ipiv I allocated the array by calling numpy but I can probably get rid of that by using alloca_once. The pointer issue exists also for info that is a true int. Actually I was probably confused between intp and intc. I will try to give it a look.
The code in arraymath.py is far from being ready for review as I am still figuring how numba works, however you can a look at numba.typing.npydecl.py and _helperlib._c. As mentioned earlier I am not sure when to use Py_ssize_t over int.

Just for the sake of clarity, intc is a C int while intp is a Py_ssize_t.
Py_ssize_t (aka intp) is the preferred type for indices and sizes, so you should use it unless an external API forces you to use a C int (which is the case here :-)). The difference is on 64-bit platforms where Py_ssize_t is 64 bits while int is 32 bits.

Thanks for the clarification !

BTW, to answer your earlier question: We typically just merge master, rather than rebase PRs.  This tends to work better as we sometimes split up set of related updates into a chain of PRs that depend on each other.

In response to https://github.com/numba/numba/pull/1651#issuecomment-174980238 it's probably best to keep arrays off the stack, alloca is fine for a few temporaries, but large scale allocations dependent on the scale of the input array should go on the heap so as to not blow the stack.

To allocate on the heap, I guess I should use compile_internal on a function using numpy to allocate an array, is this right or as the array does not exit the scope of the function there is a better solution ?
So far I managed to reach the IR parsing step. I commented out the exception raising for invalid arguments as I was getting a NotImplentedError $0.5. IR parsing crash with what seems a weird error message on the conditional I use for testing the info value by saying that integer constant must have integer type and pointing to the 0 in the comparison. I followed the pattern I found in another function creating a constant using ir.Constant and specified the type so I am a bit lost here.

To allocate on the heap, I guess I should use compile_internal on a function using numpy to allocate an array

That would be a bit heavy-handed. Instead you can use the _empty_nd_impl() function from numba.targets.arrayobj, which will return you an array structure with a data pointer pointing to a newly allocated memory area.

I can use _empty_nd_impl for ipiv without any issue. For the work array however I need first to compute the size that I get either as a float or a complex (returned under as work[0]). Compiling the python function looks like the easy solution for that, is there any easy way to do that using the builder ?

If the allocation is non-trivial, you can certainly compile a Python function for it. It's the compilation that shows overhead. Hopefully at runtime there won't be much difference.

Hi,
I managed to eliminate all the compilation errors but now I have an issue with the error checking which apparently (given the error message) always find the matrix matrix to be singular even for trivial diagonal matrices. So at this point if somebody could quickly review the code in arraymath.py and most particularly the error checking in the mat_inv function I would be grateful.

Think this switch table is looking up the wrong routines:
https://github.com/numba/numba/pull/1651/files#diff-f17887818584ba3882788794709437c7R1570
d -> dgetrf
s -> sgetrf
same in the xgetri case.
That should help with getting the right numerical values out.
If this is becoming too difficult, please do shout and we'll tackle it :-)

Thanks @stuartarchibald !!!!!!! It now works for all types on trivial diagonal matrices !
I will now focus on writing test.

I started adding tests. Actually I cannot get them to work on F aligned arrays I get a typing error :
No conversion from array(float64, 2d, C) to array(float64, 2d, F) for '$42.4'

I need to polish one or two things but it is nearly ready. If @pitrou could comment on the error checking part of the code (does info_val need to be reloaded after each call to a function writing into info ?

does info_val need to be reloaded after each call to a function writing into info

Yes, it does need to (assuming you're interested in the new value, of course). info is a pointer to a stack-allocated slot here, so reloading is simply dereferencing the pointer.

Thanks @pitrou I missed the fact that copy always returned C aligned arrays. Tests should now pass.
I updated the code to reload info_val after each call and re-built the conditions too.
Does array_copy support non-contiguous arrays (it is not clear to me from the code whether it does or not). If it does we can remove the limitation on np.linalg.inv as we always copy the array.
This is good for review and merge from my end.

Thanks @MatthieuDartiailh, will take a look. Any chance you could squash these commits (20+! :-)) down please?

Yes of course. Once the review is done I will squash them.

Does array_copy support non-contiguous arrays (it is not clear to me from the code whether it does or not). If it does we can remove the limitation on np.linalg.inv as we always copy the array.

yes, array_copy works on any arrays (and the result is always C-contiguous).

@MatthieuDartiailh Thanks very much for the patches and work to implement this function, it's a great start to np.linalg support. I am largely happy with the work within and recommend merging on your approval @pitrou (conditional on remaining trivial things being fixed and a squash! :-)).

I squashed and tried to address all reviewer remarks. Actually I cannot get the test to pass locally (some issue with llvmlite being unable to find libllvmlite.so) but Travis is happy.

Using conda and installing from numba channel (both llvmdev and llvmlite).

That's rather weird. This doesn't hold this PR but it would be good if you could test locally :) Perhaps post on the mailing-list about your problems?

Thank you for the contribution, and for your persistence!

Thank you for your invaluable help and patience with me ! Hopefully I will find more time to contribute to this awesome project.


Updated developer documentation for the new build process; fixes #39

I updated the "Environment Setup" portion of the developer documentation.

Great work thanks!


Use CUID to generate a unique state for authentication

We should use a valid UUID to generate the a state. CUID (https://github.com/ericelliott/cuid) seems worth a try.

Fixed with https://github.com/aquasonic/MyHome/commit/b9d765c4b402053cf2dc4b95e75beedaa628740d


Adds recursive __all__ dictionary

Description
Been proposed in #3866
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[ ] No style issues: $ pre-commit run (or $ nox -s pre-commit) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[ ] All tests pass: $ python run-tests.py --all (or $ nox -s tests)
[ ] The documentation builds: $ python run-tests.py --doctest (or $ nox -s doctests)

You can run integration tests, unit tests, and doctests together at once, using $ python run-tests.py --quick (or $ nox -s quick).
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

Also related to #2427

Planned to add some directives to contribution guide as well but I believe it should be fine without that, we just have to little bit more careful on the PRs modifying method & attribute names or adding new of them.

Feel free to merge it after approval.

Is this something that needs to be updated frequently?

No, as long as we're not changing the API frequently. It does need to be updated when adding new features, though.
The goal will be that once we have a stable public-private API demarcation, __all__ will reflect the public API.

Just a gentle ping to @Saransh-cpp to review this and go forward with it if looks fine, Thanks :)


not work

it's not work. my app crashed.
#ifdef __BLOCKS__
__OSX_AVAILABLE_STARTING(__MAC_10_6,__IPHONE_4_0)
DISPATCH_EXPORT DISPATCH_NONNULL_ALL DISPATCH_NOTHROW
void
dispatch_once(dispatch_once_t *predicate, dispatch_block_t block);

DISPATCH_INLINE DISPATCH_ALWAYS_INLINE DISPATCH_NONNULL_ALL DISPATCH_NOTHROW
void
_dispatch_once(dispatch_once_t *predicate, dispatch_block_t block)
{
	if (DISPATCH_EXPECT(*predicate, ~0l) != ~0l) {
		dispatch_once(predicate, block); // crashed here
	}
}
#undef dispatch_once
#define dispatch_once _dispatch_once
#endif

sorry my bad. it worked. i just did it wrong.

@ckrad I got the same error when trying to run the example script. What were you doing wrong?

@ckrad How did you end up fixing this?

@ckrad Could you please let us know how you fixed this issue?

Could someone please post a response on how to fix this? I followed the instructions step by step, and I'm getting the same problem.

As reported in #128 , it appears that loading the font file individually seems to solve the problem. If you choose the folder and import it, something somewhere breaks it.


depend on python-transforms3d-pip

Thank you for this convenience package!
Instead of install instructions in the readme, why doesn't this package simply list python-transforms3d-pip in the package.xml?
This means tooling like rosdep install can pick it up from there.

So I originally took it out in 84167ffd1efaf0a36bcbf57072cbacf7e2351a9f because it would not be automatically installed as part of the binary, but you are correct in pointing out that it would help rosdep.

So, now I remember, that the buildfarm doesn't really play nicely with pip dependencies: See this buildfarm job
14:35:22 Identified the following build dependencies (ignoring packages available from source):
14:35:22   - python-numpy
14:35:22   - python-transforms3d-pip
14:35:22 Resolved the dependencies to the following binary packages:
14:35:22   - python-numpy
14:35:22   - transforms3d
14:35:22 Traceback (most recent call last):
14:35:22   File "/usr/lib/python3/dist-packages/apt/cache.py", line 299, in __getitem__
14:35:22     rawpkg = self._cache[key]
14:35:22 KeyError: 'transforms3d'
14:35:22
14:35:22 During handling of the above exception, another exception occurred:
14:35:22
14:35:22 Traceback (most recent call last):
14:35:22   File "/tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py", line 306, in <module>
14:35:22     main()
14:35:22   File "/tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py", line 142, in main
14:35:22     get_binary_package_versions(apt_cache, debian_pkg_names))
14:35:22   File "/tmp/ros_buildfarm/ros_buildfarm/common.py", line 175, in get_binary_package_versions
14:35:22     pkg = apt_cache[debian_pkg_name]
14:35:22   File "/usr/lib/python3/dist-packages/apt/cache.py", line 301, in __getitem__
14:35:22     raise KeyError('The cache has no package named %r' % key)
14:35:22 KeyError: "The cache has no package named 'transforms3d'"

Really what we need is an apt version of transforms3d but I haven't had the energy to try to figure out how to do that.

I believe a dependency on python3-transforms3d is possible now on Jammy after https://github.com/ros/rosdistro/pull/33091 has been merged?

@DLu this is resolved now by https://github.com/DLu/tf_transformations/pull/11 , can we get a bloom release for iron and jazzy? Thanks :)


Custom value for options

Is there currently a way to add values to an option here is an example
<Option value={50000}>50,000 to 60,000</Option>

Right now i get a string of '50,000 to 60,000' which isn't super friendly i'd rather have 50000 as an int returned.

Nevermind that works


Add license header guidelines to CONTRIBUTING.md

Resolves #2

I wasn't sure about that. Based on my non-lawyer reading of the  CLA, it looks like as an external contributor you retain the copyright to your code but you grant a perpetual license to Google. In Chromium I've seen headers with multiple copyright holders, so maybe this PR could also say "feel free to add your name to the license header of files you modify"?


Fan levels not mapping correctly on Roborock S5 max

Hi all,
It seems that my installation does not map the correct fan levels <-> vaccum speeds.
I have a Roborock S5 max that I've correctly setup with Homebridge (token extracted with iOS backup).
I have successfully installed the plugin, and configured it. It appears in my Home app as a fan, but it seems that the different fan levels do not map correctly :
Levels from 0 to 83 seem to be mapped to weird stuff, there is no consistency (hearing from the device suction noise).
Level 67% seems to be louder than level 83% for example.
The 100% level seems to enable the water drops, strangely.
Is it a known issue, or have I done something wrong?
I'm running v1.2.5, plugin v0.16.1.
Many thanks !

Hi @nicolasbigot,
That model speeds are mapped to this one:
https://github.com/homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum/blob/de1253b4d41d9c6fc1aa907acf726cd15398639c/models/speedmodes.js#L182-L219
Apparently the 100% option is the Custom mode (not sure what that is), but it comes from this issue: https://github.com/homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum/issues/110

Custom allows to specify speed and mopping options for each room individually.
Ok so that makes sense for the 100%, but it seems that the other modes are shifted by one speed down (never reached the max speed).
Anyone else?

@nicoodeimos, so. Are you saying that there should be a miLevel: 105 that we are missing in the mapping?


RFC-78: Unify Path Behavior

ref: https://github.com/beyondstorage/go-storage/pull/749#discussion_r706979541

Mostly looks good to me, let's create a tracking issue for this RFC!


Timeline

At the academic level my chronology has been :
2017-2019: I studied the professional training of Network Systems Administrator.
2021-2024: I studied the professional training of Web Application Development.
In this last training we do small projects almost every week in different languages like Java, JS, PHP. We make small programs/applications in each language to get into the world of programming. Making small projects to manage the food that would be needed to maintain a farm with java, a kind of PAINT with JS, and finally we made API with SOAP and PHP both client side and server side. As a final project of the course I presented a project of a veterinary clinic to manage both the administrative part and a marketplace as well as a kind of social network for customers of the clinics where they could share experiences and interests.

I would say that has been all so far.


No support WHMCS 8.1

Installed this module on WHMCS 8.1, While trying to checkout it's giving the following error:
Oops!
Something went wrong and we couldn't process your request.
Please go back to the previous page and try again.

Whoops\Exception\ErrorException: require_once(): Failed opening required '/root/html/mijn/modules/gateways/mollie/vendor/autoload.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /root/html/mijn/modules/gateways/mollie/mollie.php:3
Stack trace:
#0 /root/html/mijn/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(64, 'require_once():...', '/root/html...', 3)
#1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown()
#2 {main}

Installed this module on WHMCS 8.1, While trying to checkout it's giving the following error:
Oops!
Something went wrong and we couldn't process your request.
Please go back to the previous page and try again.

Yes updated my self also it is a vendor issue i think

@lutjebroeker your issue is a duplicate of #44.
@EricExtremeHash please enable error logging and try again.

@Wouter0100
Error: Undefined class constant 'MAJOR_VERSION' in /home/jellebz436/domains/hosting.pcbyte.be/public_html/modules/gateways/mollie/vendor/guzzlehttp/guzzle/src/Utils.php:121
Stack trace:
#0 /home/jellebz436/domains/hosting.pcbyte.be/public_html/vendor/guzzlehttp/guzzle/src/functions.php(61): GuzzleHttp\Utils::defaultUserAgent()
#1 /home/jellebz436/domains/hosting.pcbyte.be/public_html/modules/gateways/mollie/vendor/guzzlehttp/guzzle/src/Client.php(194): GuzzleHttp\default_user_agent()
#2 /home/jellebz436/domains/hosting.pcbyte.be/public_html/modules/gateways/mollie/vendor/guzzlehttp/guzzle/src/Client.php(75): GuzzleHttp\Client->configureDefaults(Array)
#3 /home/jellebz436/domains/hosting.pcbyte.be/public_html/modules/gateways/mollie/vendor/mollie/mollie-api-php/src/MollieApiClient.php(269): GuzzleHttp\Client->__construct(Array)
#4 /home/jellebz436/domains/hosting.pcbyte.be/public_html/modules/gateways/mollie/mollie.php(47): Mollie\Api\MollieApiClient->__construct()
#5 /home/jellebz436/domains/hosting.pcbyte.be/public_html/modules/gateways/molliekbc_devapp.php(21): mollie_link(Array, 'kbc')
#6 /home/jellebz436/domains/hosting.pcbyte.be/public_html/vendor/whmcs/whmcs-foundation/lib/Module/AbstractModule.php(0): molliekbc_devapp_link(Array)
#7 /home/jellebz436/domains/hosting.pcbyte.be/public_html/vendor/whmcs/whmcs-foundation/lib/Module/Gateway.php(0): WHMCS\Module\AbstractModule->call('link', Array)
#8 /home/jellebz436/domains/hosting.pcbyte.be/public_html/vendor/whmcs/whmcs-foundation/lib/Invoice.php(0): WHMCS\Module\Gateway->call('link', Array)
#9 /home/jellebz436/domains/hosting.pcbyte.be/public_html/vendor/whmcs/whmcs-foundation/lib/Mail/Entity/Invoice.php(0): WHMCS\Invoice->getPaymentLink()
#10 /home/jellebz436/domains/hosting.pcbyte.be/public_html/vendor/whmcs/whmcs-foundation/lib/Mail/Emailer.php(0): WHMCS\Mail\Entity\Invoice->getEntitySpecificMergeData(53, '')
#11 /home/jellebz436/domains/hosting.pcbyte.be/public_html/vendor/whmcs/whmcs-foundation/lib/Mail/Emailer.php(0): WHMCS\Mail\Emailer->prepare()
#12 /home/jellebz436/domains/hosting.pcbyte.be/public_html/includes/functions.php(0): WHMCS\Mail\Emailer->send()
#13 /home/jellebz436/domains/hosting.pcbyte.be/public_html/includes/orderfunctions.php(0): sendMessage('Invoice Created', 53)
#14 /home/jellebz436/domains/hosting.pcbyte.be/public_html/cart.php(0): calcCartTotals(Object(WHMCS\User\Client), true, false)
#15 {main}

@EricExtremeHash zie #71.


Remove unused functions

I saw some warnings on my machine because FFmpeg 7.1 deprecated codec->pix_fmts (see https://github.com/FFmpeg/FFmpeg/blob/master/doc/APIchanges#L60)
c_src/xav/utils.c:7:14: warning: 'pix_fmts' is deprecated [-Wdeprecated-declarations]
    7 |   if (codec->pix_fmts == NULL) {
      |              ^
/opt/homebrew/Cellar/ffmpeg/7.1/include/libavcodec/codec.h:214:5: note: 'pix_fmts' has been explicitly marked deprecated here
  214 |     attribute_deprecated
      |     ^
/opt/homebrew/Cellar/ffmpeg/7.1/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
  100 | #    define attribute_deprecated __attribute__((deprecated))
      |                                                 ^
c_src/xav/utils.c:10:28: warning: 'pix_fmts' is deprecated [-Wdeprecated-declarations]
   10 |     for (int i = 0; codec->pix_fmts[i] != -1; i++) {
      |                            ^
/opt/homebrew/Cellar/ffmpeg/7.1/include/libavcodec/codec.h:214:5: note: 'pix_fmts' has been explicitly marked deprecated here
  214 |     attribute_deprecated
      |     ^
/opt/homebrew/Cellar/ffmpeg/7.1/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
  100 | #    define attribute_deprecated __attribute__((deprecated))
      |                                                 ^
c_src/xav/utils.c:11:43: warning: 'pix_fmts' is deprecated [-Wdeprecated-declarations]
   11 |       fprintf(stdout, "fmt: %d\n", codec->pix_fmts[i]);
      |                                           ^
/opt/homebrew/Cellar/ffmpeg/7.1/include/libavcodec/codec.h:214:5: note: 'pix_fmts' has been explicitly marked deprecated here
  214 |     attribute_deprecated
      |     ^
/opt/homebrew/Cellar/ffmpeg/7.1/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
  100 | #    define attribute_deprecated __attribute__((deprecated))
      |                                                 ^
3 warnings generated.
Compiling 3 files (.ex)
Generated xav app

The functions aren't used anywhere so maybe we can just remove them for now?

Thanks!


bugs with 1 decimal places in placeholderRate

When I try
<Rating 	empty={}  	full={          placeholder={} 	placeholderRate={2.8} />
when the placeholderRate in decimal place of 0.1, 0.2 , 0.8  and 0.9,
it will occurs check sum issues in Microsoft Edge browser and IE

Warning: React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server:
(client) dth:79.99999999999998%;" data-reactid=".
(server) dth:79.99999999999999%;" data-reactid=".

it work fine in other  browser.
Please fix the bugs. Thank you!!!

It looks like the width is computed differently on server and client side. Does it only happen with placeholderRate?  Does it happen with initialRate too?
<Rating empty={} full={} initialRate={2.8} />

Maybe the server side engine rounds doubles different than IE engine 😅. Maybe server engine is the same engine as used by Chrome giving exactly the same result.

Yes, it happens also with initialRate too.
Is it anyway to solve this issue on IE engine.
I check the behind code is using Math.floor() function.


Uploading multiple files in one --file argument

Is it possible to upload multiple files at once with one github-release upload command, or must each file be uploaded in separate commands?
For example, I was wondering if this was possible, from the README:
# upload a file, for example the OSX/AMD64 binary of my gofinance app
$ github-release upload \
    --user aktau \
    --repo gofinance \
    --tag v0.1.0 \
    --name "gofinance-osx-amd64" \
    --file bin/darwin/amd64/gofinance
    --file file2
    --file file3
    --file file4

+1

+1

It would also be nice, if all files from a directory could be uploaded at once. For example with --file path/to/dir/*

While this is possible to do, I'd tend towards keeping it a bit more UNIX. Is there any reason why you can't use the following, for example:
parallel github-release upload \
    --user aktau \
    --repo gofinance \
    --tag v0.1.0 \
    --name {} \
    --file {} ::: bin/darwin/amd64/gofinance file1 file2 file2

This uses GNU parallel, but xargs(1) can basically do the same thing. How does that sound?
@ostcar: You could do: parallel github-release upload ... --name {} --file {} ::: path/to/dir/*, no problem.

Here's how I did this with xargs.
ls -1 | xargs -n1 -P0 -I{} -- \
github-release upload --tag "${1}" --name '{}' --file '{}'

Also uploads in parallel.


Problem with MDVRPTW and SwapRoutes

During benchmarking, I noticed that the gaps on MDVRPTW instances PR16A/B and PR24A/B sometimes were very high for some seeds (13-26%). This happens for about 1/5th of the seeds.
I also ran the MDVRPTW benchmark with the vrptw.toml config instead of the mdvrptw.toml config. These results were much better simply because there were no large outliers.
So I suspect there's something wrong with SwapRoutes in combination with MDVRPTW. This issue serves to investigate this issue further.

Instances to check

I have also seen some performance issues for different vehicle types, but not looked into them yet. I suspect SREX could also be a problem as it basically ignores vehicle types during crossover, causing exchanged routes to be assigned to a different depot which may take quite long to recover in local search. I can imagine assigning a route to a different depot is much worse than assigning to a smaller/larger vehicle.

I'm running 100 seeds with the vrptw.toml config to see if outliers really don't happen with this config or if it was just luck. If there are no outliers, then SwapRoutes is the first thing I'll look at tomorrow. Otherwise, it might be worthwhile to look at SREX as mentioned by @wouterkool.


checkString ignores excludeFiles

It seems that the checkString function doesn't handle the excludeFiles section of the configuration as reported by several people using the Atom package linter-jscs here: https://github.com/AtomLinter/linter-jscs/issues/83
Their configuration is being loaded and processed properly, but when checkString is called with the file contents and the path of a file that should be ignored errors are being reported back.
Is this an issue here in jscs, or are we somehow utilizing it improperly here?

Well yeah, it is called "checkString" for a reason :-), it doesn't deal with paths, second argument is need just to tell the reporter where is the violation. In other words use "checkPath"

Thanks for the information, I guess we will have to work around this limitation in the package.
Note: Other linters handle their file ignore patterns if passed a string as long as they are also passed an original file path, so I assumed this was similar and just not working.

Hm, will you able to send us a pr? I suppose we can do that, if that is really needed. Would want you to create some hacks in your app, instead of just using it

I can try putting something together, it's going to be a while before I can get to it though. If somebody who is actually familiar with the code wants to take a stab at it that would be appreciated.


Cityscapes Label Data not importing correctly [BUG]

Commands to reproduce
# Load Citypersons Dataset

import fiftyone as fo
import fiftyone.zoo as foz

# The path to the source files that you manually downloaded
source_dir = "/Users/gilro/Desktop/Datasets/Cityscapes"

dataset = foz.load_zoo_dataset(
    "cityscapes",
    split="validation",
    source_dir=source_dir,
    person_annos=True,
    fine_annos=True,
)

session = fo.launch_app(dataset)

Describe the problem
When loading the Citypersons dataset, labels are not loaded with the images. The directory is set up as instructed in the documentation and the "person_annos" parameters are forced to true.
Code to reproduce issue
import fiftyone as fo
import fiftyone.zoo as foz

source_dir = "/Users/gilro/Desktop/Datasets/Cityscapes"

dataset = foz.load_zoo_dataset(
    "cityscapes",
    split="validation",
    source_dir=source_dir,
    person_annos=True,
    fine_annos=True,
)

session = fo.launch_app(dataset)

Provide a reproducible test case that is the bare minimum necessary to generate
the problem.
Other info / logs
Source directory set up as instructed below:

Output - "No Label Fields" as below:

Include any logs or source code that would be helpful to diagnose the problem.
If including tracebacks, please include the full traceback. Large logs and
files should be attached.
What areas of FiftyOne does this bug affect?

[x] App: FiftyOne application issue
[ ] Core: Core fiftyone Python library issue
[ ] Server: Fiftyone server issue

Willingness to contribute
The FiftyOne Community encourages bug fix contributions. Would you or another
member of your organization be willing to contribute a fix for this bug to the
FiftyOne codebase?

[ ] Yes. I can contribute a fix for this bug independently.
[x] Yes. I would be willing to contribute a fix for this bug with guidance
from the FiftyOne community.
[ ] No. I cannot contribute a bug fix at this time.

@ShaneGilroy When I run the code you shared the dataset loads properly.
I took a look at the docs page and I suspect the issue is that in:
source_dir/
    leftImg8bit_trainvaltest.zip
    gtFine_trainvaltest.zip         # optional
    gtCoarse.zip                    # optional
    gtBbox_cityPersons_trainval     # optional

gtBbox_cityPersons_trainval.zip is missing .zip. If you removed .zip from your version of the files then FiftyOne wouldn't find the file it expected, and thus it wouldn't load the annotations as you requested.

Hi Brian,
No, I noticed that the documentation left out the .zip extension and I have the full zip file in my folder. Have you been able to recreate the issue?

No I can't reproduce. Installing the latest version of FiftyOne:
pip install --upgrade fiftyone

with the Cityscapes files in a directory like so:
$ ls -lah /data1/home/brian/fiftyone-datasets/cityscapes/source/
total 13G
drwxrwxr-x 2 brian brian 4.0K Sep  8 09:11 .
drwxrwxr-x 4 brian brian 4.0K Sep  8 09:13 ..
-rw-rw-r-- 1 brian brian 2.2M Sep  8 09:10 gtBbox_cityPersons_trainval.zip
-rw-rw-r-- 1 brian brian 1.3G Sep  8 09:11 gtCoarse.zip
-rw-rw-r-- 1 brian brian 241M Sep  8 09:11 gtFine_trainvaltest.zip
-rw-rw-r-- 1 brian brian  11G Sep  8 09:10 leftImg8bit_trainvaltest.zip

Then running the code below loads the dataset with annotations as expected:
import fiftyone as fo
import fiftyone.zoo as foz

# The path to the source files that you manually downloaded
source_dir = "/data1/home/brian/fiftyone-datasets/cityscapes/source"

dataset = foz.load_zoo_dataset(
    "cityscapes",
    split="validation",
    source_dir=source_dir,
    person_annos=True,
    fine_annos=True,
)

session = fo.launch_app(dataset)

Can you upgrade your FiftyOne installation if necessary?
If you previously had gtBbox_cityPersons_trainval instead of gtBbox_cityPersons_trainval.zip and then ran load_zoo_dataset(), you might have loaded a version of the dataset without annotations. If you then made that dataset persistent, re-running the same load_zoo_dataset(...) command wouldn't reload the dataset, it would just load the existing one.
So, to further flush out your system, make sure you delete any existing dataset called cityscapes-validation.
One more thing to try would be to delete the existing unpacked files from previous times you loaded the cityscapes dataset. To see where these files are, run fiftyone config in your shell, then delete the ${dataset_zoo_dir}/cityscapes directory on your machine.

I'm guessing delete_zoo_dataset() will do the trick for you, because, if I run the following from a fresh environment:
dataset = foz.load_zoo_dataset(
    "cityscapes",
    split="validation",
    source_dir=source_dir,
    person_annos=False,
    fine_annos=False,
    coarse_annos=False,
)

to load only the images, then running:
dataset = foz.load_zoo_dataset(
    "cityscapes",
    split="validation",
    source_dir=source_dir,
)

immediately after will not load any annotations, because the dataset has already been "prepared" without annotations. But if I insert
foz.delete_zoo_dataset("cityscapes", split="validation")

in between then I'll get the annotations I wanted the second time.

Hi Brian,
Thanks for the feedback. I uninstalled fiftyone, fiftyone desktop and all related folders and done a complete new installation and it done the trick.
Thanks


Support text completion

It would be great if the mindmap supported the same text operations as the editor. There are two particular points I have in mind:

typing [[T normally gives me a list of all the possible pages to link to beginning with T, which doesn't work in the mindmap
using a hotkey to insert a citation nearly works - it pops up the window, but then doesn't insert the text

Quick demo of both issues:

It would be great if the mindmap supported the same text operations as the editor. There are two particular points I have in mind:

typing [[T normally gives me a list of all the possible pages to link to beginning with T, which doesn't work in the mindmap
using a hotkey to insert a citation nearly works - it pops up the window, but then doesn't insert the text

Quick demo of both issues:

you can try my other plugin : obsidian-markmind , it based on this project , it has basic mode , it support [[
https://github.com/MarkMindCkm/obsidian-markmind/releases
if you use markmind , please close this plugin


CI: switch back to use output-type in GNU tests with coverage

Switch back to using output-type in GNU tests with coverage. In GNU tests with coverage grcov is fetched from crates.io unlike in our tests, where we are building the latest repository commit. Fixes issue from run: https://github.com/uutils/coreutils/actions/runs/3467904909/jobs/5793205069
grcov supported output-type after their "breaking" output-types-introduction https://github.com/mozilla/grcov/commit/ee1604c22da3558616c4621235ef7890e668a6b2

oh ...
cc @marco-c

We support both output-type and output-types now


Using setup-beam action to install rebar3 and otp

using erlef/setup-beam to setup the environment
upgrade all erlang versions
create a matrix to test different kafka and opt versions
upgrade cache action to v2

Thank you so much. @robsonpeixoto


Revert "introduce request config and form"

Reverts ecmwf-projects/cads-worker#25

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


calling [super didMoveToWindow] in didMoveToWindow

This fix is needed for styling ProgressView (fx.) with Classy ( http://classy.as )

Thanks! This was definitely missing