Convert IEnumerables to Lists for perf improvements

PR Summary
Pervasive use of IEnumerables in primarily FindHelper and InstallHelper were causing some unexpected performances degradations.   Occasionally the same call was (unexpectedly) occurring multiple times due to the fact that IEnumerable does not return a collection.  This was particularly painful because it meant multiple, unnecessary server calls, which can hit the server hard, but also decreases performance of PowerShellGet.
PR Context
Resolves #654:

LINQ is generics and can cause multiple compiled methods calling search APIs.
Find code always returned IEnumerable interface, causing LINQ calls to call search APIs multiple times to manipulate IEnumerable as collections.
Dependency search returns IEnumerable which is then used as collection and calls server X times.
retrievedPkgs = pkgMetadataResource.GetMetadataAsync(...)
if (retrievedPkgs == null || retrievedPkgs.Count() == 0) ...
foundPackagesMetadata.AddRange(retrievedPkgs.ToList());

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Documentation needed

[ ] Issue filed:

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary.

Closing this PR in favor of #728


homework-12

Metric
Value

alert_status
:white_check_mark: OK

bugs
0

code_smells
32

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0

Metric
Value

alert_status
:x: ERROR

bugs
0

code_smells
52

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0


Bug: PixiComponent type issue with Container

Current Behavior
Type error when using PixiComponent with Container in typescript after upgrade the package version to below

@pixi/react version: 7.1.1
pixi.js version: 7.3.1
@pixi/display version: 7.3.1

import { Container as PixiContainer } from '@pixi/display';
import { Container, PixiComponent, applyDefaultProps } from '@pixi/react';
import { ComponentProps } from 'react';

// Type 'Container<DisplayObject>' does not satisfy the constraint 'DisplayObject'.
export default PixiComponent<ComponentProps<typeof Container>, PixiContainer>(
  'CustomContainer',
  {
    create: () => new PixiContainer(),
    applyProps: applyDefaultProps,
  }
);

Type 'Container<DisplayObject>' does not satisfy the constraint 'DisplayObject'.
  Types of property 'children' are incompatible.
    Type 'DisplayObject[]' is not assignable to type 'readonly FederatedEventTarget[]'.
      Type 'DisplayObject' is not assignable to type 'FederatedEventTarget'.
        The types returned by 'parent.eventNames()' are incompatible between these types.
          Type '(keyof DisplayObjectEvents)[]' is not assignable to type '(string | symbol)[]'.
            Type 'keyof DisplayObjectEvents' is not assignable to type 'string | symbol'.
              Type 'number' is not assignable to type 'string | symbol'.ts(2344)

No type error before upgrade, packages version below

@pixi/react version: 7.0.3
pixi.js version: 7.2.4
@pixi/display version: 7.2.4

Expected Behavior
Don't have any type error after upgrade pixi packages
Steps to Reproduce

Install the package version in a typescript react project

@pixi/react version: 7.0.3
pixi.js version: 7.2.4
@pixi/display version: 7.2.4

Create a component below

import { Container as PixiContainer } from '@pixi/display';
import { Container, PixiComponent, applyDefaultProps } from '@pixi/react';
import { ComponentProps } from 'react';

// Type 'Container<DisplayObject>' does not satisfy the constraint 'DisplayObject'.
export default PixiComponent<ComponentProps<typeof Container>, PixiContainer>(
  'CustomContainer',
  {
    create: () => new PixiContainer(),
    applyProps: applyDefaultProps,
  }
);

Upgrade packages to the following version

@pixi/react version: 7.1.1
pixi.js version: 7.3.1
@pixi/display version: 7.3.1

Component created in step 2 has type error

Environment

@pixi/react version: 7.1.1
pixi.js version: 7.3.1
@pixi/display version: 7.3.1
ReactDOM version: 18.2.0
react version: 18.2.0
typescript version: 5.0.4

Possible Solution
No response
Additional Information
No response

Follow up:
Found out it might be an issue related to Container's type declaration, simply new a Graphics and add into Container, it shows type error below

Same problem here, work around for me is the following:
import P from 'pixi.js';
import { PixiComponent } from '@pixi/react';

type FloorPlanGeneratorDataItem = {
	path: string;
};

type FloorPlanGeneratorProps = {
	data: FloorPlanGeneratorDataItem[];
};

export const FloorPlanGenerator = PixiComponent<
	FloorPlanGeneratorProps,
	P.DisplayObject
>('FloorPlanGenerator', {
	create: ({}) => {
		return new P.Graphics() as P.DisplayObject; // cast it back to DisplayObject for now
	},
});


ninja releases should include ninja.pdb

In case of crashes or a need to profile ninja it would be nice to have a PDB. Yes, I can rebuild it from source but it would be easy enough (I think) to add the .pdb to the release .zip file.

Hm ... you would need the exact same Visual Studio version to use the pdb file, wouldn't you?

No, that is not true. The PDB format is highly forward/backward compatible. There are some cases where you need a "new enough" version of Visual Studio or windbg but you never need exactly the same version and I have practically never found PDB/tool versioning to be a problem.

BTW, another prime consumer of the PDB data would be the Windows Performance Toolkit (WPA, the ETW trace viewer) and it handles all known versions of the PDB format.

I see, thanks.
When debugging ninja, wouldn't you also need the source anyway?
Also some optimizations make it harder to use a Release build for debugging/profiling.

Having the source is definitely advantageous. However even just having function names is a huge step up when looking at a crash dump. Many crashes can be diagnosed with just that information. And, if source is important then it is possible to track down the source (source indexing makes this automatic, so if that is embedded in the PDB then source will show up automatically).
For profiling it is very common to only care about function names, so source is often irrelevant.
As an example look at Microsoft's publishing of symbols. They routinely publish function-name-only PDBs for all of their software on symbol servers and this has been incredibly valuable. There is no reason to believe that the git symbols would be any less valuable.

@randomascii Now that Ninja uses the new Github Actions continuous integration system to manage releases, you should be able to make a PR that addresses this need directly.


Update pool default for Vara

Describe the task
Update pool default for Vara

Version test: http://<IP_ADDRESS>:8900/s/jbjrSymGqDxxkcJ
Validation passed in case

Start stake
Stake more

Re-check upgrade version

Start stake
Stake more


Empty grid from array provider throws exception

Show no records instead...

fixed in main

Hi @Vinai , can you please share the sample code for empty grid  array provider


[FEA] Implement regexp_extract_all on GPU for idx > 0

Is your feature request related to a problem? Please describe.
We should implement regexp_extract_all as part of our work to add comprehensive support for regular expressions. This issue is specifically for the case where idx > 0, which requires new functionality in cuDF as discussed in https://github.com/rapidsai/cudf/issues/9856
Describe the solution you'd like
Support regexp_extract_all on GPU.
Describe alternatives you've considered
None
Additional context
N/A

Depends on https://github.com/rapidsai/cudf/issues/9856

The cuDF functionality has now been implemented, so I plan on working on this in the next sprint.

Depends on https://github.com/rapidsai/cudf/issues/11033


Metrics pipeline (erroneously) overwrites reference type to "self"

When calling pm_stability_metrics popmon attribute on a Pandas dataframe we noticed that a TypeError is raised for SelfReferenceMetricsPipeline:

TypeError("init() got an unexpected keyword argument 'ref_hists_key'")

Which is surprising because we set reference_type="external", so we expect popmon to create an ExternalReferenceMetricsPipeline object.
After some investigation it turns out that in popmon->pipeline->metrics.py->stability_metrics() on line 54-58 you set kwargs["ref_hists_key"] = "ref_hists" because the reference type is set to "external". Then, you create the metrics pipeline and pass the settings and kwargs. However, in popmon->pipeline->metrics_piplines.py->create_metrics_pipline() it uses a kwarg reference_type with as default "self". As a result, the pipeline class is created using the kwarg reference_type instead of via the setting settings.reference_type. Therefore, whenever creating the stability metrics report from a Pandas dataframe the reference type is always "self", without control over it.
I guess this is some leftover kwarg that was forgotten to migrate to the new Settings class after the recent settings migration of popmon. Could you please fix this issue as it's preventing us from updating from popmon to more recent stable versions (1.4).

The fix is very simple btw: removing the kwarg reference_type from create_metrics_pipeline() and then using cls = get_metrics_pipeline_class(settings.reference_type, reference).
I didn't know what your contributor policy is, so for now I only created this issue ticket. I can create a pull request if you'd like and allow me.

Hi, thanks for reporting, we will have a look!

@mbaak this fix is relatively simple. I don't mind creating a pull request to fix it.

@mbaak this fix is relatively simple. I don't mind creating a pull request to fix it.

Sorry, I totally forgot. Please do!


changes "estilo" tag to "style" open tag

changes "estilo" tag to "style" open tag

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

LGTM, a bugfix.

Thank you! I'm closing this one as #33053 has a more complete fix.


frontends: python: update to new cg extraction data

This matches main.py to the changes in https://github.com/AdaLogics/PyCG/commit/0aefe877ce0c7995ad29ab1e104007900eaee544

Ref: https://github.com/ossf/fuzz-introspector/issues/280


Add "Stored as 4 degrees Celsius" option to Sample Block preparation_condition

Migrate from: https://github.com/hubmapconsortium/ingest-validation-tools/issues/1300

New term is added to HRAVS v2.3.16
Updating Sample Block, Sample Section, Sample Suspension spreadsheet files; See: https://github.com/hubmapconsortium/dataset-metadata-spreadsheet/commit/acf7aaab2720056cfca872ccde9364d1c91ffe53


PowerShell Support

Convert dvm.sh to dvm.ps1 so we can support Windows users. Until we have a common implementation (e.g. go), it will be reimplemented on Windows.
CMD support will be via a wrapper script, that calls into the PowerShell script.

Fixed by #30

Legit.


Ephemeral nodes for persister (WIP)

Early preview of my yet another idea for go-carbon/go-graphite.
Pods comes and goes quickly on kubernetes and this creates issue for monitoring it with Graphite. Long term metrics is hard to be accommodated because most of the pods don't live long enough, thus preallocation of big metric file becomes too expensive.
This merge request attempts to mitigate the issue by reusing old and relevant metric files belongs to the same deployment/application/service by reusing old metric files.
For example, if an application have 3 pods, and each pod generates some metrics for cpu/memory/requests.
with this ephemeral node configuration:
k8s.*.$ephemeral.*

