🐛 BUG: wrangler pages publish returns 429 too many requests

What version of Wrangler are you using?
2.0.6
What operating system are you using?
Ubuntu inside WSL
Describe the Bug
I receive a 429 Too Many Requests error after uploading a site once the minute before:
 ~/projects/XXX master @desktop [13:22:01]
 ✗ CLOUDFLARE_ACCOUNT_ID=XXX wrangler pages publish --project-name XXX docs
Attempting to login via OAuth...
Successfully logged in.
▲ [WARNING] Warning: Your working directory is a git repo and has uncommitted changes

  To silense this warning, pass in --commit-dirty=true

🌏  Uploading... (750/750)

✨ Success! Uploaded 750 files (14.41 sec)

Using cached values in 'node_modules/.cache/wrangler'. This is used as a temporary store to improve the developer experience for some commands. It may be purged at any time. It doesn't contain any sensitive information, but it should not be commited into source control.
✨ Deployment complete! Take a peek over at https://64b1cd2e.XXX.pages.dev

 ~/projects/XXX master @desktop [13:23:11]
 ✗ CLOUDFLARE_ACCOUNT_ID=XXX wrangler pages publish --project-name XXX docs --commit-dirty
Using cached values in 'node_modules/.cache/wrangler'. This is used as a temporary store to improve the developer experience for some commands. It may be purged at any time. It doesn't contain any sensitive information, but it should not be commited into source control.