existing files in data dir:
k8s/app1/pod-id-01/cpu.wsp --> old file
k8s/app1/pod-id-02/cpu.wsp --> current file
k8s/app1/pod-id-02/mem.wsp
k8s/app2/pod-id-02/cpu.wsp

When a new cpu metric for a new pod for app1 is produced, go-carbon would check if there is old metric file for the same metric. If there is, instead of creating a new metric file, it would pick it up and reuse it. Note: it won't reset the file, it would only rename it and keep the history.
So for the above example, when a new metics named k8s.app1.pod-id-03.cpu comes in, go-carbon would rename k8s/app1/pod-id-01/cpu.wsp to k8s/app1/pod-id-03/cpu.wsp
Pros:

long term history for short-lived pod metrics
less stress on disk usage

Cons:

if rollouts are too frequent, shorter than recycle threshold, then new files would still be generated

Codes still incomplete and production validation still needed. Just preview.

Another important note for this feature is that relays program and buckytools would also need to gain the capability of sending metrics belongs to the same application on kubernetes to the same go-carbon instance to maximize its benefit.
A simple design would be matching metrics by the ephemeral config and rewrite $ephemeral nodes to _ and then use calculate its jump hash for finding backends.
config: k8s.*.$ephemeral.*

changes:
k8s.app1.pod-id-02.cpu
->
k8s.app1._.cpu.wsp

This could be counted as a Con for this change.

kubernetes is referred here exclusively as a design target, but this feature could be used for other scenarios.

Is this PR still relevant, @bom-d-van ?

Hi @deniszh, this one we can close it for now. Decided to pull off this feature on the producer side.

Cool, thanks!


[chore]: use nightly releases

Changes
This depends on #1398 being merged and a set of nightly images being published successfully.
This will fix #1393
Introduces a new environment variable called DEMO_VERSION, which is set to latest. This will be used in docker-compose.yml to use the latest (re: nightly) release. If a user wants to lock it to a specific version, they can update and use this environment variable. Builds will still cache from the prior release to keep build times low.
Merge Requirements
For new features contributions please make sure you have completed the following
essential items:

[ ] CHANGELOG.md updated to document new feature additions
[ ] Appropriate documentation updates in the docs
[ ] Appropriate Helm chart updates in the helm-charts

Maintainers will not merge until the above have been completed. If you're unsure
which docs need to be changed ping the
@open-telemetry/demo-approvers.

The nightly release action was successful, and this branch runs as expected.


@Local causes weird log spam when used a a specific way

Log: https://mclo.gs/LcRO1u3
Class: https://github.com/Layers-of-Railways/Railway/blob/e40ef63f1a723f3dd48045991b51f5b3b8cadb98/common/src/main/java/com/railwayteam/railways/mixin/MixinTrackPlacement.java
That exact class's @Local somehow causes mixin/mixin extras to complain about it, as soon as i comment that mixin out theres no errors, not sure whats exactly going on so any help would be appreciated, (or it being fixed if it isnt a fault on my side)

This is an issue with Mixin itself simply caused by a missing null check here. The same logspam occurs when using ordinary local capture in an @Inject. I'd suggest opening an issue there and on FabricMC/Mixin. I'll try to make a PR to the latter when I have time.


We now recommend 2s as a polling period for standard sessions

/azp run js - mixedreality-remoterendering - tests

/azp run js - mixed-reality-remote-rendering - tests

The unit tests do not test with premium sessions, so I tested manually.


Open VSX Registry: Awareness and Important Steps

@un-def has published this extension in the Open VSX Registry.
The service was recently transferred to the Eclipse Foundation and we want to ensure a seamless transition for our users. To ensure uninterrupted service and more exposure for your extension, I recommend the following.
To the maintainers: If you would like to take over publishing to open-vsx.org, here’s how: https://github.com/eclipse/openvsx/wiki/Publishing-Extensions
To the current publisher: Please sign the Eclipse Publisher Agreement. The signing process is explained in the Wiki (steps 1 and 2).
Claiming ownership of the namespace for your extension(s). To find out how to do this, see:
https://github.com/eclipse/openvsx/wiki/Namespace-Access
As owner you can add more namespace members (including service accounts) yourself in https://open-vsx.org/user-settings/namespaces. Note that publishing can be done by any contributor to the extension, namely those you add as namespace members once they have signed the Publisher Agreement as well.
Please also note that a license is now mandatory for publishing your extension to Open VSX. If your project doesn't have any license, please add one, preferably an open source license such as MIT. The publishing tool ovsx offers to automatically add the MIT license when you try to publish without a license.
Useful links:
Eclipse Publisher Agreement
Eclipse Foundation Open VSX Registry Frequently Asked Questions (FAQ)
More details are in these recent blog posts:
https://blogs.eclipse.org/post/brian-king/open-vsx-registry-under-new-management
https://blogs.eclipse.org/post/brian-king/new-era-open-vsx-registry
Today, there’s growing momentum around open source tools and technologies that support Visual Studio (VS) Code extensions. Leading global organizations are adopting these tools and technologies. This momentum has spurred demand for a marketplace without restrictions and limitations. We hope you join us on this journey as we continue to build the Open VSX community.
We look forward to continued innovation from you in 2021!

@sumneko would it be possible to take care of this so the extension is also used in open source builds of vs code?

@sumneko would it be possible to take care of this so the extension is also used in open source builds of vs code?

It seems that this is used to publish the extension to Eclipse and should have nothing to do with VSCodium. Besides, does this extension not work on VSCodium?

VSCodium uses opensvx as marketplace. Not the Microsoft one. So, this extension does not appear in the search. One has to download vsix manually. Please refer to the VSCodium readme at the GitHub reponto see this information. Opensvx caters for all open source code editors that can run vscode compatible extensions.

Have published to https://open-vsx.org/extension/sumneko/lua

That's awesome, many thanks @sumneko! 🙏

Could the extension be updated? The latest on OpenVSX is 2.5.3, not sure if you have automatic deployment with github actions for vscode and if it could be done for openvsx as well (/ vscodium). It would be much appreciated since so much has been added since then 👍


BSONParser reads past end of document

The BSONParser assumes that it is entitled to read to the end of the stream.  While this is usually a valid assumption for reading JSON, BSON is designed to be used as part of chatty binary protocols, for example, it's used by MongoDB, where a single stream will have more than just a single BSON document going across it.  That's why the first 4 bytes of the stream is the size of the document, so that appropriate buffering can be done while reading, without interferring with the rest of the stream.
The BSONParser ignores the size of the document, and reads past the end of the document (as part of its buffering), which results in it consuming things it should not consume.  I've solved this by wrapping the input stream that goes into it with an input stream that reads the first 4 bytes, decodes them into the size, outputs them as the first 4 bytes, and returns EOF once that size has been read, but really I think the BSONParser should handle this itself.

Has been fixed with #13.


init-ed Terraform project?

Hi again:
/path/to/init-ed Terraform project means what exactly?
Thank you

Hi @vr00n,
blast-radius expects to be run either from within a terraform project directory, in which “terraform init” has been run, or to be given the path to such a directory as a command-line argument
So, either:
cd terraform-project-dir
terraform init
blast-radius —serve

Or
blast-radius —serve path-to-terraform-project-dir

Thanks @28mm, so if I were following the example configurations, say the open stack one - https://28mm.github.io/blast-radius-docs/examples/terraform-provider-openstack/app-with-networking/
what is the path to the terraform project dir?
Is it the root directory - https://github.com/terraform-providers/terraform-provider-aws
OR
this one - https://github.com/terraform-providers/terraform-provider-openstack/tree/master/test-infra/standard
?
Thanks again. I'd like to experience the joy of successfully building one of these diagrams with an admittedly limited knowledge of terraform, which I am currently grokking further.

Aha, I think I see. That particular example comes from here:
https://github.com/terraform-providers/terraform-provider-openstack/tree/master/examples/app-with-networking

You’d have to clone that repository, and initialize the example:
cd terraform-provider-openstack/examples/app-with-networking
terraform init
blast-radius --serve

Hope that helps!

That does Patrick. Thank you! V. excited to play around with this! Also a great service for mildly dyslexic devops folks who rely on visually parsing the world around them.


fix issue #75

fix panasonic api changes adding missing headers