✘ [ERROR] ✘ [ERROR] Received a malformed response from the API

    <!DOCTYPE html>
    <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
    <!--[if I... (length = 4778)

    POST /accounts/XXX/pages/projects/XXX/file -> 429 Too Many
    Requests

    If you think this is a bug, please open an issue at:
    https://github.com/cloudflare/wrangler2/issues/new

🌎  Uploading... (0/750)

It's probably related to the issue #960, but it might be also a secondary rate limit that was not taken into account so I opened a new issue.

Hey there! Thanks for reporting this. What you're seeing is (like you guessed correctly) a rate limit being hit. This shouldn't be an issue anymore since we shipped bulk uploads in https://github.com/cloudflare/wrangler2/pull/1028
As a result, wrangler will make significantly fewer API requests (and you can upload more files too). Go ahead and upgrade to<EMAIL_ADDRESS>Cheers!


Evaluation of Tcl script flow/build_ip.tcl unsuccessful

I copied flow/build_ip.tcl, then execute quartus_wrapper quartus_sh -t /root/flow/build_ip.tcl, the error occured:
Info: Running Quartus Prime Shell
Info: Version 18.0.0 Build 614 04/24/2018 SJ Lite Edition
Info: Copyright (C) 2018  Intel Corporation. All rights reserved.
Info: Your use of Intel Corporation's design tools, logic functions
Info: and other software and tools, and its AMPP partner logic
Info: functions, and any output files from any of the foregoing
Info: (including device programming or simulation files), and any
Info: associated documentation or information are expressly subject
Info: to the terms and conditions of the Intel Program License
Info: Subscription Agreement, the Intel Quartus Prime License Agreement,
Info: the Intel FPGA IP License Agreement, or other applicable license
Info: agreement, including, without limitation, that your use is for
Info: the sole purpose of programming logic devices manufactured by
Info: Intel and sold by Intel or its authorized distributors.  Please
Info: refer to the applicable agreement for further details.
Info: Processing started: Tue Aug 21 04:05:11 2018
Info: Command: quartus_sh -t /root/flow/build_ip.tcl
Inconsistency detected by ld.so: dl-close.c: 762: _dl_close: Assertion `map->l_init_called' failed!
sh: 1: qsys-generate: not found
while executing

"qexec "qsys-generate $ED_DIR/soc_system.qsys --synthesis=VERILOG""
(file "/root/flow/build_ip.tcl" line 12)
Error (23031): Evaluation of Tcl script /root/flow/build_ip.tcl unsuccessful
Error: Quartus Prime Shell was unsuccessful. 1 error, 0 warnings
Error: Peak virtual memory: 790 megabytes
Error: Processing ended: Tue Aug 21 04:05:12 2018
Error: Elapsed time: 00:00:01
Error: Total CPU time (on all processors): 00:00:00

Sorry for the late answer, I was very busy and this is not an official project, just a hobby thing.
I assume the error is because of qsys-generate not being inside the executable search path. I assumed the quartus scripts would assure this. I just pushed a new version to docker hub, which has the quartus/sopc_builder/bin/ in the PATH variable, maybe this solves your problem. If not, I need some more details on the project, or even the tcl script and project itself to figure out, what's going wrong.


Add displayName for each plugin HOC (dev-tools)

With a lot of plugins it's hard to figure out which HOC is displayed in dev-tools:

With this PR, each HOC is associated with its plugin:

niiiiiiiiiiiiice


Add comment that can fix TypeScript errors with Yarn

With Yarn 2 TypeScript can't find @types/... files in node_modules (because it does not exist). This is a workaround for such situation.
Changes

Testing

Docs

Yarn v2 really doesn't support @types? That's pretty surprising!
More for style than anything, I'd like to move this note from the config file to the README. Mind moving it to a note in the README?

Which readme? This one?
https://github.com/snowpackjs/snowpack/blob/main/create-snowpack-app/app-template-react-typescript/README.md

Typescript does not support yarn 2 folder structure directly.
Issue: https://github.com/microsoft/TypeScript/issues/28289
More info: https://medium.com/swlh/getting-started-with-yarn-2-and-typescript-43321a3acdee

Yup, that's the readme that every start application gets (and a good place to leave notes for people after they initialize the template)

Hey @spidgorny if you add it to the readme, you can convert from draft, assign me as a reviewer and I'll merge it

you can convert from draft

Not sure what you mean with that. Anyway, I've tried to explain the situation and a workaround in the README.
@melissamcewen, please check.

Thanks for the contribution @spidgorny, LGTM!


implement undo log

Summary by CodeRabbit

New Features

Introduced a custom memory allocator for improved performance in FalkorDB.
Added undo log functionality to manage and rollback operations in the graph database.
Implemented FFI bindings for undo log, allowing external language interaction.

Chores

Created a .gitignore file to exclude the target/ directory from version control.

Would it possible to manage source files in a similar directory hierarchy as we did in FalkorDB C implementation, e.g. have the undo_log.rs file within src/undo_log/undo_log.rs ?
I'm not what is the right way to manage source files in Rust, all I know is that with Cargo we're suppose to have source file within the src directory, but I'll assume we're also allowed to create additional directories under the src dir.


Compatibility with Shaarli v0.12.0-beta

Hi @kalvn,
According to https://github.com/shaarli/Shaarli/pull/1511 we need to check and maybe update our plugins and themes to stay compatible with the changes in Shaarli's routing and templating. After upgrading Shaarli to latest master, nothing is displayed on the UI, a blank page is shown as the Material theme is not yet updated. Could you please look into the changes and fix the new errors caused by the refactoring?
The docker logs for the first fatal error that stop the page from rendering:
shaarli    | 2020/08/30 08:13:21 [error] 11#11: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function isLoggedIn() in /var/www/shaarli/tmp/includes.c04e6db3e3da5484d981ebaa00b75abc.rtpl.php:82
shaarli    | Stack trace:
shaarli    | #0 /var/www/shaarli/inc/rain.tpl.class.php(175): include()
shaarli    | #1 /var/www/shaarli/tmp/error.025e4ef3c23e9ff6918934cf9db5d80e.rtpl.php(4): RainTPL->draw('./includes')
shaarli    | #2 /var/www/shaarli/inc/rain.tpl.class.php(190): include('/var/www/shaarl...')
shaarli    | #3 /var/www/shaarli/application/render/PageBuilder.php(237): RainTPL->draw('error', true)
shaarli    | #4 /var/www/shaarli/application/front/controller/visitor/ShaarliVisitorController.php(66): Shaarli\Render\PageBuilder->render('error', '')
shaarli    | #5 /var/www/shaarli/application/front/controller/visitor/ErrorController.php(43): Shaarli\Front\Controller\Visitor\ShaarliVisitorController->render('error')
shaarli    | #6 [internal function]: Shaarli\Front\Controller\Visitor\ErrorController->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Error))
shaarli    | #7 /var/www/shaarli/vendor/slim/slim/Slim/App.php(728): call_" while reading response header from upstream, client: <IP_ADDRESS>, server: , request: "GET /? HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "shaarli.local", referrer: "https://shaarli.local/?9qeqtA"
shaarli    | <IP_ADDRESS> - shaarli [30/Aug/2020:08:13:21 +0000] "GET /? HTTP/1.1" 500 2660 "https://shaarli.local/?9qeqtA" "Mozilla/5.0 ..."

Hi @immanuelfodor,
Yes I definitely need to take some time to update the theme, I'll try to take a look either today or during the coming week, at least to make it work with the latest master from Shaarli. I'll keep you updated :)

@kalvn Let me know if I can help.

@ArthurHoaro thanks! Actually I have a question: do you know if there's a way to retrieve the current URL path ($_SERVER['REQUEST_URI']) from templates?
I tried to access the $_SERVER variable from within templates but it cause errors (on contrary to $_GET which works fine). I need this to highlight current page in the tag.sort.html file.

It's not exactly what you asked for, but you could use {$_PAGE_} which could fit your use case and are also used by plugins. However I need to fix an unnecessary breaking change in these values, as mentioned in the other thread.

The branch support-v012 was just finalized. I tested it pretty intensively with Shaarli v0.12.0-beta and found no issues so far. I didn't create a release yet but if anyone wants to do some test on his side, I would greatly appreciate :)
I'll keep testing for a few days on my own and release it when Shaarli v0.12.0 is released.

Did a git checkout to the new branch, works fine, looks awesome 🎉
However, I can't login at all after a logout. It seems to be a general Shaarli issue @ArthurHoaro on the master branch as the docker image was built from scratch. Deleted ipbans file, did a browser cache delete, used a different browser, nothing helped.

I can't login even with the default template, this is an important info I think. The login redirect seems to be weird:
shaarli    | <IP_ADDRESS> - shaarli [02/Sep/2020:02:59:11 +0000] "POST /login?returnurl=%2F HTTP/1.1" 302 0 "https://shaarli.local/login?returnurl=%2F" "Mozilla/5.0...
shaarli    | <IP_ADDRESS> - shaarli [02/Sep/2020:02:59:11 +0000] "GET /login?returnurl=%2Flogin%3Freturnurl%3D%252F HTTP/1.1" 200 12197 "-" "Mozilla/5.0...

Maybe https://github.com/shaarli/Shaarli/pull/1536 needs to be merged quick 😃

When editing a share on mobile, the FAB is shown and it is out of place:

@immanuelfodor I merged shaarli/Shaarli#1536, it should fix the issue you had previously.

The branch support-v012 was just finalized

@kalvn Awesome! You rule!

@immanuelfodor I found the responsible line: https://github.com/kalvn/Shaarli-Material/blob/support-v012/material/page.header.html#L173
I'll fix that asap :)

It's fixed with the last commit.

Tested with the latest support-v012 branch, it's fixed, thanks! :)

Hmm, I think I've found another bug: the CSS/JS resources are loaded without / at the beginning of the URL, so it becomes /admin/shaare/plugins/markdown_toolbar/includes/bootstrap_markdown/js/bootstrap-markdown.js for example which breaks the edit/add page resources as these are now requested from a folder too deep:

These weren't 404 URLs 2 days ago, so something must broke in the meantime.

Or maybe Shaarli:master introduced a change that results in PluginManager::$PLUGINS_PATH becoming "shash-less"? 😀 @ArthurHoaro

I think it's not related to Shaarli Material.
I would say plugin developers must ensure external resources are added with the base path, as it's done here for example: https://github.com/kalvn/shaarli2mastodon/blob/master/shaarli2mastodon.php#L75

Wow, thanks for the example, I'm adding this to my plugins. Sorry for suspecting a bug here.

Thanks but credit goes to https://github.com/shaarli/Shaarli/blob/master/plugins/wallabag/wallabag.php#L48 😉

Just to give a little more info about why:

we don't know if Shaarli is installed under a subfolder or not, so we can't use '/' . PluginManager::$PLUGINS_PATH
before v0.12 every route were on the same folder level (domain.tld/shaarli/?do=route), so relative path worked fine. Now routes can be on multiple levels (e.g. /daily and /admin/* routes), so it requires to manually set the absolute path.

Thanks for the insights! Based on this knowledge I also opened a shaarli-favicons PR to fix the same issue, shaaring is caring :) https://github.com/trailjeep/shaarli-favicons/pull/3

https://github.com/shaarli/Shaarli/pull/1558 happened in the meantime, so I'll also revert any related changes. @kalvn said in https://github.com/shaarli/Shaarli/issues/1548#issuecomment-691662186 that Shaarli Material has been also updated accordingly, so I think this ticket can be closed finally.

Updated all my plugins, they now work according to PR https://github.com/shaarli/Shaarli/pull/1558 Also https://github.com/shaarli/Shaarli/issues/1545 works fine with the theme. I think the support-v012 branch here can be also closed, it's up-to-date with master. Thank you all for being supportive over the years! ❤


iterate objects with #each

Currently #each only works if you have an array, so i am having to do a costly conversion:
http://jsfiddle.net/pixelhobo/E9dUm/
It would be much better you went over the key/value pairs of an object,  something like this:
http://jsfiddle.net/pixelhobo/cfEnt/

The behavior of {{#each dataExpression}} ... {{/each}} or {{each dataExpression tmpl="myTemplate"}} is to render the content or the template against the data returned by dataExpression.
If the data is an array, it iterates for each item - which becomes the current dataItem for that rendered template (view) - and concatenates the result. But if dataExpression returns a single object, then it renders just once, with that object as current data item.
If you don't pass any data at all, as in {{each tmpl="myTemplate"}} then it will render the template just once, keeping the current dataItem from the outer scope.
I am considering changing the name of the tag from each to {{for}} to make less surprising that it does not iterate when you pass it a singleton.
It is not a common scenario to render the same template against each of the properties of an object. Usually you know, statically, the properties of the object, and can do
{{#each propertiesObject }}
    Created Date: {{=createdDat}}
    Created By: {{=createdBy}}
{{/each}}

If you want to apply the same template to each property, as an iteration over all the properties, you can provide a helper function to return the array, rather than add a new array to your data, as in {{#each $ctx.propertyArray(properties)}}...{{/each}}

See also https://github.com/BorisMoore/jsrender/issues/49

My apologies for necro-posting, but I wanted to provide an example of why someone might want to iterate through the properties of an object.
In a nutshell, for the purposes of data-linking, an array/collection does not allow (or very easily allow) for changing just one property of one entry.
Take this data:
inout = {
    joe:{
        name:  'Joe',
        status: 'out'},
    jane:{
        name: 'Jane',
        status:'in'},
    jill:{
        name:'Jill',
        status:'away'}
}

And I render it like so:
$("#domElement").link(inout,"#templateID");
I could then update a particular person like
$.observable(inout).setProperty({joe:{status:'in'}});
I think - I haven't tested this, but looking through the source, I'm guessing this is how it works
By only being able to iterate over arrays, I either need to

Re-generate the entire array server side (assuming the change is triggering an ajax request to save in a DB or something), or
Convert the inout object to an array, and keep a mapping of people to array index, so I can update the property like so:
 var index = nameToNameMap['joe'];
   $.observable(inout).setProperty({index:{status:'in'}});

Is there another way to approach this?

I agree there are scenarios where this is useful. I hope to be able to look into supporting it...


Allow picture-entity (or other) cards inside glance cards

Glance cards allow dividing the row nicely in smaller groups. However, glance card is currently limited to only entities. It will be nice if we can allow using other cards inside glance. That will make something like the following possible (assuming the buttons can be assigned to service call):

I tried picture-entity in a horizontal-stack and the result is not ideal (as they appear as separate cards):

I don't think that we should abuse glance card for this. I also think that if the use case is only remotes, we should consider adding a remote card?

Picture Elements solved this use case for me, but was not nearly as easy to create.
If we ever get to the point where we have a UI editor for picture elements that allows for drag and drop editing, which I would think is one of our end goals, I think a specific card is unnecessary

@balloob the remote was just an example. I think there are other uses for this. Consider another example, here's a glance card I created for one of my thermostats:

Instead of having just those entities, I would much rather have other custom cards, e.g,, a gauge card or a thermostat card.
I am looking at the glance card as just a way to organize information. It is slightly better way to organize cards than the horizontal stack card (which results in unnecessary white space), but essentially has the same utility.
We may still want to include a remote card, but I still feel there is a need for this functionality.

So like a horizontal stack but wrapped inside a card? I think the issue is that right now, we don't have any built in widgets that would work with. The examples you use are all custom ones.

Actually, we could even use picture-entity card inside Glance.

I totally support this idea too. Would be great to achieve this.

Stop calling it glance. Come up with a new proposal for a card.

I'm going to close this issue. In the current request, adding things to Glance, is not going to happen. The ideas in this issue are also all over the place, making this issue unusable. I'll close it and you can open a new one that is narrower scoped.


Spark Dotnet: fix API links

Summary
Changing API links.

You only have that one namespace @mamccrea? It seems that your repo wasn't indexed given that https://docs.microsoft.com/en-us/dotnet/api/?view=spark-dotnet is empty.

@mamccrea looks like the index includes .Net for Spark now.

@mamccrea Do you want the new link going to the Microsoft.Spark namespace directly, or to the index of all the namespaces in the listing (original link)?

@JasonWHowell - I see the index is working now, but for some reason I'm getting a 404 when I try to get there from the docs index page (https://docs.microsoft.com/en-us/dotnet/spark/). I'll investigate that.

That one is missing the dotnet in the path.

Left a suggestion for you on how to fix that one, but it's probably better to leave the other ones going to the API Browser page and not one specific namespace.


[GLUTEN-5341][VL] Enable linear-regression.sql in GlutenSQLQueryTestSuite for Spark 3.5

What changes were proposed in this pull request?
Enable linear-regression.sql in GlutenSQLQueryTestSuite for Spark 3.5
How was this patch tested?
N/A

cc @zhouyuan, thanks.

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_5469_time.csv
log/native_master_04_21_2024_b08258e51_time.csv
difference
percentage

q1
34.99
34.90
-0.087
99.75%

q2
26.68
24.06
-2.615
90.20%

q3
37.03
36.70
-0.329
99.11%

q4
42.52
40.96
-1.558
96.34%

q5
68.33
69.60
1.265
101.85%

q6
5.81
7.44
1.632
128.07%

q7
86.04
85.59
-0.450
99.48%

q8
87.20
85.37
-1.826
97.91%

q9
125.61
125.78
0.173
100.14%

q10
45.46
43.35
-2.103
95.37%

q11
20.09
19.84
-0.252
98.74%

q12
26.70
25.80
-0.905
96.61%

q13
54.52
54.10
-0.415
99.24%

q14
20.03
21.91
1.883
109.40%

q15
30.37
29.24
-1.125
96.30%

q16
14.26
14.28
0.027
100.19%

q17
101.84
101.35
-0.495
99.51%

q18
144.73
145.10
0.363
100.25%

q19
13.60
13.61
0.008
100.06%

q20
27.66
28.46
0.800
102.89%

q21
284.82
287.28
2.460
100.86%

q22
15.09
14.78
-0.309
97.95%

total
1313.38
1309.52
-3.856
99.71%


mimalloc: 2.0.7 -> 2.0.9

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mimalloc/versions.
meta.description for mimalloc is: "Compact, fast, general-purpose memory allocator"
meta.homepage for mimalloc is: "https://github.com/microsoft/mimalloc"
meta.changelog for mimalloc is: ""
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.0.9 in filename of file in /nix/store/qlkkn7zsarbg23vbaaci671p132bpn1y-mimalloc-2.0.9

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
dragonflydb
mimalloc
mold

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/qlkkn7zsarbg23vbaaci671p132bpn1y-mimalloc-2.0.9 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A mimalloc https://github.com/r-ryantm/nixpkgs/archive/495377fb4333ee591ee9eabdef4b5e941b9cab6e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/qlkkn7zsarbg23vbaaci671p132bpn1y-mimalloc-2.0.9
ls -la /nix/store/qlkkn7zsarbg23vbaaci671p132bpn1y-mimalloc-2.0.9/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

dragonflydb
mimalloc
mold

Maintainer pings
cc @kamadorueda @thoughtpolice for testing.

nixpkgs-review happy, macos 10.15 & nixos x86_64

Also successfully built pkgsCross.aarch64-multiplatform variant and aarch64-linux build through emulation.


Each consumer locks on a single partition

Does this mean that only one consumer can work on any partition?
Can I not have multiple consumers consuming the same message?
Or does it mean there's a 1-many relationship here where 1 consumer can only be on one partition, but the partition can have multiple consumers?

It’s less around a function requirement and more around a Kafka limitation.
Because you may have 5 independent function instances running at the same time, Kafka only allows one reader per partition per consumer group at one time.
In Event Hubs we leverage an SDK called the “EventProcessorHost.”  This automatically helps coordinate what partitions are locked by what instances. So if only 1 instance is active it will let that 1 instance lock all of them. Once a 2nd pops up and tries to connect it will rebalance and let consumers know.
I don’t know exactly how well do that in Kafka - I believe there’s a concept of a “leader” that needs to assign partitions. So in the example above if only one function is active it would by default be the leader. As soon as a 2nd gets scaled out, Kafka would ask the leader (instance 1) how many partitions should go to #2 and how many should stay with #1.
So I expect the trigger would need “leader logic” so at any time any instance could be the leader, and as a leader it just evenly distributes partitions. Again I’m not positive how exactly it’ll work in Kafka as we rely on the event processor host SDK, but this is what Ive pieced together

Can we use the rebalancing logic provided by Confluent library? We need to add more tests, but I have the feeling that this is built-in in the library. New consumers/lost consumers rebalance the partitions among active consumers.

Ok, will close this as completed once we have some tests that verify

Provided by the confluent library.


Alpine support

Is it possible to support alpine images?
Especially for .net, .4GB, even from slim base is massive.
mcr.microsoft.com/azure-functions/dotnet:3.0.13614 is 482MB, mcr.microsoft.com/azure-functions/dotnet:2.0-alpine is 219MB.
mcr.microsoft.com/azure-functions/dotnet:3.0-slim is 396MB

Alpine image would be great.
There are several open vulnerabilities on the slim image:
CVE-2019-18276 | High | bash
CVE-2019-9923 | High | tar
CVE-2018-6829 | High | libgcrypt20
CVE-2016-2781 | Medium | coreutils
CVE-2019-13627 | Medium | libgcrypt20
CVE-2019-12904 | Medium | libgcrypt20
CVE-2020-3810 | Medium | apt
CVE-2018-1000654 | Medium | libtasn1-6
DSA-4685-1 | Medium | apt
CVE-2019-1551 | Medium | openssl
CVE-2017-18018 | Medium | coreutils
CVE-2011-3374 | Low | apt

Have been expecting and waiting for an alpine image for azure functions 3.0 for a long time!

The size is not directly related to the OS base used. In mcr.microsoft.com/azure-functions/dotnet:3.0-slim this is the breakdown of the size

Component
size

OS base
69 MB

.NET deps
41 MB

Functions runtime
420 MB

Using alpine would only reduce about 60 MBs from the OS base. However the functions runtime isn't compatible with musl-libc, so there are no plans to support alpine for v3 currently.

Probalby should be supported now, the base runtime runs just fine on alpine.


rg.exe used high CPU when I launch VScode

VSCode Version: 1.41.1
OS Version: Windows_NT x64 10.0.18363
Commit: 26076a4de974ead31f97692a0d32f90d735645c0
Date: 2019-12-18T14:58:56.166Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0

Steps to Reproduce:

just launch vscode
open windows task manager
watch

Does this issue occur when all extensions are disabled?: No
screenshots:

set config "search.followSymlinks": false, now everything is OK when I launch VScode again.
for reference only

Something is triggering a search when you launch vscode, either an extension or a user action. Sounds like the followSymlinks setting fixed it for you, that can be expensive for rg.exe, glad you figured it out!


Android - Wrong FPS/update on high rate devices

Environment:

axmol version: Latest 2.1.5
devices test on: Pixel 6, Samsung S8

Issue:
Hi,
I use scheduleUpdate() so that my code is updated on each frame drawn. If I set the frame interval to 1/60s I expect the update() to be called once every 1/60s, but on my Pixel 6 it will be called twice.
So the issue occurs on high rate devices (120FPS) like the Pixel 6.
The code itself tells they are not handled:
@Override
    public void onDrawFrame(final GL10 gl) {
        /*
         * Fix 60fps limiting doesn't work when high-end device is working in 120fps mode.
         */
        if (AxmolRenderer.sAnimationInterval <= 1.0f / 1200.0f * AxmolRenderer.NANOSECONDSPERSECOND) {
            AxmolRenderer.nativeRender();
        } else {
            final long now = System.nanoTime();
            final long interval = now - this.mLastTickInNanoSeconds;

            /*
             * Render time MUST be counted in, or the FPS will slower than appointed.
            */
            this.mLastTickInNanoSeconds = now;
            AxmolRenderer.nativeRender();

            if (interval < AxmolRenderer.sAnimationInterval) {
                try {
                    Thread.sleep((AxmolRenderer.sAnimationInterval - interval) / AxmolRenderer.NANOSECONDSPERMICROSECOND);
                } catch (final Exception e) {
                }
            }
        }
    }

A possible fix to this is this following code:
@Override
    public void onDrawFrame(final GL10 gl) {
        /*
         * Fix 60fps limiting doesn't work when high-end device is working in 120fps mode.
         */
        if (AxmolRenderer.sAnimationInterval <= 1.0f / 1200.0f * AxmolRenderer.NANOSECONDSPERSECOND) {
            AxmolRenderer.nativeRender();
        } else {
            /*
             * Render time MUST be counted in, or the FPS will slower than appointed.
            */
            this.mLastTickInNanoSeconds = System.nanoTime();
            AxmolRenderer.nativeRender();

            final long interval = System.nanoTime() - this.mLastTickInNanoSeconds;

            if (interval < AxmolRenderer.sAnimationInterval) {
                try {
                    Thread.sleep((AxmolRenderer.sAnimationInterval - interval) / AxmolRenderer.NANOSECONDSPERMICROSECOND);
                } catch (final Exception e) {
                }
            }
        }
    }

It works, but in any case (current and possible fix) the UI rendering seems a bit laggy because the renderer is using RENDERMODE_CONTINUOUSLY mode meaning it's the java thread that triggers the call periodically and sleeping in the onDrawFrame()  might cause troubles to it.
I explored this solution and a new one using our own thread to trigger manually the rendering (see PR #2125) and the thread solution was giving better performance, overall when you do much work at each frame.

I did some digging around, and found another way to sync the drawing. I think this would be a better solution than sleeping or triggering rendering from another thread, since it gives more precise control.
So this method would have 2 parts. First part is getting a callback when vsync happens, since this is the ideal time we want to start the frame update and rendering. There's Choreographer.FrameCallback that does this. In this callback we also get the time when vsync has started. Here we could check if we should render a frame now (in case app requests less FPS than actual refresh rate), and then request the manual frame render from GLSurfaceView.
The second part is to tell when we want to display our rendered frame. For this there's eglPresentationTimeANDROID(), that takes the time when the frame should be displayed. We would need to pass N+2 frame time. The only problem might be if it's impossible to get those other parameters that need to be passed in.
The advantage this method gives is that updates happen on vsync, and we control how many frames are in flight, thus minimizing the latency by not stuffing frame queue full.
Related resources:

https://stackoverflow.com/questions/26317132/minimize-android-glsurfaceview-lag
https://github.com/google/grafika/blob/master/app/src/main/java/com/android/grafika/ScheduledSwapActivity.java

I don't think it is necessary to go this low level, at least the proposed solution works, as opposed to the live one which doesn't.

I think it would be less complicated. Maybe you think so because of the Grafika example, but I added that Grafika link just as a reference we can use to get some ideas or how to implement certain things. We certainly don't need majority of stuff in there.
The vsync callback needs only a check if something should be rendered on this vsync or not, which is always true, except if user wants less FPS than the device refresh rate, and then request the rendering if needed. And after the rendering it's just a call to give the time when frame is supposed to be on screen. So it should be pretty easy to understand what's happening.
I was also thinking what should happen if user requests less FPS than device refresh rate. I think patterns like 32232 are not good, since you'll get stutters on rate changes (BTW, in Grafika I think those patterns are just for testing purposes, not for real usage). I think the best way would be to fall to the closest smaller stable possible FPS. So for example if device has 60 FPS, then it can do stable 60/30/20/15... etc., so if user requests 40 FPS we do 30 FPS to keep the frame rate stable. Btw, that Cocos "interval" notion is really unfortunate, I think it should have been something like "max FPS" instead.
It seems the parameters for eglPresentationTimeANDROID() can be got using eglGetCurrentDisplay() and eglGetCurrentSurface(int).
Btw, in your PR, I think, render start time can drift in the whole interval from one vsync to another, since it's not syncing, and sleep() is not precise. It might be causing stutters when it crosses certain points... but maybe it's hidden by buffers, so I'm not sure. I wonder if it would be possible to setup some kind of obvious tests for checking stutter problems...

@smilediver I tried to use the FrameCallback and eglPresentationTimeANDROID() but somehow the params were not good and setting the time wasn't working; unfortunately I couldn't get deeper to see why.
In the meantime I saw that there was other ways to "set" a frame rate (not always working as wanted) and lately since Android 11 there is even a setFrameRate() method on the Surface or SurfaceControl.
This blog explained it all, maybe you saw it:
https://android-developers.googleblog.com/2020/04/high-refresh-rate-rendering-on-android.html
They also explain that using Choregrapher itself is a simple but not full solution, and since then a thing called AGDK is made to handle the rate, available since Android Api level 19 / NDK 18.
https://developer.android.com/games/sdk/frame-pacing

Nice find on that blog post, some good insights there.
setFrameRate() changes display refresh rate, maybe that display can't run in 30Hz mode. Also, it seems that it can coordinate with other apps, so something else could be limiting it. But we can't use this API, too many devices don't support it.
I was aware of frame pacing module in AGDK library, but it seems like an overkill to integrate it just for running the game loop.
Anyway, I'm also planning to take a look at this problem later this week, maybe I can get something working.

setFrameRate() changes display refresh rate, maybe that display can't run in 30Hz mode. Also, it seems that it can coordinate with other apps, so something else could be limiting it. But we can't use this API, too many devices don't support it.

Yeah I agree it is too recent, and not working as we want (like for 30 FPS) so not a solution

I was aware of frame pacing module in AGDK library, but it seems like an overkill to integrate it just for running the game loop.

That's what I thought too, but I also saw Axmol support starts from Android level api 17 not 19, if I'm correct

Anyway, I'm also planning to take a look at this problem later this week, maybe I can get something working.

Great

Edit: this is probably the reason why calls to eglPresentationTimeANDROID() have failed: https://stackoverflow.com/a/32598507/254101.

Good point, but the thing is we have EGL10 in Axmol, mixing to have both seems a bit tricky and I'm not sure we can change EGL10 to EGL14 that easily

I use scheduleUpdate() so that my code is updated on each frame drawn. If I set the frame interval to 1/60s I expect the update() to be called once every 1/60s, but on my Pixel 6 it will be called twice.

update method relies on delta time between two frames. If this time is true, do not think that it is good idea to link this method to draw fps.

I've implemented this loop using Choreographer.FrameCallback in #2142 PR. Can you check this on 120Hz device?

@AlexandreK38 There was an issue introduced in #1504, which resulted in incorrect update calls.  The attempt to fix this is in #2162.  Would this be the source of the issue you're experiencing too?

@rh101 Yeah this is the same issue. The change made in the #2162 is basically the "simple" solution I put above here :)
This works, but it works better using my thread as the simple solution block the UI thread.
There is also another possible solution in #2142 by @smilediver, currently in draft too.

@rh101 Yeah this is the same issue. The change made in the #2162 is basically the "simple" solution I put above here :)

OK! That's a good, since now we know this will work.
For the time being, #2162 will most likely be used as the interim solution, until a decision is made on implementing one of the more drastic changes to the Android rendering code, such as in your PR and the one from @smilediver.

Agreed, #2162 should be merged, until we decide on another solution.

Simple solution was merged into dev branch, closing the issue


Fix 'Select All' checkbox on streams page - it

Fix 'Select All' checkbox on streams page - it
was selecting all the streams, now it fixed to
select only streams on current page

What does this pull request do? Explain your changes. (required)

Specific updates (required)

-

How did you test each of these updates (required)

Does this pull request close any open issues?

Screenshots (optional):

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

I don't have a .monster account with enough streams to test this feature. But your description of the fix sounds correct. Good job catching this. I didn't earlier.


Do not merge

@averbuks I tried implementing your idea but it does not seem to work. When cluster is created peering still seems to be in progress, so the peering routes resource creation fails:
module.cluster-1.google_container_cluster.cluster: Creation complete after 7m4s [id=projects/tf-playground-simple/locations/europe-west1-b/clusters/cluster-1]
module.cluster-1.google_compute_network_peering_routes_config.gke_master[0]: Creating...

Error: Error creating NetworkPeeringRoutesConfig: googleapi: got HTTP response code 404 with body: <!DOCTYPE html>
<html lang=en>
  <meta charset=utf-8>
  <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
  <title>Error 404 (Not Found)!!1</title>

my fault, I was passing the network self url :)


Fix the rendering of lambdas

Variables are the most common tag types, yet they were not handled
during the generation of template text for lambda scopes.

Coverage remained the same at 99.153% when pulling 380b0006bcf4e94d6dade3ec74d471347c9577a7 on akosthekiss:fix-lambda-variable into 076fbfaf34e4373ec1474b6c115c74664f7380b1 on noahmorrison:master.

Right now, the lambda example in the README runs into an error. To track down the issue, I've created a smaller test case. Both listed below:
My test case:
import chevron

def hello(text, render):
    return 'Hello ' +  render(text) + '!'

args = {
    'template': '{{#hello}}{{x}}{{/hello}}',
    'data': { 'x': 'World', 'hello': hello }
}

chevron.render(**args)

README lambda example:
import chevron

def first(text, render):
    # return only first occurance of items
    result = render(text)
    return [ x.strip() for x in result.split(" || ") if x.strip() ][0]

def inject_x(text, render):
    # inject data into scope
    return render(text, {'x': 'data'})

args = {
    'template': 'Hello, {{# first}} {{x}} || {{y}} || {{z}} {{/ first}}!  {{# inject_x}} {{x}} {{/ inject_x}}',

    'data': {
        'y': 'foo',
        'z': 'bar',
        'first': first,
        'inject_x': inject_x
    }
}

chevron.render(**args)

Both snippets fail with the following diagnostics:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "chevron/renderer.py", line 253, in render
    }[tag_type], tag_key, def_rdel)
KeyError: 'variable'

With the here-proposed patch, I get the following (correct, I think) output:
'Hello World!'
'Hello, foo!   data '

PR rebased to latest master to make Travis CI go green.


UI tool project setup

There should be project setup based on Avalonia or any other cross-platform UI development framework, considering following factors:

The UI tool should visualize the XML data, meaning it should be relatively easy to parse XML;
The UI tool should be able to load large log files, which are saved either as binary data or as a database, and it should be possible to make fast search, scrolling or selecting operation. The format of the file or the database should be decided later.
The UI tool should easy communicate with C/C++ binary (shared library) via any kind of bridge in multithreading environment. The communication between C/C++ binary and UI tool should be bi-directional.
There is no plan to use the UI tool for image processing, but it will have drawing operations like draw and move shapes, so that the render of UI should not make flickering during such operations.
In total, it should be taken into the account the used space and RAM of the UI tool, but as well considering that it will run on desktop application, meaning that there should be a good balance between speed and used resource.

Integrating Qt6. A try to setup a project based on Qt6, see ticket #6
This ticket can be closed.


Missing format when validating

In validateFn moment is created without the format. That causes validation errors when using a certain format (like "L HH:mm:ss") at least in combination with localization (like German). If changing the displayed value in a valid way, the moment date is invalid.
Solution: Create the moment instance using the format:
var momentValue = moment(viewValue, attrs.dateTimeInput);

Sorry for the extreme delay. Can you verify that this is fixed in the develop branch?

Closing because I believe this is fixed now


Crash fixes

These are fixes to some crashes I encountered and some enhancements to improve my workflow.  Key changes are listed below, please let me know if you have concerns or comments:
Enhancements

Context menu Album list - no longer limits to only 10 and sorts by Name
Added filter for No Aesthetic Score
If a file with matching name exists at Destination during a Move, appends a number to prevent overwrite
Provides an error message now when a folder was manually removed
Added Refresh to album context menu and display error message if album was first deleted

Fixes

Various null checks at startup to prevent crashes
Fixed when deleting Images with associated Albums - removes the link in AlbumImage table first
Fixed error when selecting No Rating filter but didn't first check Rating
Removed storing the Accordion heights - this was causing Albums to not appear if Models were expanded on Startup, no apparent downside
When deleting an image, remove from db first before filesystem to prevent images from not being removable if deleted manually first

Sorry for the delay. Thank you for the changes!


Housekeeping reset register doesn't function

Asserting the housekeeping reset register doesn't reset the CPU like caravel.

The fix works fine.


out of date api client usage example in the documentation

This is what I had to do to make the api client work:
package main

import (
    "fmt"
    "log"

    "github.com/org/project/pkg/api-client/client/repositories"
    "github.com/go-openapi/strfmt"

    apiclient "github.com/org/project/pkg/api-client/client"
    httptransport "github.com/go-openapi/runtime/client"
)

func main() {
    runtime := httptransport.New("<IP_ADDRESS>", "/", []string{"https"})
    runtime.DefaultAuthentication = httptransport.APIKeyAuth("cookie", "header", "session=blah; csrftoken=blah")
    client := apiclient.New(runtime, strfmt.Default)

    resp, err := client.Repositories.ListRepositories(repositories.NewListRepositoriesParams())
    if err != nil {
        log.Fatal(err)
    }
    fmt.Printf("%#v\n", resp.Payload)
}

I ran into 2 big issues:

The auth works completely differently from what's documented.
Initially I tried to create the params object manually and that set the timeout to 0 and caused every request to fail immediately and mysteriously with a deadline exceeded error.

Edit: I was using the 0.6.0 image. Maybe things changed since 0.5.0?

II would like to know what the spec looks like, because when an operation has auth requirements defined it should get a second argument for those operations.

I ran into the deadline exceeded error bug for the same reason.

Running into the same issue, the documentation says you have to use client.Operations but this symbol does not exist at all.
Has this bug really been open for 2 years? Is the client generator code even still valid? I'm finding it  difficult to use due to lack of documentation on how the generated code works.

@Naatan @vikstrous Could you make a PR? I ran in the same again :(.


fix for "Image source "null"" warning

Prevents warning "ReactImageView: Image source "null" doesn't exist" when loadingSource and loadingImageComponent aren't provided.

Thanks @clemensmol, this was really annoying while developing on Android devices.
Released on 2.5.0


chore(master): release 1.47.0

:robot: I have created a release beep boop
1.47.0 (2024-07-02)
Features

remove issuer and update proto files (2c186e8)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/indykite/indykite-sdk-python/releases/tag/v1.47.0 :sunflower:


⚠ Fetchers has degraded performance

In 01f1b2d, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 502 ms

Resolved: Fetchers performance has improved in 63fa3cc.


CI: Add mechanism to test against pre-release Ceph images

These are set of changes to accept build tags, distinguishing various pre-release versions of ceph, into container test environment for better coverage of features from unreleased versions.
updates: #703

This looks like a great start. I'd love to see it in actions soon with follow up changes to update the github actions YAML file!


CocoaPods does not have 0.5.1

Could you please pod trunk push version 0.5.1 on CocoaPods? Seems like the last version pushed is 0.5.0
Thanks!

Done! Should say for the record that 0.6.0 is there too.

👌 thanks for the reactivity!


Update readme to point to new location of helm chart

The stable helm repo has been deprecated; indeed if you go to https://github.com/helm/charts/tree/master/stable/kubewatch you'll see a deprecation warning pointing to bitnami/kubewatch.
In the meantime all the updates have gone to bitnami/kubewatch and thus users following this README
are installing the wrong thing.

bors r+


Update SubmissionStatusService integration to use client 0.4.2

Depends on https://github.com/OA-PASS/java-fedora-client/issues/76, relates to https://github.com/OA-PASS/java-fedora-client/issues/73 and the need for better dependency injection

merged in PR #162


The specification denotes iso8859-1 for encoding.

This means gb should likely default to that encoding and pass a -u/--utf flag to force it into UTF-8 mode.

Done.


Cannot create Migration Plan

https://bugzilla.redhat.com/show_bug.cgi?id=1598881

@lfu @bzwei This PR https://github.com/ManageIQ/manageiq/pull/17627 seems to be causing the above breakage. Can you please take a look? Thanks.


Add link to AI-in-a-Box repository

This pull request includes a minor update to the README.md file. A new resource link, [AI-in-a-Box](https://github.com/Azure/AI-in-a-Box), has been added to the list of samples for users to check out.

Looks good!


package use specified marker in Pipfile may generates error logical condition in Pipfile.lock

Issue description
i wanna install py2exe via pipenv.
so i write
"py2exe-py2" = {version = "==0.6.9", markers = "python_version <= '3.4'", sys_platform = "== 'win32'"}
to my Pipfile, this will result in this bug.
but if write
"py2exe-py2" = {version = "==0.6.9", markers = "python_version <= '3.4' and sys_platform == 'win32'"}
to my Pipfile, this will work fine.
my virtual python version is 3.6
Expected result
Pipfile.lock content should be:
        "py2exe-py2": {             "hashes": [                 "sha256:c66c73aaca3e68ef52dcfcd6222d83d3622a50a7d0bd3e762814464da51d8371"             ],             "index": "pypi",             "markers": "python_version <= '3.4' and sys_platform == 'win32'",             "version": "==0.6.9"         },
the shell should output:
Ignoring py2exe-py2: markers 'python_version <= "3.4" and sys_platform == "win32"' don't match your environment
Actual result
1.Pipfile.lock content actural be:
        "py2exe-py2": {             "hashes": [                 "sha256:c66c73aaca3e68ef52dcfcd6222d83d3622a50a7d0bd3e762814464da51d8371"             ],             "index": "pypi",             "markers": "python_version <= '3.4' or sys_platform == 'win32'",             "version": "==0.6.9"         },
2.the shell actural output:
An error occurred while installing py2exe-py2==0.6.9 ; python_version <= '3.4' or sys_platform == 'win32' --hash=sha256:c66c73aaca3e68ef52dcfcd6222d83d3622a50a7d0bd3e762814464da51d8371! Will try again. .... Installing initially failed dependencies…      ================================ 2/2 - 00:00:07 [pipenv.exceptions.InstallError]:   File "c:\python36\lib\site-packages\pipenv\cli\command.py", line 254, in install [pipenv.exceptions.InstallError]:       editable_packages=state.installstate.editables, [pipenv.exceptions.InstallError]:   File "c:\python36\lib\site-packages\pipenv\core.py", line 1874, in do_install [pipenv.exceptions.InstallError]:       keep_outdated=keep_outdated [pipenv.exceptions.InstallError]:   File "c:\python36\lib\site-packages\pipenv\core.py", line 1253, in do_init [pipenv.exceptions.InstallError]:       pypi_mirror=pypi_mirror, [pipenv.exceptions.InstallError]:   File "c:\python36\lib\site-packages\pipenv\core.py", line 862, in do_install_dependencies [pipenv.exceptions.InstallError]:       _cleanup_procs(procs, False, failed_deps_queue, retry=False) [pipenv.exceptions.InstallError]:   File "c:\python36\lib\site-packages\pipenv\core.py", line 681, in _cleanup_procs [pipenv.exceptions.InstallError]:       raise exceptions.InstallError(c.dep.name, extra=err_lines) [pipenv.exceptions.InstallError]: ['Collecting py2exe-py2==0.6.9 (from -r C:\\Users\\lei\\AppData\\Local\\Temp\\pipenv-m_0kxixe-requirements\\pipenv-cgoiw517-requirement.txt (line 1))'] [pipenv.exceptions.InstallError]: ['Could not find a version that satisfies the requirement py2exe-py2==0.6.9 (from -r C:\\Users\\lei\\AppData\\Local\\Temp\\pipenv-m_0kxixe-requirements\\pipenv-cgoiw517-requirement.txt (line 1)) (from versions: )', 'No matching distribution found for py2exe-py2==0.6.9 (from -r C:\\Users\\lei\\AppData\\Local\\Temp\\pipenv-m_0kxixe-requirements\\pipenv-cgoiw517-requirement.txt (line 1))'] ERROR: ERROR: Package installation failed...
Steps to replicate
1.add an package item to pipfile:
"py2exe-py2" = {version = "==0.6.9", markers = "python_version <= '3.4'", sys_platform = "== 'win32'"}
2.exec "pipenv install"

Yeah, we should check the markers before actually searching PyPI.

i mean markers = "python_version <= '3.4'", sys_platform = "== 'win32'" in Pipfile is expressed as "markers": "python_version <= '3.4' or sys_platform == 'win32'" in Pipfile.lock, is this correct?

Oh, yeah, it comes from https://github.com/pypa/pipenv/blob/d5e446ee7bd0e769c385331714c8616c6b6738b8/pipenv/utils.py#L1611-L1614
But I dunno if or is intended /cc @techalchemy

It's sort of correct, it's intended to handle the normal use case of multiple possible python versions listed.  If you want to use multiple types of marker (e.g. python_version and sys_platform) you need to use standard syntax and only supply markers as a key (merging markers is incredibly hard, we've spent like months or longer on this problem in passa):
markers = "python_version <= '3.4' and sys_platform == 'win32'"
There is something we can do here but it is super difficult to test edge cases etc, so the safest answer is to just write it out

I got another problem about marker.
Pipfile content:
pyscard-cp27-win32 = {path = "wheelhouse/pyscard-1.9.7-cp27-cp27m-win32.whl",markers = "python_version == '2.7'",sys_platform = "== 'win32'"} pyscard-cp36-win32 = {path = "wheelhouse/pyscard-1.9.7-cp36-cp36m-win_amd64.whl",markers = "python_version == '3.6'",sys_platform = "== 'win32'
auto generate Pipfile.lock content:
"pyscard": {             "hashes": [                 "sha256:412c74c83e7401566e9d3d7b8b5ca965e74582a1f33179b3c1fabf1da73ebf80",                 "sha256:c63a87e4e7c87ce4c1299a1d8e0cae4e43f27451ca210f2c54f2dcd7467565c5"             ],             **"markers": "python_version == '3.6' and sys_platform == 'win32'",**             "version": "==1.9.7"         },         "pyscard-cp27-win32": {             "markers": "python_version == '2.7'",             "path": "wheelhouse/pyscard-1.9.7-cp27-cp27m-win32.whl",             "sys_platform": "== 'win32'"         },         "pyscard-cp36-win32": {             "markers": "python_version == '3.6'",             "path": "wheelhouse/pyscard-1.9.7-cp36-cp36m-win_amd64.whl",             "sys_platform": "== 'win32'"         },
In the "pyscard" key-map，does "marker" should exist? if should , python_version == '3.6' is correct? "markers": "python_version == '3.6' and sys_platform == 'win32'",

markers don’t work on local paths as far as I understand

(Wrong button)

infact, markers  does work on local paths.
let's say, on python2.7 virtual env:
Ignoring pyscard: markers 'python_version == "3.6" and sys_platform == "win32"' don't match your environment DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. Ignoring pyscard: markers 'python_version == "3.6" and sys_platform == "win32"' don't match your environment

If I understand correctly, the resolver will add the hashes of local wheels at the end, but it can't find a key pyscard, so it creates one. The two hashes should come from the two wheels.


authentication doc reorganization

The purpose of this PR is to break our single long doc into smaller individual docs similar to our install organization.  The instructions have changed very little in this step.  Our next step is to add more content -- more pros and cons, tips and techniques etc.

@jiasli for review

Merging PR with sufficient time given for engineering review.  Our next step is to add content to each individual auth article with more pros, cons, tips, and techniques.


Generate our own config.h

We need the ability to have cargo features control which config options get turned on during build. For example: a kw feature should generate #define MBEDTLS_NIST_KW_C in config.h. First, we need to identify a list of initial features to create. Then we need to create them.

[ ] Determine an initial subset of features to enable and add them to this list
[ ] ...

For an example of how to do this, look here: https://github.com/fortanix/rust-mbedtls/blob/master/mbedtls-sys/build/config.rs


[BUG] architecture overview page not found

architecture

could not be opened.

@YongCHN Perhaps https://koordinator.sh/docs/architecture/overview is right.
It seems to be a dead link problem. Could you please add more info about where to get the link?


__webpack_hmr not loading

I installed the baisc vue-webpack template and I can not get hot reloading to work. Although whenever I make a change to a file in the console I see the re-compiling being done the browser page does not reload by itself.
I am using Google Chrome on Windows 10, there is a request to __webpack_hmr that stay son pending for 5-10 seconds then the request is canceled.

Can you try the example project from this repo? Do you get the same problem?
Are you on windows? There's a bunch of reports around networking issues from the EventSource connection that tend to appear on windows. There might be some workarounds you can try in the comments of the other issues.

The example doesn't work either, although the webpack is rebuilding the browser is not updating, I have to refresh to see the changes. I searched for about 2 hours for a solution and tried most fixes I have found, still no success.

The problem (in my case) is the antivirus. Disabling BitDefender Antivirus Free fixes the issue. Unfortunately I don't know the exact cause as the antivirus logs don't report anything.


fix(deps): update terraform terraform-ibm-modules/powervs-infrastructure/ibm to v8.2.2 - abandoned

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/powervs-infrastructure/ibm (source)
module
patch
8.2.1 -> 8.2.2

Release Notes

terraform-ibm-modules/terraform-ibm-powervs-infrastructure
v8.2.2
Compare Source
Bug Fixes

deps: update terraform-module (#539) (b0b11e4)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

Autoclosing Skipped
This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


M3-1875 Create volume for Linode

Purpose
Use the global drawer for creation of a volume and immediate attachment to a Linode.
Notes
This is only creation. The next PR will add the attach to Linode flow back.

Coverage decreased (-0.03%) to 30.871% when pulling 33611f7b0255664c175a34dbcdd1066ebf218890 on rjstires:M3-1875-unified-volume-creation into fb595b4a81a36ee9d3224e06731c3d3363a08d7d on linode:feature/unified-volumes.


[BUG]: YouTubeMusic is not a constructor

Please describe the current behaviour of the code.
Following the example in the readme will cause a TypeError: YouTubeMusic is not a constructor
Please describe the expected behaviour of the code.
This error should not occur
What are the steps to reproduce the error?
Slightly modified code based off the readme example:
import YouTubeMusic from "youtube-music-ts-api";

import untypedConfig from "../config/config.json" assert { type: "json" };
import type { Config } from "./types/config.js";
const { YouTubeMusicCookie } = untypedConfig as Config;

const cookieStr = YouTubeMusicCookie;
const ytm = new YouTubeMusic(); // "TypeError: YouTubeMusic is not a constructor" on build
const ytma = await ytm.authenticate(cookieStr);
const playlists = await ytma.getLibraryPlaylists();
console.log(playlists);

Additional Information
typescript 5.4.2 (also tested with 5.2.2)
tsx 4.7.1
youtube-music-ts-api 1.7.0
node 21.7.1 (also tested with 18.19.1)

I'd be curious to see your tsconfig.json since this is working just fine for me on node 20. In particular, I think it could be this in the tsconfig.json file:
"compilerOptions": {         "module": "commonjs" }

Sorry this took so long to get back to you on.
I set up an example repository - https://github.com/SomeAspy/ytm-ts-33
In this case I used NodeNext for modules (which is what I typically do), but I was also not able to get it working using commonjs

I investigated this a little further and I think this is an issue with tsx. Here is the corresponding bug dealing with tsx and default exports:
https://github.com/privatenumber/tsx/issues/427
The simplest workaround in your setup to make this is to work is to remove the type: "module" from the package.json file and then make the code in async function to avoid the await on top-level error:
(async () => {
    const ytm = new YouTubeMusic(); // "TypeError: YouTubeMusic is not a constructor" on build
    const ytma = await ytm.authenticate(process.env.YOUTUBE_COOKIE);
    const playlists = await ytma.getLibraryPlaylists();
    console.log(playlists);
})();

Also a workaround mentioned from this similar issues is to use new YouTubeMusic.default().
https://github.com/zS1L3NT/ts-npm-ytmusic-api/issues/30

Ah, my bad I should have done a proper TSC setup.


DOC: Add repobeats stats to README, contributing docs

Demonstrate community activity and motivate involvement.
Add to the README and ReadTheDocs Contributing index.

Sorry for being late; is there a way that these point to some repobeats/ITK website instead of pointing to the image file? i.e. clicking on the image simply opens the image in another tab.

Looks really cool! Indeed, the effect of clicking  on the image it a bit disappointing, though, as Jon (@jhlegarreta) remarked. And I'm missing any stats of involvement by means of code reviewing. I think code reviewers deserve to be in the spotlight as well  😃

@jhlegarreta @N-Dekker I added a link to the GitHub Pulse demonstrate that we are an active community in https://github.com/InsightSoftwareConsortium/ITK/pull/5089


mouseover labels give NS_ERROR_FAILURE on firefox

I'm having problems with the sample code for polar area chart I copied from the supplied examples.  It works fine in Chrome, but gives a NS_ERROR_FAILURE when in Firefox when I put the cursor over the plot to get the tool tip.  Firebug brings me to line 1355 in micropolar-v0.2.2.js.  I get the same errors when looking at the demos on the micropolar.org page, and it even causes most of the usage examples to not display at all.  This is occurring under windows 7 and linux (open suse 13.1).

I would be interested in a fix for this as well. Thank you.

I opened a pull request with a fix for this.
There's an existing bug in FF where they throw an error calling getBBox() on non-visible svg elements.  Bugzilla Report, hence the NS_ERROR_FAILURE. Let me know if you have issues, I'll take a look this weekend if it doesn't fix everything.


adds a kustomization file

adds a kustomization file
currently this adds a kustomization file that makes it easier to apply yaml changes
How to use
kustomize build .
or create a patch inside another directory:
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- path/to/folder/of/reboot-coordinator/kustomization/file
namespace: reboot-coordinator
patches:
- path: custom-env.yaml
  target:
    group: apps
    version: v1
    kind: Deployment
    name: flatcar-linux-update-operator

custom-env.yaml:
kind: Deployment
metadata:
  name: flatcar-linux-update-operator
  namespace: reboot-coordinator
spec:
  template:
    spec:
      containers:
        - name: update-operator
          env:
          - name: UPDATE_OPERATOR_REBOOT_WINDOW_START
            value: "Sun 01:00"
          - name: UPDATE_OPERATOR_REBOOT_WINDOW_LENGTH
            value: "2h

Testing done
checked the output of kustomize build . so that it also applies the reboot window

@invidian yeah I pushed and immediatly noticed the mistake!


oms_setup.sh now exits on the first encountered error (apart from --reset)

Done:
https://oms-project.atlassian.net/wiki/spaces/GENERAL/pages/21634340/Troubleshooting#Troubleshooting-Errorcodes


File sync readme.md

This is a Feature Request
File sync readme
What would you like to be added
File sync
Comments
https://github.com/kubernetes/website/blob/master/README.md
https://github.com/kubernetes/website/blob/master/README-ru.md
/assign
/language ru

done
/close


Add isBuildArtifact field to Artifacts

As justified in TEP https://github.com/tektoncd/community/pull/1155, this PR adds isBuildArtifact field to Artifacts.
This field will allow Tekton Chains to understand user's desire and appropriate add the artifact as a subject or a byProduct in the SLSA provenance.

Changes

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[x] Has Tests included if any functionality added or changed
[x] pre-commit Passed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
Add isBuildArtifact to Artifacts.

/kind feature

/assign @ericzzzzzzz

We may need to refactor https://github.com/tektoncd/pipeline/blob/92f43eecde0f6d9b1706ca6147977dd35411b346/pkg/apis/pipeline/v1/artifact_types.go#L52 to merge IsBuildArtifact from stepArtifact into taskArtifact,  without this, IsBuildArtifact will not be propagated to status.Artifacts.outputs if we write artifacts to $(step.artifacts.path)

We may need to refactor
https://github.com/tektoncd/pipeline/blob/92f43eecde0f6d9b1706ca6147977dd35411b346/pkg/apis/pipeline/v1/artifact_types.go#L52
to merge IsBuildArtifact from stepArtifact into taskArtifact, without this, IsBuildArtifact will not be propagated to status.Artifacts.outputs if we write artifacts to $(step.artifacts.path)

Thanks! I think I fixed it. When merging, even if one of the artifacts has isBuildArtifact: true then we merge them with the true state since it is more conservative.

/hold wait for https://github.com/tektoncd/community/pull/1155

/hold cancel

/retest

/retest

Checking my understanding - this field should have the same stability level as Artifacts as an alpha feature correct?
Yes, that's right. It should be the same stability level.

btw I don't seem to find artifacts in the alpha feature table https://github.com/tektoncd/pipeline/blob/main/docs/additional-configs.md#alpha-features?
I can add that in a separate PR.

/retest


Add Code of Conduct

Hey 👋 I am a newbie contributor and I would like to offer to create a documentation task - setting up code of conduct from scratch for the users of bined-android repo. Let me know if it is okay. This is a attempt to make a small contribution as a part of hacktoberfest.

Hi, I don't believe project of this size would need or even benefit from code of conduct, not even for far future. I recommend to offer this instead to other hacktoberfest marked projects with managerial structure which would benefit from such declaration.

Understood, Thank for your response! 💫✨


Make API request inside intent

Hi. I've seen other questions like this one here, but I couldn't make it work with the answers from the other questions. I'm try to call a weather api and send it as a response, but it always returns blank on the speech output. Here is my intent:
app.intent('sayWeather',
  {
  	"slots" : {"city" : "AMAZON.US_CITY"},
    "utterances":[
		"what is the weather in {-|city}",
		"tell me the weather in {-|city}",
		"how is the weather in {-|city}"]
  },
  function(request,response) => {
  	var city = request.slot("city");
  	var forecast = "Searching...";
  	weather.find({search: city, degreeType: 'C'}, (err, result) => {
  		if(err) {
        response.say("The weather in " + city + " could not be found!").send();
  		} else {
    		var forecast = result[1].current.temperature;
        response.say("The weather in " + city + " is " + forecast + " degrees celsius").send();
      }

    });
  }
);```

And when I try I get this response:

![screen shot 2017-12-12 at 09 03 49](https://user-images.githubusercontent.com/4142065/34212872-6d97604a-e57c-11e7-99cb-c5622e39ca7e.png)

Does anyone know what is wrong?

You have to return a promise from the function. If whether.find returns a promise, then you're just missing a `return weather.find..., otherwise you need to wrap this callback up in one.
I'll close this, but feel free to ask for more details if you can't figure it out.

It worked. Thank you :D


examples to forecast with multiple feature columns

as described in title, now there seems to have only example like
[entity_col, time_col, price_col]

How can I forecast with more columns as:
[entity_col, time_col, pct_col, low_col, high_col, open_col, close_col]

I had tried data with these column schema but it did not work

You can find this example in our docs: https://docs.functime.ai/forecasting/#exogenous-regressors.
We use a sklearn-like API: y and X are separate arguments in .fit and .predict. This is a pretty common question, so I just added an example into the README as well!
X = (
    y.select([entity_col, time_col])
    .pipe(add_fourier_terms(sp=12, K=6)).collect()
)
X_train, X_future = y.pipe(train_test_split(test_size=3))
forecaster = linear_model(freq="1mo", lags=24)
forecaster.fit(y=y_train, X=X_train)
y_pred = forecaster.predict(fh=3, X=X_future)

@topher-lo I run your code example, but missing y_train valirbale.
suppose the y like [entity_col, time_col, pct_col, low_col, high_col, open_col, close_col] , and target_col is pct_col.
Could you please explain how to get the corresponding y_train? Below is my code:
    df = get_sqldf() # custom function     y=pl.DataFrame(df)     entity_col, time_col, target_col = y.columns[0: 3]     X = (         y.select([entity_col, time_col])         .pipe(add_fourier_terms(sp=12, K=6)).collect()     )     X_train, X_future = y.pipe(train_test_split(test_size=3))     forecaster = linear_model(freq="1mo", lags=24)     y_train = y.select([target_col]) # TODO, verify label     forecaster.fit(y=y_train, X=X_train)     y_pred = forecaster.predict(fh=3, X=X_future)

Try:
y_train=y.select([entity_col, time_col, pct_change])

Thank you, I seem to understand your meaning. The first two columns of y must be 'entity' and 'time', and the corresponding label will be automatically selected based on these two columns internally, right? The relevant code snippet is as follows，hope this can help others.

def make_direct_reduction(
lags: int, max_horizons: int, y: pl.LazyFrame, X: Optional[pl.LazyFrame] = None
) -> pl.DataFrame:
idx_cols = y.columns[:2]
# Defensive lazy
y = y.lazy()
X = X.lazy() if X is not None else X
# Get lags
y_lag = y.pipe(lag(lags=list(range(1, lags + max_horizons + 1))))
X_y = y_lag.join(y, on=idx_cols, how="inner").select(
[*y.columns, *y_lag.columns[2:]]
)
# Drop nulls in lagged columns
if X is not None:
X_y = _join_X_y(X_y, X)
# NOTE: Cannot use streaming...
# Raises error: pyo3_runtime.PanicException: internal error: entered unreachable code
X_y_final = X_y.collect()
return X_y_final

Great! I'll close the issue for now. But other users should be able to find it.


security sandbox issue

Since the http and the rtsp server are not within one machine, now I encountered the sandbox issue,
in browser flash cannot play rtsp video,
any solutions????

If you have a socketpolicy server running and serving policy file on port 843 (see the README), then it works fine. This is the standard way I use Locomote.

Thanks to noseglid.
It worked after starting a policy server on port 843.

hello, xinlingyun, are you chinese ?  would you mind give me a live demo show how to play rtsp steams with locomote ? thanks


Add Classic VIPxWoomen song by Xer07

Song Name
Classic VIPxUp
Artist Name
Xer07
Source
Direct file download
Youtube Link
https://youtu.be/fM1dlQASiDU?si=PzNOJM0WptGirK9x
Direct File Link
https://drive.google.com/file/d/15w9ycWRgoXN7gDAKX5u4zWFE_V-kG7GL/view?usp=sharing
Song ID
502268
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 75206202

Accept

Accept


block UI when needed and show "progress"

add response for user after clicking Sync button, because with many domains/devices, the autodiscovery can take several minutes.
block UI

[x] make auto discovery block UI when clicking sync

progress indicator
add progress indicator (start with spinner ) at certain UI places (everywhere calls might take longer than 3 secs)

[x] autodiscovery
[x] deleting devices (mgmt, gw)
[x] deleting demo data
[x] roll-back import
[x] also report generation?

long term solution

[x] #1605

fixed


examples/07_paraview/Picking not working?

Hi Sebastien,
I was playing around with the examples and noted that examples/07_paraview/Picking is (maybe) misbehaving. Box selections look right, but hoverOnPoint/Cell is not displaying any tooltip with info as it happens in pv.
Cheers

I don't know what you mean. The hover is not activated in that example. Also the tooltip will have to be managed via some web ui.
Moreover you can find VTK example doing hover picking here. The only thing is that the example just resolve the actor not the point info, but the basic gist is there...


process_result::overspend -> process_result::negative_spend

If a send block has a higher balance than the previous, then it's trying to spend a negative amount, not spend more than it has.

So perhaps you've also uncovered a gap in our testing, then?

No, it's not possible to overspend with the nano protocol. The send block's balance is the balance after the send, and it is unsigned, so it cannot be negative.


Increment Version

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/86028
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.12.3 -m "<description of version>" d695fa166e8957804f3ba1bacf948446e704cd97
git push origin v0.12.3

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/86258
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.12.4 -m "<description of version>" 4c36c62df6336dd0ccec91322dc5b72cd34e210c
git push origin v0.12.4

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/93576
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.12.5 -m "<description of version>" 15160c47a04e89ef4a5e6a6950e0fee55dce9d2a
git push origin v0.12.5


supported more function component usages

supported before function component usages:

export default function (), without function name，but there's a space before ().
export default function exportedFunction()， there's no space before ().

great job on this, looks good!


Need to set up a development environment

As a developer
I need to set up a development environment
So that to develop
Details and Assumptions

using Visual Code Studio Remote Containers extension

Can delete the acceptance criteria. (trivial matter)


Add serial and parallel nonlinear diffusion example with SUNDIALS [sundials-ex16-dev]

Copies examples/ex16{,p}.cpp to examples/sundials and switches the default ODE solver to CVODE in both files.
When used with the SUNDIALS solvers, ex16p hangs at an MPI_ Allreduce() deep in the FormSystemMatrix() call stack at hypre_ParCSRMatrixSetNumNonzeros(). I will investigate.

The latest commit fixes the issue - I had forgotten change the CVODESolver and ARKODESolver constructors to pass to MPI_Comm. This should now be ready to merge.

TODO:

[ ] Update https://github.com/mfem/web/blob/master/src/examples.md aftern merging


task

hello from space and IITU
from qazaqyanke at march 2022

What is it? Please modify only one file in web

its for a ctfwall

Ctfwall in this file:
https://github.com/freehackquest/fhq-server/blob/dev/web-user/src/app/pages/ctf-wall/ctf-wall.component.html
only there expected changes

And please recreate fork for fix conflicts


Add SNMP notifier as Alertmanager Webhook.

@brian-brazil
Hi,
I had to use a similar webhook to send Prometheus' Alertmanager alerts to a legacy SNMP notification system. It runs well on a production system, and here is an open-source version.
It may be useful to someone else.
Cheers.

Thanks for sharing. This is taking a secret (the community) on the command line which isn't secure, could you fix that?
I'd also suggest reconsidering the default grouping, the alerts already come grouped from the Alertmanager so I'd rely on that rather than having two layers of grouping.


SyntaxError: Named export 'OpenSeaStreamClient' not found.

I installed the dependency and copied the code as in README:
import { OpenSeaStreamClient } from '@opensea/stream-js';
I got:
import { OpenSeaStreamClient } from '@opensea/stream-js';
         ^^^^^^^^^^^^^^^^^^^
SyntaxError: Named export 'OpenSeaStreamClient' not found. The requested module '@opensea/stream-js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from '@opensea/stream-js';
const { OpenSeaStreamClient } = pkg;

    at ModuleJob._instantiate (node:internal/modules/esm/module_job:128:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:194:5)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:409:24)
    at async loadESM (node:internal/process/esm_loader:85:5)
    at async handleMainPromise (node:internal/modules/run_main:61:12)

Node.js v18.0.0

I tried to add   "type": "module" in package.json but it didn't work

all so getting same error did you find a way to fix it?

fixed in https://github.com/ProjectOpenSea/stream-js/pull/89

Can you try again on the latest version -- 0.0.18?

0.0.18 still doesn't work. I'm using ESM with .mjs file extension.

@AeroXi are you still running into issues?


Unmatched license allowance in cargo-deny (gh-actions)

 warning[L006]: license was not encountered
   ┌─ /github/workspace/deny.toml:32:5
   │
32 │     "BSD-2-Clause",
   │     ^^^^^^^^^^^^^^ unmatched license allowance

warning[L006]: license was not encountered
   ┌─ /github/workspace/deny.toml:33:5
   │
33 │     "BSD-3-Clause",
   │     ^^^^^^^^^^^^^^ unmatched license allowance

warning[L006]: license was not encountered
   ┌─ /github/workspace/deny.toml:37:5
   │
37 │     "Zlib",
   │     ^^^^^^ unmatched license allowance

Should these be added to the deny.toml?

I believe this warning is suggesting that these licenses be removed from deny.toml.

I believe this warning is suggesting that these licenses be removed from deny.toml.

I believe this warning is suggesting that these licenses be removed from deny.toml.

True, I misread that actually. Hmm, anyway, the return value of this CI action defeats a bit the purpose of the CI if there is always one check that is not passing. People will just get used to "ah, this check never passes", not sure if it should be like that. :-/

I believe this warning is suggesting that these licenses be removed from deny.toml.

True, I misread that actually. Hmm, anyway, the return value of this CI action defeats a bit the purpose of the CI if there is always one check that is not passing. People will just get used to "ah, this check never passes", not sure if it should be like that. :-/

Yeah, I've disabled the workflow for now, will have to fix this later on. Its not blocking things at the moment.

Yeah, I've disabled the workflow for now, will have to fix this later on. Its not blocking things at the moment.


How can i get API key?

Please more details about get api key.

Create a new account on https://openweathermap.org/. After you logged into your account, tap on your profile name -> my API keys and you'll see your API key there.


[Event Request] Table 5964 Service Contract Line - Line Amount - Onvalidate

We would like to request the following publisher for table 5964 "Service Contract LIne" field "Line Amount". Same solution as the field "Line Discount %".
    field(24; "Line Amount"; Decimal)
    {
        AutoFormatType = 1;
        BlankZero = true;
        Caption = 'Line Amount';

        trigger OnValidate()
        var
            IsHandled: Boolean;
        begin
            TestStatusOpen;

            // START -->
            IsHandled := false;
            OnBeforeValidateLineAmount(Rec, xRec, CurrFieldNo, IsHandled);
            if IsHandled then
                exit;
            // --< END

            TestField("Line Value");
            Currency.InitRoundingPrecision;
            "Line Discount Amount" := Round("Line Value" - "Line Amount", Currency."Amount Rounding Precision");
            "Line Discount %" := "Line Discount Amount" / "Line Value" * 100;
            Profit := Round("Line Amount" - "Line Cost", Currency."Amount Rounding Precision");
        end;
    }

Many thanks.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


⚠ Bofrost.fr has degraded performance

In f3d0a0f, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1224 ms

Resolved: Bofrost.fr performance has improved in 1edf8de after 13 minutes.


App bar and theme and Dashboard improvements

resolves #280
resolves #282

With the later commits the Dashboard changed to:

Note: The color can be changed globally with one line if needed :)