Code in this PR is not working for me as of today 2023-09-21
[21/09/2023, 12:20:54] [Panasonic AC Platform] Comfort Cloud - login(): Error
[21/09/2023, 12:20:54] [Panasonic AC Platform] {
  "message": "Request failed with status code 400",
  "name": "AxiosError",
  "stack": "AxiosError: Request failed with status code 400\n    at settle (/usr/lib/node_modules/homebridge-panasonic-ac-platform/node_modules/axios/lib/core/settle.js:19:12)\n    at IncomingMessag
e.handleStreamEnd (/usr/lib/node_modules/homebridge-panasonic-ac-platform/node_modules/axios/lib/adapters/http.js:556:11)\n    at IncomingMessage.emit (node:events:525:35)\n    at endReadableNT (nod
e:internal/streams/readable:1358:12)\n    at processTicksAndRejections (node:internal/process/task_queues:83:21)",
  "config": {

Headers being sent:
  "headers": {
      "Accept": "application/json; charset=UTF-8",
      "Content-Type": "application/json",
      "User-Agent": "G-RAC",
      "X-APP-TYPE": "0",
      "X-APP-VERSION": "1.18.0",
      "Content-Length": "82",
      "Accept-Encoding": "gzip, compress, deflate, br"
    },
    "method": "post",
    "url": "https://accsmart.panasonic.com/auth/login",

This PR fixes the plugin for me, working as of 2023-09-21
(Note for others wanting to apply the fix manually, you have to run tsc to compile comfort-cloud.ts to comfort-cloud.js)

Hi @embee8. Would be great if you could approve :)

This plugin was last updated 6 months ago and the last time the author made any contribution on github was 21 May 2023.
I guess this plugin is essentially dead?
I wonder if the author who owned the plugin upon which this fork is based, codyc1515, might be willing to take it back on...

This plugin was last updated 6 months ago and the last time the author made any contribution on github was 21 May 2023.
I guess this plugin is essentially dead?
I wonder if the author who owned the plugin upon which this fork is based, codyc1515, might be willing to take it back on...

I messaged him

Thank you all and apologies for the delay. This fix is part of the v1.6.1 release that just went out.


Replacing dots with dashes on pip install breaks installation

From user feedback form.
The pip install command for packages with dots is transformed to dahes. These don't install. E.g., pip install biocommons.seqrepo works, but pip install biocommons-seqrepo does not.

I'm not able to reproduce this, as it works fine for me. However I think I can see the argument that we should have pip install <foo> use the "real" name of the project as the author intended and not the normalized name.


coredump broken? (IDFGH-6498)

I am following simplest possible example on the world:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/core_dump.html
Logs are looking good, core dump partition is found, crash info seems to be stored on it with 1 exception. There is no info about global_var dumped at all:
(gdb) p global_var
$1 = 0 '\000'

With espcoredump.py -p /dev/ttyUSB1 info_corefile ./build/core-dump.elf i see nice logs printed, and when i am trying to search for any info about global_var i find nothing.
Helpful logs:
I (256) cpu_start: ESP-IDF:          v5.0-dev-869-g3bd5ae6b78-dirty
...
assert failed: app_main core-dump.c:12 (0)

Backtrace:0x40081a72:0x3ffb79a00x40085841:0x3ffb79c0 0x4008a9b9:0x3ffb79e0 0x400d665a:0x3ffb7b00 0x400e63f8:0x3ffb7b20 0x40088331:0x3ffb7b40
0x40081a72: panic_abort at /home/chegewara/esp/master/components/esp_system/panic.c:403

0x40085841: esp_system_abort at /home/chegewara/esp/master/components/esp_system/esp_system.c:130

0x4008a9b9: __assert_func at /home/chegewara/esp/master/components/newlib/assert.c:85

0x400d665a: app_main at /home/chegewara/upwork/components/tests/core-dump/build/../main/core-dump.c:12

0x400e63f8: main_task at /home/chegewara/esp/master/components/freertos/FreeRTOS-Kernel/portable/port_common.c:127 (discriminator 2)

0x40088331: vPortTaskWrapper at /home/chegewara/esp/master/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:132

ELF file SHA256: 7b07d4e440407ddb

I (385) esp_core_dump_flash: Save core dump to flash...
I (391) esp_core_dump_flash: Erase flash 12288 bytes @ 0x110000
I (560) esp_core_dump_flash: Write end offset 0x2964, check sum length 4
I (560) esp_core_dump_flash: Core dump has been saved to flash.
Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP�ets Jul 29 2019 12:21:46

chegewara@ubuntu:~/upwork/components/tests/core-dump$ espcoredump.py -p /dev/ttyUSB1 dbg_corefile ./build/core-dump.elf
espcoredump.py v0.4-dev

Tested with master branch on esp32 and esp32 S3 with the same result.
#include <stdio.h>
#include "esp_attr.h"

// uint8_t global_var;
COREDUMP_DRAM_ATTR uint8_t global_var;

void app_main(void)
{

    global_var = 25;
    printf("%d\n", global_var); // use variable to avoid linker optimization
    assert(0);

}

Thanks

@chegewara that looks correct, core dump only contains task stacks (hence local variables) and doesn't contain .data or .bss sections or the heap.

@igrr
COREDUMP_DRAM_ATTR places variable into DRAM area which will be included into dump.

COREDUMP_RTC_ATTR places variable into RTC area which will be included into dump.

COREDUMP_RTC_FAST_ATTR places variable into RTC_FAST area which will be included into dump.

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/core_dump.html#supported-notations-and-ram-regions

@chegewara of course, you are right, I have overlooked the attribute in your issue report. We will investigate.


Serialization for std::unique_ptr Fails With Abstract Base Class

Original author: Nils Deppe (@nilsdeppe)
Original issue: https://charm.cs.illinois.edu/redmine/issues/1443

Attempting to serialize a std::unique_ptr fails when serializing an abstract base class with the error:
include/pup_stl.h:109:23: error: allocating an object of
      abstract class type 'EmbeddingMap<3, 3>'
        ptr.reset(new T);

This is because you are not able to call new on an abstract base class. One solution that we have used is:
template <typename T, typename std::enable_if<not std::is_base_of<
                          PUP::able, T>::value>::type* = nullptr>
inline void pup(PUP::er& p, std::unique_ptr<T>& t) {
  bool is_nullptr = nullptr == t;
  p | is_nullptr;
  if (not is_nullptr) {
    T* t1;
    if (p.isUnpacking()) {
      t1 = new T;
    } else {
      t1 = t.get();
    }
    p | *t1;
    if (p.isUnpacking()) {
      t.reset(t1);
    }
  }
}

template <typename T,
          typename std::enable_if<std::is_base_of<PUP::able, T>::value>::type* =
              nullptr>
inline void pup(PUP::er& p, std::unique_ptr<T>& t) {
  T* t1;
  if (p.isUnpacking()) {
    p | t1;
    t = std::unique_ptr<T>(t1);
  } else {
    t1 = t.get();
    p | t1;
  }
}

template <typename T>
inline void operator|(PUP::er& p, std::unique_ptr<T>& t) {
  pup(p, t);
}

I think the lower level issue might be that it only really makes sense to serialize an abstract base class if the receiving pointer is of the same concrete derived class.

Original author: Nils Deppe (@nilsdeppe)
Original date: 2017-04-23 00:12:15

This issue is present in the v6.8.0 beta. Could it be resolved before v6.8.0 final? I can make a pull request with the required changes if that'll help.

Original date: 2017-04-25 21:28:03

If you post a patch we can definitely take a look and see if we can get it into 6.8.0

Original author: Nils Deppe (@nilsdeppe)
Original date: 2017-04-25 21:39:46

I just realized this would require some C++11 things, std::enable_if and std::is_base_of. Rather than adding a temporary version of these I'd personally prefer to defer to 6.9.0, but if this is desired for 6.8.0 then there might be a workaround. Thoughts?

Original date: 2017-04-25 21:43:00

I think deferring to 6.9 would be preferable.

Original author: Nils Deppe (@nilsdeppe)
Original date: 2017-04-25 21:46:58

Alright, I'll try to get a patch in as quickly as possible for 6.9.0 then.

Original date: 2017-10-31 13:47:51

This needs to be revisited now that we're working on 6.9.0

Original author: Nils Deppe (@nilsdeppe)
Original date: 2017-10-31 14:30:56

You should be able to just drop in our implementation into your code. We also have various other STL containers implemented here: https://github.com/sxs-collaboration/spectre/blob/develop/src/Parallel/PupStlCpp11.hpp

Original date: 2017-11-02 21:38:54

(formatted code)

Original date: 2017-11-02 22:32:12

Nils, I've pulled in the code you linked, as well as your definition of Requires, which is used heavily in your stl pup code. It seems to work without almost any modification, but I'm testing a few more things and should have a patch up for review tomorrow.

Original author: Nils Deppe (@nilsdeppe)
Original date: 2017-11-03 02:12:31

Hi Eric, that's great news! We use Requires instead of std::enable_if because upon failure it provides an "error message" in the form of the missing type alias. Feel free to use either Requires or switch to std::enable_if. I look forward to looking over the patch and seeing them land in Charm++!

Original date: 2017-12-06 00:29:34

Added a patch based on the code provided by Nils: ~~https://charm.cs.illinois.edu/gerrit/#/c/3336/~~ https://github.com/UIUC-PPL/charm/commit/213b5a9017644e7e4676e312e712a88926dcbd8f


Bugs/Errors?

Currently been using this for sometime w no issue and been having many issues since the image API has been updated. This is the error being spat out when uploading an ad with two images. 1.5MB per image.
Would love the program to be as flawless as last time so I'd be showing logs if issues were to occur. The fear of clicking repost all of my ads and the app crashing is scary as the work to get the ads up again takes time.
<IP_ADDRESS> - - [13/Jul/2022 15:08:32] "POST /post HTTP/1.1" 200 -
<IP_ADDRESS> - - [13/Jul/2022 15:08:32] "GET /static/style2.css HTTP/1.1" 304 -
<IP_ADDRESS> - - [13/Jul/2022 15:08:32] "GET /loc?location1=9004 HTTP/1.1" 200 -
<IP_ADDRESS> - - [13/Jul/2022 15:08:33] "GET /loc?location1=9004&location2=1700272 HTTP/1.1" 200 -
[2022-07-13 15:12:11,913] ERROR in app: Exception on /post [POST]
Traceback (most recent call last):
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpcore\_exceptions.py", line 8, in map_exceptions
    yield
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpcore\backends\sync.py", line 26, in read
    return self._sock.recv(max_bytes)
  File "C:\Users\Justin\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 1258, in recv
    return self.read(buflen)
  File "C:\Users\Justin\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 1131, in read
    return self._sslobj.read(len)
TimeoutError: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpx\_transports\default.py", line 60, in map_httpcore_exceptions
    yield
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpx\_transports\default.py", line 187, in handle_request
    resp = self._pool.handle_request(req)
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpcore\_sync\connection_pool.py", line 248, in handle_request
    raise exc
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpcore\_sync\connection_pool.py", line 232, in handle_request
    response = connection.handle_request(request)
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpcore\_sync\connection.py", line 94, in handle_request
    return self._connection.handle_request(request)
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpcore\_sync\http11.py", line 102, in handle_request
    raise exc
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpcore\_sync\http11.py", line 81, in handle_request
    ) = self._receive_response_headers(**kwargs)
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpcore\_sync\http11.py", line 143, in _receive_response_headers
    event = self._receive_event(timeout=timeout)
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpcore\_sync\http11.py", line 172, in _receive_event
    data = self._network_stream.read(
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpcore\backends\sync.py", line 24, in read
    with map_exceptions(exc_map):
  File "C:\Users\Justin\AppData\Local\Programs\Python\Python310\lib\contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpcore\_exceptions.py", line 12, in map_exceptions
    raise to_exc(exc)
httpcore.ReadTimeout: The read operation timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\flask\app.py", line 2073, in wsgi_app
    response = self.full_dispatch_request()
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\flask\app.py", line 1518, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\flask\app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\flask\app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\flask_login\utils.py", line 272, in decorated_view
    return func(*args, **kwargs)
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\views\ad.py", line 273, in post
    'pic:pictures': create_picture_payload(form.data),
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\flask_login\utils.py", line 272, in decorated_view
    return func(*args, **kwargs)
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\views\ad.py", line 441, in create_picture_payload
    link = kijiji_api.upload_image(current_user.id, current_user.token, value)
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\kijijiapi.py", line 258, in upload_image
    r = self.session.post(api_endpoint, headers=headers, files=files)
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpx\_client.py", line 1116, in post
    return self.request(
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpx\_client.py", line 802, in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpx\_client.py", line 889, in send
    response = self._send_handling_auth(
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpx\_client.py", line 917, in _send_handling_auth
    response = self._send_handling_redirects(
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpx\_client.py", line 954, in _send_handling_redirects
    response = self._send_single_request(request)
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpx\_client.py", line 990, in _send_single_request
    response = transport.handle_request(request)
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpx\_transports\default.py", line 186, in handle_request
    with map_httpcore_exceptions():
  File "C:\Users\Justin\AppData\Local\Programs\Python\Python310\lib\contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "C:\Users\Justin\Desktop\kijiji-manager-master\kijiji_manager\venv\lib\site-packages\httpx\_transports\default.py", line 77, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.ReadTimeout: The read operation timed out
<IP_ADDRESS> - - [13/Jul/2022 15:12:11] "POST /post HTTP/1.1" 500 -

I think it's the same timeout issue as reported in https://github.com/jackm/kijiji-manager/issues/35

The fear of clicking repost all of my ads and the app crashing is scary as the work to get the ads up again takes time.

Reposting an existing ad does not actually re-upload any image files - it simply reuses the existing hosted image URLs when posting the ad again.
Even if an ad repost fails half way through (i.e. original ad is deleted, but reposted ad didn't finish), you can still manually post the original ad again using the ad payload file (.xml) kept in your instance folder.

Oh another note, I made a change that will allow existing ads to be reposted by downloading and parsing xml files of the existing ad and then reposting. I'm not that familiar with git. How do I make a request to add this change?

On another note, I made a change that will allow existing ads to be reposted by downloading and parsing xml files of the existing ad and then reposting. I'm not that familiar with git. How do I make a request to add this change?

Github does allow users to create forks, branches, and edit files all on the Github site itself so you don't necessarily have to know how to use all of git to make a pull request.
The other alternative is to just post the code changes and I can integrate them into the repo.

That would be wonderful @jackm , @asyed03  did post the code here https://github.com/jackm/kijiji-manager/issues/17#issuecomment-1259699734

Closing as duplicate of #34


feat(Application/Features): add auth validation rules

Looks good to me. Thanks for your contribution. 🚀


Replaced XPath selector with native DOM selector

This change does not only make the code simpler, it also makes datetimepicker work in IE11, on which this fix was tested.

Any more input on my new commit?


script to add imu

Since this script will be needed and there are no resolving issues, it can be uploaded and branch deleted.

Can you add modifications such that we use the boardName/ProductName from the eeprom to find the board file and then use it to update rather than user selecting which board file?

Added in the next commit.


Documentation link broken

Just wanted to mention, that https://portphp.readthedocs.org/en/latest/ gives me a 404.
Would be awesome if you could fix that.

Thanks for reporting that! The docs were still in a separate branch (PR), so I merged that to have the first version available at https://portphp.readthedocs.org/en/latest/.

Thanks!


directions.routers.default infinite loop in provider

Using Laasti\Directions\RouterInterface works as expected

When using var_dump

did not reproduce in tests


CHORE: add license file and README.md to short funding repo since they are public

add license file and README.md to short funding repo since they are public
@webelf101 we'll need this to be completed by the end of the week as they are being shared with external folks

[x] license
[ ] readme

https://github.com/VolumeFi/short-funding-bot-vyper/pull/4


Installation issues

The installation instructions are probably not enough (at least they were not enough for me). SystemJS does not know about angular2-moment and thus it doesn't work when it tries to load it at run time.
I had to add the following to the config object:
System.config({
  packages: {
    ... other packages here
,
    "angular2-moment": {
      main: "index.js",
      defaultExtension: 'js'
    }
  },
  map: {
    "angular2-moment": "/node_modules/angular2-moment",
  },
  paths: {
    "moment": "/node_modules/moment/moment.js"
  }
});

I am not an expert in systemJS or angular2 for that matter so If there is an easier way or if this was just localized to my installation then please tell me.

Seems legit, through I am not a SystemJS expert myself. Any chance you can send a PR for the README with the SystemJS installation instructions?


Tool cannot run

双击打开后有管理员权限弹窗，点击是之后并未打开应用。
After clicking YES of the UAC windows, the tool did nor boot anyway.

Available after adjusting compatibility to Windows 8


I can't get the stackable grid to work on mobile

I am using Meteor and Semantic-ui 2 and can't get the stackable grid to work on mobile (iPhone 6). When I resize my computer screen everything works fine but not on the mobile. On the mobile I have 3 columns and space on the sides (just as a large screen). It should be stacked in one column and use 100% of the screen. As I can understand mobile is defined as below 768px and iPhone6 is 750px. Do anyone have any suggestions or answers to solve this?

Is there anyone who has managed to use 100% screen width when using the Semantics-ui (2) class "container" on a mobile?

 I had the same issue

Hi
Thanks a lot rufusthecat. I thought meteor handle it by default. I used semnatic-ui.css earlier and can't remember I specified the meta tag. Anyway, I added the meta tag and everythings works fine, a big thanks.


[BUG] Accountant demo error

Describe the bug
Using a colab notebook to run the accountant demo with the image pulled from this repo.
AttributeError                            Traceback (most recent call last)

[<ipython-input-1-ffa43f172f2b>](https://localhost:8080/#) in <cell line: 19>()
     17
     18 # LayoutLM Document QA
---> 19 pdf_analyzer = LayoutLMDocumentQA()
     20
     21 question = "What is the total amount of expenses?"

[/usr/local/lib/python3.10/dist-packages/swarms/models/layoutlm_document_qa.py](https://localhost:8080/#) in __init__(self, model_name, task_type)
     27         task_type: str = "document-question-answering",
     28     ):
---> 29         self.pipeline = pipeline(self.task_type, model=self.model_name)
     30
     31     def __call__(self, task: str, img_path: str):

AttributeError: 'LayoutLMDocumentQA' object has no attribute 'task_type'

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

The docs for the library are: https://huggingface.co/impira/layoutlm-document-qa

The fix looks to me to be removing line 27 of swarms/models/layoutlm_document_qa.py

@evelynmitchell i have fixed the input parameter with this class

Thank you!


{WIP} (MODULES-6861) Types use resource_api

There's also some loading issues with puppet describe  I wasn't able to get to the root of it though.

[root@localhost type]# puppet describe --list --trace
Error: Could not autoload puppet/type/tacacs_server_group: cannot load such file -- puppet/resource_api
/opt/puppetlabs/puppet/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in require' /opt/puppetlabs/puppet/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in require'
/etc/puppetlabs/code/environments/production/modules/netdev_stdlib/lib/puppet/type/tacacs_server_group.rb:38:in <top (required)>' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/autoload.rb:68:in load'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/autoload.rb:68:in load_file' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/autoload.rb:83:in block in loadall'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/autoload.rb:81:in each' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/autoload.rb:81:in loadall'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/autoload.rb:208:in loadall' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/metatype/manager.rb:53:in loadall'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/describe.rb:59:in initialize' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/describe.rb:243:in new'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/describe.rb:243:in main' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:383:in run_command'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in block in run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:672:in exit_on_fail'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:137:in run'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:73:in execute' /opt/puppetlabs/puppet/bin/puppet:5:in '
Error: Could not run: Could not autoload puppet/type/tacacs_server_group: cannot load such file -- puppet/resource_api
/opt/puppetlabs/puppet/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in require' /opt/puppetlabs/puppet/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in require'
/etc/puppetlabs/code/environments/production/modules/netdev_stdlib/lib/puppet/type/tacacs_server_group.rb:38:in <top (required)>' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/autoload.rb:68:in load'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/autoload.rb:68:in load_file' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/autoload.rb:83:in block in loadall'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/autoload.rb:81:in each' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/autoload.rb:81:in loadall'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/autoload.rb:208:in loadall' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/metatype/manager.rb:53:in loadall'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/describe.rb:59:in initialize' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/describe.rb:243:in new'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/describe.rb:243:in main' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:383:in run_command'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in block in run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:672:in exit_on_fail'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:137:in run'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:73:in execute' /opt/puppetlabs/puppet/bin/puppet:5:in '

@shermdog spoke to @DavidS about the describe, we should talk about this later. I fixed the other issues

I've tried that quickly with a test module and puppet 5.5.0, and puppet describe --list worked fine:
david@davids:~/git/tmp/blubb$ bundle exec -- puppet describe --modulepath spec/fixtures/modules/ blubb

blubb
=====

Parameters
----------

- **blubb**
    the hot sht. (a Boolean)
    Valid values are `true` (also called `true, true`), `false` (also called
    `false, false`).

- **ensure**
    Whether this resource should be present or absent on the target system.
    (a Enum[present, absent])
Valid values are `absent`, `present`.

- **flubb**
    the cold sht. (a Integer)
Values can match `/^-?\d+$/`.

- **name**
    The name of the resource you want to manage. (a String)
    Values can match `//`.
david@davids:~/git/tmp/blubb$ bundle exec -- puppet --version
5.5.0
david@davids:~/git/tmp/blubb$

The exception is complaining about cannot load such file -- puppet/resource_api. Do you have that in your puppet install?

Superseded by #30


Application for Rebble Grant

Here are the main things left:

configuration page (add, sort, organize tickers),
event loop improvement: ensure polling happens every 5 minutes during market open,
collect and display market status (open, closed, aftermarket, holiday, etc)
re-write display to handle number of stocks appropriately (1 stock = fancy layout, 2 stocks = semi fancy layout, 3+ stocks = list layout)
theme options (colors)
colored text depending on price change
alerts for notable gains / losses (based on percent change)

super bonus if I have time:

add crypto support
create a watch app tie-in (for browsing / greater detail)

Here's the description from my original Rebble grant proposal:
I plan to make a watch face that consumes a freely available stock market data API (https://www.alphavantage.co/). This watch face will allow users to "follow" up to five NYSE listed stock tickers. The watch face will show the current price, the daily price change, the trading volume, and the status of the stock market (open, closed, pre-market, after hours, and holiday). The data will be updated every five minutes while trading is open. The face will also show the time, date, day of the week, bluetooth indicator, and battery indicator. Maybe in the future it could show weather. The watchface would be configurable through a Clay page inside the Pebble app. There users will be able to set other options related to stock data behavior but also for theming the watch face. The user would be responsible for obtaining their own key to the AlphaVantage API. This would be free of charge to them - they just have to jump through the hoops of obtaining the key (it is very easy) and pasting it into the app. The benefit here is that there is no long term cost to me. The drawback is user experience.

🎉 The Rebble Alliance is happy to fund this project at $300!

Okay, so, after a couple days on the keyboard I have a first version (bundled and shipped to support@rebble.io). But, the release deviates from the plan. Here are the notable changes and future directions:

Cryptocurrency support added (it is the primary feature to be honest; it's also free)
Full, beautiful graph implemented
Reduced to just one stock / asset
Stock support reduced to historical data (1 month and 1 year) after running into wall after wall of expensive real-time stock APIs
Should be very solid on both iOS and Android
Smart use of query interval / battery life etc

Future direction:

add 24 hour time format
add weather
add color theming options
add round support if feasible?
fully support real time stock market data (dependent upon data source)

Okay, so, after a couple days on the keyboard I have a first version (bundled and shipped to support@rebble.io). But, the release deviates from the plan. Here are the notable changes and future directions:

Cryptocurrency support added (it is the primary feature to be honest; it's also free)
Full, beautiful graph implemented
Reduced to just one stock / asset
Stock support reduced to historical data (1 month and 1 year) after running into wall after wall of expensive real-time stock APIs
Should be very solid on both iOS and Android
Smart use of query interval / battery life etc

Future direction:

add 24 hour time format
add weather
add color theming options
add round support if feasible?
fully support real time stock market data (dependent upon data source)


Improve how we maintain entity_history

I just had a look at the production dump I have, trying to understand in more detail how entity_history works, and came across a bunch of things that could be greatly improved.
The dump has 10M rows in the entities table, and 39M rows in the entity_history table. The latter takes up 41GB of storage. For comparison, ethereum_blocks is 104 GB.

there are 22M history entries for the subgraphs subgraph, even though we explicitly exclude it, and never use these entries during reversion
there are 5M entries for other subgraphs where data_before = data_after
there are 10M entries for other subgraphs where data_before is null, i.e. they just record the creation of the entity that's also in the entities table.
we never use data_after when we revert, so roughly half the size of the table is never used

If we remove the 27M entries from the first two points, the entity_history table would shrink to about 13GB. If we then also remove the unused data_after column, the table would shrink to about 7GB. (These are guesses, not actual measurements)
Finally, if we used a scheme that doesn't force us to maintain identical copies of entities in entities and entity_history for entities that are never updated, we'd be left with 2.2M 'old' entity versions, which would roughly take 1.2GB to store. (That also means that only about 20% of entities are ever changed again after creation)
There are two aspects to this: one is just the sheer amount of storage we need for history, and the other is the number of rows in entity_history, which slows down any operation involving history. Aggravating this is that most entities are relatively small, and Postgres stores them in the actual table rather than in toast (large object) storage so that things like full table scans actually have to wade through the entire ~ 40GB of storage. Contrast that with ethereum_blocks, where the actual table only takes up about 500MB.

I think it's a good idea to remove the data_after column to get the significant data volume reduction you noted.   The information is still available by simply scanning to the next data_before.  The only thing we really lose out on (which hasn't been used much anyways) is the ability to easily query for the changes that were effected by a specific block: saved queries and views could be created to facilitate peering into an entities history of changes.
For the case where data_before=data_after I wonder how much we can reduce the load on the DB by going further upstream and not even apply these transactions to the entities table in the first place. We could add a BEFORE trigger FOR EACH ROW that skips the operation if data_before=data_after.

@fordN agreed on dropping data_after; and yes, I also realized that I should rework the triggers to have WHEN conditions to avoid going into plsql at all for those rows.

With #808 merged and #822 resolved by hand, is this done?

For cleanliness, we should also drop the data_after column (I just nulled it out everywhere) But that's fairly low priority.

@lutter Is this something you want to take care of this week or should we postpone it indefinitely and close this issue?

Let's close this; it'll become moot once we are fully migrated into split entities tables.


Bug fix chart axislabel spacing

This PR fixes the issue of overlapping y axis and tick value label for Line Area Charts (trello issue).

 Enhancement: Y axis title in LineArea chart runs into Y axis values


How Can I Run This Into WIndows PC?

How Can I Run This Into Windows PC?

hi @techmastersofficial , i'm assuming you would like to run Maputnik locally on your windows machine? if that is so, installing locally isn't too complicated but the issue is trying to run your own vector tile server. I'm using tileserver-gl. You can read try to follow this instruction that i did for local gis workshop back in May. https://pkgeo-org.github.io/vector tiles/2018/04/30/Maputnik.html
it explains various set up you have to do to run tileserver-gl locally. hope this helps.

It looks like @keum resolved this (thanks @keum)
@techmastersofficial I'm assuming this is resolved so I'll close the issue, just comment if it's not and we'll reopen.


GUI Error

I am trying to use Enrich2 to analyze an error-prone PCR deep sequencing experiment. However, every time I try to set up the SeqLib parameters in the GUI, as soon as I click "OK" the GUI crashes and I get the following error:
2024-04-19 15:44:38,556 [enrich2.wildtype.<class 'enrich2.wildtype.WildTypeSequence'>] Ignoring reference offset for protein changes (not a multiple of three)
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  45 (X_OpenFont)
  Value in failed request:  0x601014
  Serial number of failed request:  30091
  Current serial number in output stream:  30092

I am using the most recent version of Enrich2 and am on a CentOS 7 machine. I have tried both Basic and Overlap SeqLib configurations and got the same error every time. Any ideas?

I have been able to run it on my local computer running Mac OS 14.4.1 and not on a server cluster.


Added results formatting to ColOps

Addressed suggestion in #413:

Added format_result option to ColOps extension allowing to formats the operation results on a per column basis
Added format-number dependency to get number formatting capabilities: https://github.com/componitable/format-number
Expanded ColOps unit tests

Codecov Report

Merging #420 into master will increase coverage by 0.14%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #420      +/-   ##
==========================================
+ Coverage   86.19%   86.33%   +0.14%
==========================================
  Files          35       35
  Lines        4352     4369      +17
  Branches      355      358       +3
==========================================
+ Hits         3751     3772      +21
+ Misses        574      571       -3
+ Partials       27       26       -1

Impacted Files
Coverage Δ

src/extensions/colOps/colOps.js
93.33% <100%> (+0.12%)
:white_check_mark:

src/tablefilter.js
91.45% <100%> (+0.47%)
:white_check_mark:

Continue to review full report at Codecov.

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

👍


[Models] CopyNet

Refer to Incorporating Copying Mechanism in Sequence-to-Sequence Learning.

Dataloader

need new data? First try OpenSubtitles (give some statistic for copy)

Metric

BLEU peplexity

Removed


Update developer guide with remove student section

Codecov Report

Merging #108 (c861122) into master (80df260) will decrease coverage by 1.41%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #108      +/-   ##
============================================
- Coverage     40.07%   38.65%   -1.42%
- Complexity      523      531       +8
============================================
  Files           140      147       +7
  Lines          2992     3192     +200
  Branches        348      372      +24
============================================
+ Hits           1199     1234      +35
- Misses         1702     1860     +158
- Partials         91       98       +7

Impacted Files
Coverage Δ

src/main/java/seedu/address/model/AddressBook.java
38.39% <0.00%> (-2.56%)
:arrow_down:

...in/java/seedu/address/logic/parser/ParserUtil.java
38.70% <0.00%> (-2.20%)
:arrow_down:

.../seedu/address/logic/parser/AddressBookParser.java
55.17% <0.00%> (-1.98%)
:arrow_down:

...rc/main/java/seedu/address/model/ModelManager.java
41.79% <0.00%> (-1.96%)
:arrow_down:

...ess/model/person/UniqueStudentsInTutorialList.java
28.57% <0.00%> (-1.43%)
:arrow_down:

...in/java/seedu/address/model/tutorial/Tutorial.java
41.58% <0.00%> (-1.28%)
:arrow_down:

...ava/seedu/address/storage/JsonAdaptedTutorial.java
50.81% <0.00%> (-0.21%)
:arrow_down:

...a/seedu/address/storage/JsonAdaptedAssessment.java
31.03% <0.00%> (ø)

.../seedu/address/logic/commands/AddClassCommand.java
0.00% <0.00%> (ø)

...du/address/logic/parser/AddClassCommandParser.java
0.00% <0.00%> (ø)

... and 8 more

Continue to review full report at Codecov.

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


Escape pods are using directional fans

Description

It was an oversight in #31495. The thrusters means it will now get spaced, and the fix to this would be to replace it with the normal tiny fans.

I'm not sure what the best idea is in this case but it's probably better to make it like it was before

I agree that a tiny fan would probably be better. Three directional fans might look a bit messy.

fixed by #31601


Refactor write() method for improved readability and maintainability

Rewrote the write() method to improve its structure and readability, and to reduce the amount of mutable state. The changes included:

Using early returns to simplify the control flow and reduce nesting
Using a for loop instead of a while loop for more concise code

These changes make the code easier to understand and maintain, and reduce the potential for errors caused by mutable state. The logic for handling JSON formatting has been preserved and should work as before.

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


Parameterised quotation should support arbitrary classes as its parameters

This following quotation does not compile:
val q = quote {
    (user: User) => users.filter(_.id == user.id)
  }
db.run(q)(user)

Throwing the following error:
Source doesn't know how do encode 'p1: services.User'
Version: 0.5.1-SNAPSHOT
Module: quill-core
Expected behavior
It should compile and run without any problem.
Actual behavior
Compile error:
Source doesn't know how do encode 'p1: services.User'
Steps to reproduce the behavior
N/A
@getquill/maintainers

As discussed pvt, I think we could just give a better error message suggesting lift:
def q(user: User) = quote {
   users.filter(_.id == user.id)
}

Closing this issue in favor of https://github.com/getquill/quill/issues/264


Add year check to Presto server startup

Rename PrestoJvmRequirements to PrestoSystemRequirements
Verify that the year is current, to avoid issues in third party
libraries

Fixes #2639.
Testing: mvn clean install; manually verified on server with incorrect year

Merged. Thanks!


Facilitate Proguard on Android

Facilitate Proguard on Android.
Related buganizer bug:
https://buganizer.corp.google.com/issues/113252715

What does this mean? Is this a dup of https://github.com/flutter/flutter/issues/11099?

It was filed for the referenced bug.  I can't access it at the moment because I don't have my current machine setup to access Google, but I believe the point of this ticket is that a developer should be able to use Proguard as they normally do.  That is different from #11099 in that this ticket is not about Flutter enabling anything, it's about the end-developer choosing to enable Proguard.  Developers might choose to enable Proguard in "release" or other build modes and Flutter should not break that.


The deployment source changes from "LocalGit" to "None" when canceling the action that changed the deployment source from " LocalGit" to "GitHub"

OS: Win10
Build Version: 20210713.10
Repro Steps:

Right click a function app -> Select "Configure Deployment Source..." -> Select "LocalGit" -> Deployment source for the function app has been updated to "LocalGit".
Right click this function app again -> Select "Configure Deployment Source..." -> Select "GitHub" -> Press "ESC" when asking to choose organization.
Refresh -> Check whether the deployment source of the function app remains "LocalGit".

Expect:
The deployment source of the function app remains "LocalGit".
Actual:
The deployment source of the function app changes from "LocalGit" to "None".

Looks like the repros for me on v1.4.0 as well. Likely related to this code: https://github.com/microsoft/vscode-azuretools/blob/main/appservice/src/editScmType.ts#L25

This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this issue has received less than 5 community upvotes and we closed it. Still a big Thank You to you for taking the time to create it! To learn more about how we handle issues, please see our documentation.
Happy Coding!


Per world Flying

I want a feature where I can allow users to fly in x world but disallow it in y world.

This is a problem for your permissions plugin, not Multiverse.

@lithium3141 Actually, we can do this :P as of Bukkit/Bukkit@c84c5a21326c96ca0d5a69e09c9d539c1b038a01
I already have the code done, but I need a client mod to test it. @gabessdsp what do you use for flight?

We can, but should we?

Heh, good point, @gabessdsp why not just use creative mode?

Well I allow my users to use client side fly mods but it is a survival server, there is a world I want to allow flying in, but I want to disallow it. Personally for flying I use MyCraft built-in

Regardless I've bumped this to 2.4 for the moment. I did commit my work on it though. If you're brave you can compile this branch and test it out: https://github.com/Multiverse/Multiverse-Core/tree/allow-flight.


Get the correct include path in pip package (#13452)

add find_include_path API

address reviewer comment

change return type from list to string

add unit test

address reviewer comment

address reviewer comment

address reviewer comment

address reviewer comment

fix include path problem in pip package

add comment

fix lint error

address reviewer comment

address reviewer comment

Description
This PR is needed by Horovod MXNet integration. The API only returns the include path so it should not impact MXNet performance or functionality.

Hi @apeforest,
The description is a bit misleading, can you add some information about why this is needed?
Also, if the PR is towards the v1.4.x branch, it would be good if you could add (v1.4.x) to the title.

@mxnet-label-bot add [pr-awaiting-review]

@lebeg Thanks for your suggestion. I have updated the PR title and description.


fix: fix dev mode compatibility with workers

fixes #3539

I met the same issue in my project built using vue-cli. What should I do to fix it?


chore: split RingTheory/Kaehler

Put materials about (Mv)Polynomial into Kaehler/Polynomial and the others into Kaehler/Basic

!bench

Thanks
maintainer merge

Thanks a lot (especially to the declarations diff bot!)
bors merge


Improve demo notebook

I added the save_result sample implementation with a simple to_netcdf call. In this way it's possible to inspect the result.
I also removed the output of the pip install cell, to improve readibility

@ValentinaHutter @GeraldIr could you have a look and merge this?


Specification for RLEDictionary encoding is incorrect.

The [spec for RLE Dictionary|[https://github.com/apache/parquet-format/blob/master/Encodings.md#dictionary-encoding-plain_dictionary--2-and-rle_dictionary--8]] encoding says the "length of the encoded-data" is placed before the "encoded-data". Reproducing the first 3 lines here:

rle-bit-packed-hybrid: <length> <encoded-data>

length := length of the <encoded-data> in bytes stored as 4 bytes little endian (unsigned int32)

encoded-data := <run>\*

However, this is not true. Parquet-MR implementation does not encode the length in front of the data. It encodes bitWidth as 1 byte. See [implementation|[https://github.com/apache/parquet-mr/blob/01a5d074829ad4cf4de1f662d54fe7bceb4bef63/parquet-column/src/main/java/org/apache/parquet/column/values/dictionary/DictionaryValuesWriter.java#L173]].
I'm proposing the spec be updated to state the above clearly.
see discussion here:
https://lists.apache.org/thread/p45tpjd5r03qbswtpr7xfy072josnjxs

Reporter: Balaji K
Note: This issue was originally created as PARQUET-2108. Please see the migration documentation for further details.

Balaji K:
I now see this extra text under Dictionary encoding:
"Data page format: the bit width used to encode the entry ids stored as 1 byte (max bit width = 32). Followed by the values encoded using RLE/Bit packed"
However, putting in the length as described the Hybrid RLE algorithm won't make the Data page correct or be readable I think. The implementation is saying bit width + data.
Would appreciate some clarity on this subject and I can help update the docs :)


Passphrase should be starred out

What would you like to be added:
When entering the passphrase in the CLI, it should be starred out (stars displayed instead of the clear text password). This could be done by redesigning the walletpassphrase command such that it will query for the password and display stars instead of the individual characters.
Why is this needed:
For security reasons, obviously.

@tame81 On the upcoming app release, we will be a releasing a wallet encryption feature. You can use the UI for this and not rely on CLI anymore.

@tame81 New app v2.3.0 is available for download now - https://github.com/DeFiCh/app/releases/tag/v2.3.0 The passphrase feature is now available in the app.

@thedoublejay, will this version be pushed to the app so we can update from there?

Yes @tame81, but you can also download the binary here and install it. It will overwrite your current app. Depends on your preference. Btw, for this release you need to re-index from 0% because it's using the new hardfork v1.5.0.


GitAction looks for the local path for dart entry-point

I have completed the setup as you mentioned in the readme file. When i ran the workflow it failed and surprisingly it was looking for dart enrty point at the local path instead of repository path. here is error details:
Archiving com.xyz.cryodrive.dev...
ios/Runner/AppDelegate.swift uses the deprecated @UIApplicationMain attribute, updating.
Automatically signing iOS for device deployment using specified development team in Xcode project: 4********8
Running pod install...                                              3.1s
Running Xcode build...
Xcode archive done.                                         56.5s
Failed to build iOS app
Error (Xcode): ../../../../mac/StudioProjects/cryodrive/lib/main_dev.dart: Error: Error when reading '../../../../mac/StudioProjects/cryodrive/lib/main_dev.dart': No such file or directory
Encountered error while archiving for device.
Error: Process completed with exit code [1]

I wonder is there any way i could specify (if needed) where to look for the dart-entry-point.

My Bad. I am not very expert with the ios development at the moment. so i thought may be the error has something to do with the GitAction. But it was not. I just modified Build Configuration so that each scheme targets the right dart entry point both locally and in github actions.
I replaced the absolute paths into relative paths and the error was gone.
Old Configuration:
Release-dev : /mac/StudioProjects/cryodrive/lib/main_dev.dart
Release-stag : /mac/StudioProjects/cryodrive/lib/main_stag.dart
Release-prod : /mac/StudioProjects/cryodrive/lib/main.dart

New Configuration:
Release-dev : lib/main_dev.dart
Release-stag : lib/main_stag.dart
Release-prod : lib/main.dart


How to interact with a specific player?

How to interact with a specific player?

What have you tried so far? Are you experiencing an error?
You may find the API reference useful - https://www.stuffaboutcode.com/p/minecraft-api-reference.html


Remove QUICPacketRetransmitter

Since each frame generators can track frames, those should be responsible for retransmitting frames (#4623). Which means we don't need QUICFrameRetransmitter anymore once we make the generators  actually retransmit frames.
Also, after removing QUICFrameRetransmitter, we also don't need keep packet payload because nobody read it.

Frames retransmitted by their generators or frames that doesn't need to be retransmitted.

[ ] PADDING
[ ] PING
[ ] ACK
[ ] RESET_STREAM
[ ] STOP_SENDING
[ ] CRYPTO
[ ] NEW_TOKEN
[ ] STREAM
[ ] MAX_DATA
[ ] MAX_STREAM_DATA
[ ] MAX_STREAMS
[ ] DATA_BLOCKED
[ ] STREAM_DATA_BLOCKED
[ ] STREAMS_BLOCKED
[ ] NEW_CONNECTION_ID
[ ] RETIRE_CONNECTION_ID
[ ] PATH_CHALLENGE
[ ] PATH_RESPONSE
[ ] CONNECTION_CLOSE

Done. 666ee793da1c177bc5d4ee785422896888fb51fc


add UniFamec - Centro Universitário

@gilcleis First stage of verification passed, official domain is faculdadefamec.com.br as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: http://faculdadefamec.com.br/a-famec/historico/

@gilcleis I have to close the request as a duplicate to already merged #18037. Thank you.


Fix type hints numpy, pandas, and matplotlib

Type hints for numpy are currently not checked with mypy. This can be done by installing with data-science-types. I have the impression that we use numpy in the wrong way here and there (for instance, numpy.size used here seems to be deprecated), so those issues need to be fixed.
In a follow-up (#131), the shapes of the ndarrays can then be specified in type hints as well.

I've given this data-science-types a try, but there seem to be some serious issues still (the package has only been around since this year). It's a pity, because the current type hints of numpy.ndarray are just ignored by mypy, but I don't see a way around this for now.
Therefore, I'll put this one and #131 in the icebox for now. It seems that typing for nympy is still under development (both by external packages and by numpy itself).

This issue has become less relevant since #345. Closing it for now.


dart2js: Non-nullable type annotation syntax

This is the dart2js-specific issue for #27231. That issue has the details.

Closing this as tracking bug was closed in favor of https://github.com/dart-lang/language/issues/110


"interface" not initialized when using ng-if

When I use ng-if in droplet parent div, the interface is not initialized/setup even though the condition of ng-if is true.  The following is my simple test code.
html file:

	Test ngDroplet interface

 		<droplet ng-model="interface">inside droplet</droplet>

js file:
app.controller('testCtrl', ['$scope', function ($scope) {
	$scope.interface = {};
	$scope.content = true;
    $scope.$on('$dropletReady', function whenDropletReady() {
    	console.log($scope.interface);
    });
}]);

Thanks for looking into this.
-ZJ

Found a workaround:  use ng-show instead of ng-if.

That's a workaround, but it would be nice to fix the ng-if – will leave the ticket open and investigate :+1:


Franka_example_controllers Segmentation Faults upon colcon build

Hello,
Ive had it a few times now that my colcon build task fails with a segmentation fault upon building franka_example_controllers. I'm not quite sure if this is the correct point in stack to log this error, if not, please let me know where would be more suitable.
Relevant colcon build output:
--- stderr: franka_example_controllers
In file included from /usr/include/eigen3/Eigen/Core:281,
                 from /usr/include/eigen3/Eigen/Dense:1,
                 from /usr/include/eigen3/Eigen/Eigen:1,
                 from /fog_ws/src/miti-ros/src/franka_ros2/franka_example_controllers/include/franka_example_controllers/joint_impedance_example_controller.hpp:19,
                 from /fog_ws/src/miti-ros/src/franka_ros2/franka_example_controllers/src/joint_impedance_example_controller.cpp:15:
/usr/include/c++/9/functional: In instantiation of 'std::_Bind<_Functor(_Bound_args ...)>::_Bind(std::_Bind<_Functor(_Bound_args ...)>&&) [with _Functor = std::function<void(long unsigned int)>; _Bound_args = {std::_Placeholder<1>}]':
/usr/include/c++/9/bits/std_function.h:252:39:   required from 'static void std::_Function_base::_Base_manager<_Functor>::_M_init_functor(std::_Any_data&, _Functor&&, std::false_type) [with _Functor = std::_Bind<std::function<void(long unsigned int)>(std::_Placeholder<1>)>; std::false_type = std::integral_constant<bool, false>]'
/usr/include/c++/9/bits/std_function.h:223:19:   required from 'static void std::_Function_base::_Base_manager<_Functor>::_M_init_functor(std::_Any_data&, _Functor&&) [with _Functor = std::_Bind<std::function<void(long unsigned int)>(std::_Placeholder<1>)>]'
/usr/include/c++/9/bits/std_function.h:675:34:   required from 'std::function<_Res(_ArgTypes ...)>::function(_Functor) [with _Functor = std::_Bind<std::function<void(long unsigned int)>(std::_Placeholder<1>)>; <template-parameter-2-2> = void; <template-parameter-2-3> = void; _Res = void; _ArgTypes = {long unsigned int, int}]'
/opt/ros/humble/rclcpp/include/rclcpp/rclcpp/publisher_base.hpp:298:94:   required from here
/usr/include/c++/9/functional:474:9: internal compiler error: Segmentation fault
  474 |       { }
      |         ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions.
make[2]: *** [CMakeFiles/franka_example_controllers.dir/build.make:90: CMakeFiles/franka_example_controllers.dir/src/joint_impedance_example_controller.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/franka_example_controllers.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
---
Failed   <<< franka_example_controllers [1min 7s, exited with code 2]

I am not sure what the problem is. There might be a version mismatch with the eigen ros uses and eigen you have locally. But just guessing. You can try to install this package eigen3-cmake-module sudo apt install ros-humble-eigen3-cmake-module

I'm running Humble on Ubuntu 20.04 so I have to compile everything from source, so the version mismatch sounds plausible. I've also noticed that RAM usage is really high at this point in the build, so maybe the swap just runs out and it crashes. It does seem unlikely that franka_ros is the cause, so I'll close the issue.


Top-right cell only sends Loudness/Z of either 0 or 127

Since commit a128c565eed7c6af46aa6be818d4ea5649c6ded9, the cell in the very top-right corner on my Linnstrument only sends Loudness/Z values of either 0 or 127. Velocity and Timbre/Y work fine. Aftertouch on the three other corner cells still work fine. I've looked at the commit but couldn't quite figure out what caused this..
Not a big problem because I'm fine with v2.2.1 where it's working 🙂But thought it might be good to report this.

Are you absolutely sure it's since that exact commit?

Yeah, on my test setup it stopped working on that exact commit. I cherry-picked each of the 7 commits on master since the 2.2.1 tag. After each cherry-pick I built and uploaded the firmware, and checked the MIDI messages from pressing the cell. It worked with all commits before that one, and stopped working after I cherry-picked/built/uploaded a128c565eed7c6af46aa6be818d4ea5649c6ded9.
Hope this helps 😊


About the source code

Thansk for your amazing work. And when could you release the source code?

Dear @holyhao, the code is now released!


fix: Updating the pageId in the reconnect modal for Gsheets authorization

Description
Updating pageId in the reconnect modal for Gsheets authorization. It was taking the pageId of the old delete page for authorization from the query params. This has been fixed by using props instead if its inside reconnect modal.
PR fixes following issue(s)
Fixes #26024
Type of change

Bug fix (non-breaking change which fixes an issue)

Testing
How Has This Been Tested?

[x] Manual
[ ] Jest
[ ] Cypress

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/build-deploy-preview skip-tests=true

/ok-to-test

/build-deploy-preview skip-tests=true

/ok-to-test


fixes

1. Deprecated node12 & Node.js version
Solution -> commit the following changes to sync_to_notion.yaml:

actions/checkout@v3 ✖ -> actions/checkout@v4 ✔

actions/setup-python@v4 ✖ -> actions/setup-python@v5 ✔

add with: python-version: '3.x' after actions/setup-python@v5

add --upgrade pip to Install Dependencies

2. sync to notion failing

Make sure Read and write permissions for workflow are granted (repository settings -> general -> actions -> workflow permissions)

Make sure you've used the correct DATABASE_IDENTIFIER: <long_hash_1> in https://www.notion.so/<long_hash_1>?v=<long_hash_2>

fixes

accidental request


ModuleNotFoundError: No module named 'datasetsforecast'

!pip install statsforecast datasetsforecast
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography (40.0) will be the last to support Python 3.6.
from cryptography.utils import int_from_bytes
Collecting statsforecast
Downloading statsforecast-0.5.6-py3-none-any.whl (36 kB)
ERROR: Could not find a version that satisfies the requirement datasetsforecast (from versions: none)
ERROR: No matching distribution found for datasetsforecast

Hey @tianke0711,
This error is due to the DatasetsForecast library no longer supporting Python 3.6.
You can control the Python version installing the environment.yml like this:
conda create -n datasetsforecast python=3.7
conda activate datasetsforecast
conda env update -f environment.yml


Email hook = duplicated auth emails

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
I set up an send_email hook, which is sending an email from my third-party provider (Resend). But I constantly receive emails sent by Supabase automatically, so I'm receiving two emails now (e.g. for confirming account). Can I solve it somehow (e.g. by disabling Supabase emails)?
Expected behavior
One email is delivered to the user.

Hey,
Thanks for flagging the issue. Do you mind opening a ticket at supabase.help? If you could include the edge function code that would be helpful as well - there should only be one email sent. You can mention this issue in the ticket

Hey @Bartek532,
Thanks for writing back and apologies for the delay - if you could open a ticket that would be great as it would provide more information for debugging. You can mention that we had this convo for a faster response.
Thanks
Joel

Hey @Bartek532,
Thanks for writing back and apologies for the delay - if you could open a ticket that would be great as it would provide more information for debugging. You can mention that we had this convo for a faster response.
Thanks Joel

Where should I open ticket? I think I've already opened it 🤔

Hey,
Thanks for quick revert .You can open a ticket at supabase.help. I did a quick search and am unable to find a related ticket - could we trouble you to share the ticket id if there's an existing open ticket?
Thanks

Hey,
Thanks for quick revert .You can open a ticket at supabase.help. I did a quick search and am unable to find a related ticket - could we trouble you to share the ticket id if there's an existing open ticket?
Thanks

The ticket id is<PHONE_NUMBER>9.

Thanks

Hey,
Updating the response here as well for grater visibility - we can't quite reproduce the set up - there should only be one email sent when using an email hook if it is configured properly.
If anyone is facing similar issues do let us know together with any relevant additional details that might help with reproduction.
Thanks!


make the cheat to unlock all levels harder to find by accident

one newhew that was playing my game, find the cheat to unlock all levels by accident, I think we better make this a little bit harder to find (and maybe add it to some cheat website)
also, what do we do with the highscores from people that have "cheated" ? @DavidHallgren

or maybe, this issue should be, removing the cheat from the final release, so that we are sure all highscores are valid

lgtm


Introduce LGTM.com badge

As suggested by @Siilwyn here. Keep up the good work!
(full disclosure: I'm on the team that's responsible for LGTM.com)

Sure why not.


Project: Personal scheduling with group collaboration

Project name
Stime
Description
The Personal Scheduling Algorithm with Group Studying or Working is a tool that optimizes the user's time by asking about their daily routine, work schedule, hobbies, and priorities. It categorizes activities and considers factors such as preferred time of day, duration of activities, and travel time. The project also includes collaborative features such as creating a meeting/chat, sharing files via OneDrive, scraping tasks based on meeting description from MS To Do, and creating a shared whiteboard with MS Whiteboard.
Repo URL
https://github.com/SSIvanov19/Hack-Together-Hackathon
Team members
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Looking forward to seeing the hack @SSIvanov19!

Thank you for the submission!

It seems like we're missing registration information from VTIvanov. @SSIvanov19, could you please ask him to register to complete your submission?

Seems like I've missed to fill in the form. Thank you for the reminder! 😄

Hi @VTIvanov20, we still can't find your name in the registrations. Can you please make sure that you are registered within today to be eligible for the prizes : https://aka.ms/hack-together

Synopsis
Hi, I've re-registered in the form above. I don't know what the issues could have been, but here are a few screenshots of the form still being filled in.
Hope that can cover any mishaps (if present of course). Sorry for the inconvenience! 😅


Device Types

Hello, I would like to ask whether all asus devices are controlled
Because I noticed this line aurasDK. List (0)
How do I limit only the motherboard (M/B) and the LED strip to be controlled in M/B, while the others are not

Are your trying to turn the other devices off? Or have them controlled by another software at the same time?

Sorry, my expression is wrong, I only want to control the motherboard (ARGB) and memory, what should I do

After running the wledaurasync.exe
you should see a window similar to this

in my case the first 3 devices were my motherboard and memory (2 memory sticks then the motherboard)
they had a total of 24 leds so you can go to the wled interface and set your led count to 24.
that should technically only control the memory and motherboard.
if there are devices in between that you dont want to control, you can create segments in the wled UI
for example if i want to control only the 1st device (one memory stick) and 3rd device(motherboard) in the list
you would still set the total led count to 24 and then create 3 segments with 8 leds each which would give you individual control over each device.
let me know if that helps or if you were trying to do something different.

I ran into a very strange BUG
Running ‘.apply ()’  is very time consuming
So I want to run in multiple threads, but as soon as I start the thread, it crashes

I dont think the Aura SDK is thread safe. how much fps are you getting? also try out my latest version, it only calls .apply when leds actually need to change.

I set it to 33 milliseconds, run it once. Apply()
I'm a window program   Real-time preview of leds

so I have to thread refresh,.apply ()
Will upload the code to Github at a later date

looks cool. you can still run .apply() just make sure that the thread calling .apply is the same one acquiring control
		 // Create SDK instance 		AuraServiceLib::IAuraSdkPtr sdk = nullptr; 		hr = sdk.CreateInstance(__uuidof(AuraServiceLib::AuraSdk), nullptr, CLSCTX_INPROC_SERVER); 		if (SUCCEEDED(hr)) 		{ 			// Acquire control 			sdk->SwitchMode();

My idea is to use ICUE to control WLED and Aura

WLED built-in lights are not as cool as ICUE

good luck, I would love to see the result when you are done.


Add granite model support for Llama

This PR adds support for the configurations of all the open-sourced Granite models.
Stack from ghstack (oldest at bottom):

-> #307

/land


MediaDownloader exceptions have no status code

Related to #641 - until we have proper non-exception support, we should at least have better exception behaviour.
In version 1.10, MediaDownloader spots HTTP status codes representing errors, and throws exceptions - hooray.
However, in order to do so, it tries to deserialize the response body as JSON - whereas in reality, in some cases at least, the body is just plain text, e.g. "Precondition failed". So the deserialization fails, and the original exception-generating code (which includes the HTTP status code) is lost.
Options:

Ignore the response body entirely
Attempt to deserialize it as JSON, but handle failure more gracefully
Assume it will always just be plain text, and include that instead

To work out which of these is appropriate, we really need to check whether the response from MediaDownloader will ever be JSON in the case of an error.
(I believe the same problem is likely to occur for reliable upload, but I haven't checked that yet.)

The failure case of "HTTP response is expected to be JSON but isn't" has caused other problems too, etc. issue #595.  I imagine we should do option 2 (try to deserialize as JSON, but fail gracefully) regardless.

Thanks for reporting!
I like option 2 as well, if we can't parse the error we can just return the body (since apparently it's text) in the exception.

Okay. I'll have a look at this as it's somewhat blocking me at the moment.

Returning the body in the exception if it's not JSON is tricky, due to the way that the error is constructed... the "read the response" and "parse it as JSON" are both performed in DeserializeError, which is a method declared in IClientService, and is virtual in BaseClientService. I don't want to introduce any breaking changes, of course.
If we assume that the actual service will always be a BaseClientService-derived class and that it doesn't override DeserializeError, I can effectively duplicate some of that code for the sake of upload/download... that might be the simplest approach, but it's feasible that it will change behaviour, as someone could create their own derived service class which overrides DeserializeError.


Merge language-independence and language-independence-and-language-independent-components

The articles language-independence and language-independence-and-language-independent-components are the same and should be merged.
It seems they were imported differently, so their Markdown is different (e.g. one uses code like <xref:System.Byte>, the other [Byte](xref:System.Byte)).
As for which one should be kept, I think it's a mix of the two, so it would take more work than just deleting one of them. That's because:

language-independence is more up-to-date: it uses ".NET" instead of ".NET Framework", doesn't mention e.g. Visual COBOL.
language-independence-and-language-independent-components uses snippets instead of code blocks.

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

ID: bb9b4b39-813f-ed23-3cb7-682766b3cfaa
Version Independent ID: c3216a96-76a2-21aa-2072-0328725cd3cb
Content: Language independence and language-independent components
Content Source: docs/standard/language-independence.md
Product: dotnet
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

Wow, I had no idea. Thanks for pointing this out, @svick. We'll schedule some time to consolidate the two topics during the next sprint.


Create a pip package

This code is currently only consumable using the API or copying the code. Let's add the option to use it as a pip package. Guideline is here: https://packaging.python.org/en/latest/tutorials/packaging-projects/
There's only one function that needs to be documented for use: getScore - https://github.com/openfinanceafrica/scoreapi/blob/0014b1f99b0ee7e3c09abd7c6668ef490ee0bfe6/src/score.py#LL33C11-L33C11

@munyirik How do I document the function for use?

@munyirik How do I document the function for use?

Add a section in the readme. Installation instructions & usage example should be enough.


CPU gets pegged at 100% if a udp listener fails / is closed

Problem
The issue is caused by this: https://github.com/miekg/dns/blob/master/server.go#L511
There is an extremely tight CPU-bound loop that the thread gets locked into in the event of any permanent error with server.readUDP(). This bug causes excessive user->kernel context switches (due to IO) and pegs a CPU.
Fix
The following fix mitigated the issue for us: (line 510ish of server.go)
if err != nil {
	if strings.Contains(err.Error(), "use of closed network connection") {
		return err
	}
	continue
}

Unfortunately internal/poll.ErrNetClosing is not exported, and I couldn't think of another way to check the error.
A better (and much more efficient) way to do this would be to continue only for io timeout errors, and return err for all other errors. I'll leave such decisions to you.

(my fix in vendor is here: twitchyliquid64/colex@a76397b)

Can't you use ! Temporary() in this case? But this might encomposs too many errors?

It looks like ErrNetClosing is one of the few errors that does not implement net.OpError, so !err.Temporary() wont work :/
See: https://golang.org/search?q=ErrNetClosing
But we could do it the other way maybe?
# Completely untested, written freehand so probs doesnt compile
if opErr, ok := err.(*net.OpError); ok && opErr.Temporary() {
  continue
}

similar code is used in the tcp reader - thought we applied it here as well, apparantly not.

SGTM


Deprecate nnstreamer-test.ini in favor of test-devel

test-devel is providing a configuration so we can use this.

:octocat: cibot: Thank you for posting issue #1044. The person in charge will reply soon.


Add Mod-Tap behavior

The mod tap is hold tap under the hood, but for consistency with the documentation it probably makes sense to add.

I see you already closed this. But yea, mod-tap isn't a valid behavior class, so this doesn't work. (It's a behavior instance of the hold-tap class).

Yup, I realized that right after opening the PR, sorry. Btw thank you so much for you work!
If someone finds this PR, what I ended up using was:
#define MAKE_MOD_TAP(NAME, BINDING1, BINDING2) \
    ZMK_HOLD_TAP(NAME, \
        flavor = "hold-preferred"; \
        tapping-term-ms = <200>; \
        bindings = <BINDING1>, <BINDING2>; \
    )

Since I needed to combine Mod-Tap with other previously defined behaviors, for example:
MAKE_MOD_TAP(mod_delcaps, &kp, &del_caps)


Add batch WriteSupport

What changes were proposed in this pull request?
Add batch WriteSupport:

Write DataFrame to ORC temp dir
Use HS2 to "LOAD DATA INPATH" from ORC files to target table
Delete temp dir

How was this patch tested?
UT

FYI: Since this PR depends on SPARK-LLAP-229-2, I've set this PR to merge to SPARK-LLAP-229-2, to keep the diff sane.
But the intention is that both will go into branch-2.3-3.0.


[Slider] Allow disabling the left and right thumbs swap

Resolves #24831.
I'm not sure if the API and demo descriptions are good, so any suggestions are welcome.

[x] I have followed (at least) the PR section of the contributing guide.

Preview: https://deploy-preview-25547--material-ui.netlify.app/components/slider/#range-slider

@oliviertassinari I fixed all issues.

When disableSwap is true, I believe the other thumbs shouldn't show the value on hover.

I disabled showing the value, but I wonder if I should also disable the hover effect.

@michal-perlakowski Thanks for taking on this effort and clear the path toward a solution :)


san check 2

Problem
Steps to reproduce the issue

Expected behavior
System details (run AWS: About and/or Amazon Q: About)

OS:
Visual Studio Code version:
AWS Toolkit version:
Amazon Q version:

balalalalalalla


can we format to jsx?

i18next has recursion and format support

not simply:

a test https://gist.github.com/jokester/40c82e50ba406a2b5beb0fd015c2a270
react-i18next has a VDOM interpolation: https://react.i18next.com/latest/trans-component


Added support for large files on the mac.

Added support to handle large files being copied into webdav on a mac.
Currently if a large file is uploaded to webdav and HTTP_TRANSFER_ENCODING is chunked, then the whole file is read into memory first.
Modified logic to read at most up to the specified block size.

Thanks