bors r+


Multiple outputs for openssl

I'm trying to fix siege package and found, that out and dev outputs for openssl are ... strange.
$ du -a /nix/store/*openssl-1.0.2g{,-dev}/lib
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/engines/libnuron.so
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/engines/libchil.so
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/engines/lib4758cca.so
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/engines/libgmp.so
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/engines/libpadlock.so
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/engines/libcswift.so
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/engines/libaep.so
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/engines/libubsec.so
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/engines/libgost.so
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/engines/libatalla.so
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/engines/libsureware.so
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/engines/libcapi.so
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/engines
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/libcrypto.so.1.0.0
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/libssl.so.1.0.0
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/pkgconfig/openssl.pc
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/pkgconfig/libcrypto.pc
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/pkgconfig/libssl.pc
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/pkgconfig
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/libssl.so
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib/libcrypto.so
/nix/store/cd50ncj52230kmv6sbxhf9ybs7s6m3cq-openssl-1.0.2g/lib

/nix/store/15qighn2am7p580xwxdaqdmvhdf86x5l-openssl-1.0.2g-dev/lib/pkgconfig/openssl.pc
/nix/store/15qighn2am7p580xwxdaqdmvhdf86x5l-openssl-1.0.2g-dev/lib/pkgconfig/libcrypto.pc
/nix/store/15qighn2am7p580xwxdaqdmvhdf86x5l-openssl-1.0.2g-dev/lib/pkgconfig/libssl.pc
/nix/store/15qighn2am7p580xwxdaqdmvhdf86x5l-openssl-1.0.2g-dev/lib/pkgconfig
/nix/store/15qighn2am7p580xwxdaqdmvhdf86x5l-openssl-1.0.2g-dev/lib

So, out has all the .so files, but dev doesn't. How's that?
Specifically siege requires .so files and includes, so .so files must be present in dev output

Discussion at https://github.com/NixOS/nixpkgs/commit/ede605e4f1b651ac61f913638fe69698dd7a33ae might be relevant. ping @vcunat

That's completely normal. We don't duplicate files among outputs, instead dev propagates out. That's similar to major distros: *-dev packages contain extra files for development and depend on the runtime packages.
Before starting to assume about how it works, you may want to check out the docs: http://hydra.nixos.org/build/34390075/download/1/nixpkgs/manual.html#chap-multiple-output

BTW, I don't think that discussion is really relevant.

Ok, thanks. What should I do in case when I do need several outputs in one derivaiton? Create custom derivation with lndir? siege package requires .so files and includes, but they are in different outputs of openssl

@danbst if dev propagates out, then adding dev to the inputs should also bring in out, and both would be added to the builder's environment. At that point, it shouldn't really matter which input brought in what. I think it's better if you describe more fully what it is you're trying to do.

@joachifm I'm fixing build for siege (https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/networking/siege/default.nix). Now it fails with:
gcc -I/nix/store/15qighn2am7p580xwxdaqdmvhdf86x5l-openssl-1.0.2g-dev/include/openssl -I/nix/store/15qighn2am7p580xwxdaqdmvhdf86x5l-openssl-1.0.2g-dev/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -W -Wall -Wunused-value -DOPENSSL_NO_KRB5 -g -O2 -o siege array.o auth.o base64.o client.o cookie.o cookies.o cfg.o creds.o crew.o data.o date.o eval.o ftp.o getopt.o getopt1.o handler.o hash.o http.o init.o load.o log.o main.o md5.o sock.o ssl.o timer.o url.o util.o version.o  -L/nix/store/15qighn2am7p580xwxdaqdmvhdf86x5l-openssl-1.0.2g-dev/lib -lpthread ../lib/joedog/.libs/libjoedog.a -ldl -lssl -lcrypto
/nix/store/4bqj6wzfq81lhqysh224lqbsi533cyin-binutils-2.26-dev/bin/ld: cannot find -lssl
/nix/store/4bqj6wzfq81lhqysh224lqbsi533cyin-binutils-2.26-dev/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
Makefile:339: recipe for target 'siege' failed

I figured out, that dev output of openssl does not contain .so libraries (out contains).
I've done a hack in my .nixpkgs/config:
{pkgs}:
let openssl_wr = pkgs.symlinkJoin "openssl-dev-out" (with pkgs; [ openssl.dev openssl.out ]);
in
{
  packageOverrides = pkgs_: with pkgs_; {
    siege_s = siege.overrideDerivation (super: rec {
      configureFlags = [ "--with-ssl=${openssl_wr}" ];
    });
  };
}

And now package builds

Oh, I see what you mean now. This expression isn't using buildInputs, so propagation doesn't do anything for you here.

@danbst see https://github.com/NixOS/nixpkgs/pull/15038


Grbl mega 5x compatibility

Hello! Thank you for you work - using ioSender on my 3 axis cnc running teensy just fine. But now I playing with 5 axis foam cutter running latest GRBL Mega 5X and having issue right from connect. Looks like ioSender parse OPT incorrectly (also reproducible on my old 3 axis cnc running grbl 1.1h).
Controller sends OPT with value "VNMGL,35,255,64" and code try to parse 64 as NumAxes that obviously incorrect.
according to https://github.com/fra589/grbl-Mega-5X/wiki/grbl-Mega-5X-v1.2-interface

[OPT:] line follows immediately after and contains character codes for compile-time options that were either enabled or disabled.
- The codes are defined below and a CSV file is also provided for quick parsing. This is generally only used for diagnosing firmware bugs or compatibility issues.
- The value after the first comma contains the blockBufferSize, as int.
- The value after the second comma contains the rxBufferSize, as int.
- The value after the third comma contain the settings.flags, as int.

so there we should parse flags, not number of axis but flags. Not sure what to do next - have no exp with grbl protocol. For now I just replaced
if (s.Length > 3 && NumAxes != int.Parse(s[3], CultureInfo.InvariantCulture))
with
if (s.Length > 3 && int.TryParse(s[3], out int flags) && NumAxes != flags && flags < 10 && flags > 0)
to make it run, but I'm sure you know more elegant solution to this problem.
PS: Want to adapt ioSender as much as possible to FoamCutter mode, if you don't mind - digging trough code. If you interested in additional mode - let me know and I'll contribute as much as I can.

The correct fix is:
if (s.Length > 3 && IsGrblHAL && NumAxes != int.Parse(s[3], CultureInfo.InvariantCulture))
since the third element is a grblHAL extension, and also an incompatible GRBL Mega 5X extension (compared to legacy Grbl). I'll add it to the next build.
If you fork the ioSender repo and commit updates to it I can see what you are changing and may provide input on how to best proceed.

Wow, didn't expect such a fast response :) Sure - will fork and do my work. Only thing - I already converted solution to .Net 4.8, but it should be a problem while it doesn't alter older C# syntax.
Found and fixed couple minor bugs in xaml and files handling so far - maybe my changes will be useful for you. Will commit couple hours later.


support FreeBSD

support FreeBSD this will includes .ci testing

I don’t need for this

I don’t need for this


Running in Docker Desktop doesn't persist data at /data

Which service(blob, file, queue, table) does this issue concern?
blob, files, queue, table
Which version of the Azurite was used?
3.21.0
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
DockerHub
What's the Node.js version?
14.17
What problem was encountered?
When mounting a volume to persist blobs across container restarts they blobs and not persisted.
Steps to reproduce the issue?

Start a docker container with Azurite on the latest build and mount a volume to /data (as per the docs)
Upload a blob
Restart the container
Observe that the blob is no longer there

Have you found a mitigation/solution?
Yes, to fix this you need to map /opt/azurite/<path> and use the -l <path> option on start up. This is because the app is storing the data in the home directory of the app rather than in '/data'. An example of a working docker compose file is given for completeness
version: '3.1'

services:
  azurite:
    image: mcr.microsoft.com/azure-storage/azurite
    container_name: azurite
    restart: always
    entrypoint: ["azurite", "--blobHost", "<IP_ADDRESS>", "--blobPort", "10000","-l", "data"]
    environment:
      AZURITE_ACCOUNTS: "dev:MTIzNDU2Nzg5"
    volumes:
      - "C:/temp/azureite:/opt/azurite/data"
    ports:
      - 10000:10000

@RobbieLD
Thanks for raising this issue!
It looks you have already resolved it by change the docker-compose.yml file.
Do you mind to file a PR to update the sample file in Azurite Readme to fix this issue: https://github.com/Azure/Azurite#docker-compose

Hi @blueww,
Yeah no worries. I've submitted a PR. I updated the docker cli examples and the docker compose example. PR 1793


Planned compatibility Spring Boot3.0?

Hi. My plan is to keep Keycloak version up-to-date.
I have no plan to update SpringBoot to version 3 but I already tested it and checked one important thing. SpringBoot 3 uses the new libraries that uses jakarta.* instead of javax.* packages. So, when Keycloak update those libraries that use jakarta I'll try again to update the SpringBoot to version 3.


[Feature Request] - In the date selection, add "last week/month/year" buttons

Is your feature request related to a problem? Please describe.
Trying to filter results to be relevant to the current meta requires many clicks.
Describe the solution you'd like
When selecting the time span, quick buttons like "last 7 days" "last month" "year to date" allow the user to quickly surf different date ranges to see meta differences or look for relevant lists.
Describe alternatives you've considered
Continuing to click the buttons manually =)
Additional context
The site is fantastic, this is what I look at for 99% of my deckbuilding and updating.  Would just like to be able to scan things faster as I try to find off-meta garbage decks.

@rrdelaney can we cover this in v2?