RemoteId example

Hi @dgeb
Could you please provide us an example with a remoteId use case? I couldn't find any, and i think it 's a hot topic, cause almost every offline approach ends in a sync with a remote server.
Thanks in advance!!

Thanks to @dgeb for provide me this snippet:
`import JSONAPISource, { JSONAPISerializer } from '@orbit/jsonapi';
import Orbit from '@orbit/data';
import fetch from 'ember-network/fetch';
export default class MySerializer extends JSONAPISerializer {
resourceKey(type) {
return 'remoteId';
}
}
export default {
create(injections = {}) {
// Use fetch implementation from ember-network
Orbit.fetch = fetch;
injections.SerializerClass = MySerializer;
injections.name = 'remote';

return new JSONAPISource(injections);

}
};`

Thanks to @dgeb for providing me this snippet:
import JSONAPISource, { JSONAPISerializer } from '@orbit/jsonapi';
import Orbit from '@orbit/data';
import fetch from 'ember-network/fetch';

export default class MySerializer extends JSONAPISerializer {
  resourceKey(type) {
    return 'remoteId';
  }
}

export default {
  create(injections = {}) {
    // Use `fetch` implementation from `ember-network`
    Orbit.fetch = fetch;

    injections.SerializerClass = MySerializer;
    injections.name = 'remote';

    return new JSONAPISource(injections);
  }
};

@dgeb & @nicosefer ,
I appreciate your posts regarding the remoteId use case. I still seem to be having an issue when querying for a record. It seems that new uuid's are created in the deserializeResource method and when querying based on remoteId (server id) or id (ember orbit id) it seems to not find the record.
I believe this is due to this.keyMap.idToKey(type, resourceKey, id); in the resourceId method not finding the correct mapping. This makes sense considering the uuid I am querying changes every time the deserializeResource method is called.
Is there an expectation that the cache should be backed up with IndexedDB or similar for this use case? I knew it was option but was unsure if it was mandatory. Let me know if I can provide any additional information otherwise.
Thanks and appreciate the great work on this project!

We should move this content to guides. Contributions in doing so are welcome!


`FAIL_UNLESS_EQUAL should display value of each part of the comparison when assert fails

Simple example:
`SVTEST(two_plus_two)
   `FAIL_UNLESS_EQUAL(cut.add(2, 2), 4)
`SVTEST_END

If the call to add() returns a value other than 4, the error message from SVUnit is not terribly helpful as it does not show what the actual value returned was:
ERROR: [0][my_ut]: fail_unless_equal: (cut.add(2, 2)) !== (4) (at /some/path/my_unit_test.sv line:47)
You can use something like this but it is cumbersome to do for every test:
`FAIL_UNLESS_LOG(cut.add(2, 2) == 4, $sformatf("%0p != %0p", cut.add(2, 2), 4))

Also it seems the FAIL_UNLESS_EQUAL_LOG macro is missing. In any case, I've found it more useful to redefine the `FAIL_UNLESS_EQUAL macro to something like this:
`define FAIL_UNLESS_EQUAL(a,b) \
  begin \
    if (svunit_pkg::current_tc.fail(`"fail_unless_equal`", ((a)!==(b)), $sformatf("%0p !== %0p", a, b), `__FILE__, `__LINE__)) begin \
      if (svunit_pkg::current_tc.is_running()) svunit_pkg::current_tc.give_up(); \
    end \
  end

Please consider updating this macro to something like above so that you don't have to provide a user message string to get useful errors.

There's one problem with this implementation. If either a or b is an expression with side effects, then the side effects will "happen" twice, because the expression is evaluated twice. I had actually implemented something like this, but had to yank it in #181.

The only real solution to this is to be able to store the evaluated expressions in a variables of the appropriate types. This would be theoretically possible using the type operator, but this isn't supported by all simulators.
I was working on this topic, but various tool issues get in the way of any kind of solution that works in all simulators.

Yes side effects of calling the function multiple times are a potential issue, but if you care about that you can store the result of the function call into a local variable in the test before you call FAIL_*. Alternatively, if you don't want to change the behavior of FAIL_UNLESS_EQUAL, you could create a new set of macros that users could opt into using.


Crashloop if using img with src set on boot.

Perform all steps below and tick them with [x]

[x] Check the related part of the Documentation
[x] Update openHASP to the latest version
[x] Reproduce the issue and describe all steps

Describe the bug

openHasp crash loops upon the addition of img with src attribute set.
Suspicion is that it tries to load the image before WiFi is loaded and thus crashloops.
To Reproduce

{"comment": "Page 6"}
{"page":6,"id": 1, "obj":"label","x":50,"y":5,"h":30,"w":200,"text":"Doorbell (6)","align":"center","bg_color":"#2C3E50", "text_color":"#FFFFFF"}
{"page":6,"id":10,"obj":"label","x":10,"y":50,"w":220,"h":30,"text":"Sup: ","align":"left","bg_color":"#2C3E50", "text_color":"#FFFFFF","text_font": 28}
{"page":6,"id":20,"obj":"img","x":10,"y":80,"w":220,"h":176, "src": "http://whatever"}

Expected behavior
Not crash
Screenshots or video

        open____ _____ _____ _____
          |  |  |  _  |   __|  _  |
          |     |     |__   |   __|
          |__|__|__|__|_____|__|
        Home Automation Switch Plate
        Open Hardware edition v0.6.4-dev

[05:44:38.702][110580/168024 34][    0/    0  0] DBUG: Started @ 115200 bps
[05:44:38.713][110580/168024 34][    0/    0  0] DBUG: Environment: ttgo-lilygo-pi_st7796
[05:44:38.726][110580/168024 34][    0/    0  0] UART: Started
[05:44:38.737][110580/168024 34][    0/    0  0] UART: Client login from serial
[05:44:38.749][110580/168024 34][    0/    0  0] CONF: SPI flash FS mounted
[05:44:38.787][110580/168024 34][    0/    0  0] CONF: Loading /config.json
[05:44:38.801][110580/167388 33][    0/    0  0] CONF: Loaded /config.json
[05:44:50.233][110580/168284 34][    0/    0  0] LVGL: Starting...
[05:44:50.252][110580/168092 34][62320/62544  1] LVGL: LV_FS_PC is initialized with.
[05:44:50.275][86004/142936 39][61620/61668  1] GUI : Initialize Cursor
[05:44:50.288][86004/142936 39][61528/61552  1] DRVR: Touch SDA     : 21
[05:44:50.301][86004/142936 39][61528/61552  1] DRVR: Touch SCL     : 22
[05:44:50.313][86004/142936 39][61528/61552  1] DRVR: Touch freq.   : 400000
[05:44:50.325][86004/142936 39][61528/61552  1] DRVR: Touch address : 38
[05:44:50.870][86004/142432 39][61528/61552  1] DRVR: FT6336U touch driver started chipid: 100
[05:44:50.887][86004/142432 39][61288/61304  1] LVGL: Started
[05:44:50.898][86004/142432 39][61288/61304  1] ATTR: src/hasp/hasp.cpp 544 0
[05:44:50.911][86004/142432 39][61288/61304  1] ATTR: src/hasp/hasp.cpp 545 0
[05:44:50.927][86004/142432 39][60424/60464  1] HASP: Custom theme loaded
[05:44:50.956][86004/142432 39][59288/59288  0] HASP: Loading /pages.jsonl
[05:44:51.408][86004/136196 36][46676/46684  1] ATTR: Unknown Font ID 28
[05:44:51.456][86004/136196 36][45448/45456  1] ATTR: Unknown Font ID 28
Prompt > Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x40166fd3  PS      : 0x00060d30  A0      : 0x8015814f  A1      : 0x3ffb2170
A2      : 0x3ffd51b8  A3      : 0x3ffb21a0  A4      : 0x00000006  A5      : 0x3ffb2532
A6      : 0x0000002e  A7      : 0x3ff96355  A8      : 0x00000000  A9      : 0x3ffb2170
A10     : 0x00000002  A11     : 0x3ffb217c  A12     : 0xffffffff  A13     : 0x00000000
A14     : 0x00ff0000  A15     : 0xff000000  SAR     : 0x0000001a  EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000  LBEG    : 0x400903a1  LEND    : 0x400903b1  LCOUNT  : 0xfffffffd

Backtrace:0x40166fd0:0x3ffb21700x4015814c:0x3ffb21a0 0x40168011:0x3ffb21d0 0x4016806f:0x3ffb21f0 0x40157975:0x3ffb2240 0x40129dd1:0x3ffb2260 0x40129719:0x3ffb22b0 0x4012dd1d:0x3ffb22e0 0x4012efc3:0x3ffb2310 0x4012f15b:0x3ffb2370 0x400e1309:0x3ffb2390 0x400e6761:0x3ffb2600 0x400e6bc
5:0x3ffb2660 0x400e36a0:0x3ffb2710 0x400e74e2:0x3ffb2770 0x400d9765:0x3ffb27b0 0x400dac67:0x3ffb27d0 0x400eef8d:0x3ffb2800 0x4013ae76:0x3ffb2820

ELF file SHA256:<PHONE_NUMBER>000000

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:184
load:0x40078000,len:12596
load:0x40080400,len:2916
entry 0x400805c

You can work around this by not setting the "src" by default and wait until you connect to WiFi and let MQTT set it for you, but if that's the case, we should probably document this.
Checking WiFi connection prior to starting the HTTP get request does fix the problem, but it leads to other errors and it not network agnostic, so maybe there is a better way to fix this.

Also with batch processing, you could add the remote image later, within the L:/online.cmd script. At boot you could pre-load it with a dummy local image stored in flash.

Yes, there are many ways to work around this, but it kinda sucks if you forget to workaround it and you're stuck crashlooping. Then you have no way to recover without a erasing your flash and starting over (or pushing a hacked build doesn't load src/img)

Yeah, been there...

Bootloops are very annoying, so I'll look into this.

Okay, so the crash occurs because the network isn't initialized yet when the pages.jsonl file was parsed.
Starting the network before HASP "fixes" the crash. The image isn't properly loaded and will display No Data on screen, but at least it doesn't crash now.

Is that No Data a string which can be grabbed from the translations?

nope because that is an LVGL message when the image isn't valid.

I had similar issue in the past when jsonl was referencing an image on the flash filesystem which was missing, don't know if that's still a problem...

@DolceTriade Were you able to test the new commit and can you confirm this issue is resolved please?

I'll try to update my device and get back.

I'll consider this issue closed. Feel free to update it if your tests indicates there is an issue.


Allow filtering user pod diagnostics by node & add resource guarantee panels

Per node filter is very helpful when diagnosing node falures
Added panels for cpu and memory guarantees provided

Inspired by debugging https://github.com/2i2c-org/infrastructure/issues/2430

@consideRatio done

@yuvipanda you forgot to push the commit I think

@consideRatio fixed!

Nice!!!
Btw you can deploy to 2i2c by running the github workflow from the github web UI at 2i2c-org/infrastructure
/ from mobile


Training results and documents are somewhat different

Hi
I'm the student from Chung Cheng Univ. in Taiwan who are interested in your Source code about BNN.
After reading the "readme" file, I was trying to reproduce your experiment results.
However, the results are not as expected.
The experimental accuracy is only 88% and does not reach 96% mentioned in the "readme" file.
Could you please give me some directions? Is this a reasonable result?
Thanks!

Hi, I'm not actively supporting this repo at the present time, but I can offer some suggestions.
It's possible the default initialization scheme has changed since I last worked on this (TF version 1.2) which could account for the discrepancy you are seeing with the readme (assuming everything else is the same).
There will also be some sensitivity to the random seed, which you need to set twice in tensorflow for completely deterministic results, once at the graph level and in get_variable, or similar (I did neither here). The difference in loss at initialization (5.7 vs 2.3) does seem a bit concerning.
In any case, I set the default number of steps to run quickly on a basic GPU, not train a model to convergence, so if you really want to see high accuracy I suggest bumping up the number of epochs.

Thank you for your reply. I got it

Hi @linzihyuan
I am also seeing the same difference in the results.
Did you figure out this problem?


Athena SQS Support

to: @chunyong-lin (Terraform, Lambda), @ryandeivert (Lambda, CLI, Tests)
cc: @airbnb/streamalert-maintainers
size: large
Summary
Currently, the Athena Partition Refresh Lambda function is invoked directly (by s3) when new data is written to a bucket.  If the write volume is low, this isn't an issue, but if it's very high, we have a potential to refresh the same Athena table multiple times a second/minute.  This is unnecessary since the smallest data partition is in one minute intervals.
Change Overview
To fix this issue, I have added an SQS queue to be the recipient of s3 event notifications.  This also modifies how Lambda is invoked, since it now runs on a CloudWatch event timer of 1 minute.
When the Lambda is now invoked, it fetches up to 50 messages from SQS, and deduplicates the s3 bucket ids.  Using this set of buckets, only the tables found in the athena configuration are refreshed:
# conf/lambda.json

  "athena_partition_refresh_config": {
    "current_version": 9,
    "log_level": "debug",
    "enabled": true,
    "handler": "stream_alert.athena_partition_refresh.main.handler",
    "memory": 128,
    "refresh_type": {
      "add_hive_partition": {},
      "repair_hive_table": {
        "my.s3.alerts.bucket": "alerts"
      }
    },
   ...
  },

After hive tables are refreshed, the messages are deleted off of the queue.
Code Changes

The Terraform Athena module has been modified to configure a SQS Queue, CloudWatch for periodic invocations of Lambda, and other necessary changes to wire everything together.
Adds the ability to pass in a log_level to the Athena Lambda function via the CLI config.
Refactor of the athena_partition_refresh Lambda function (maybe I should break this file out into multiple?)
Refactor unit tests

To Do

[ ] Wrap up unit tests
[ ] Final AWS deployment and verify
[ ] Write up initial Athena documentation

Coverage decreased (-0.3%) to 84.753% when pulling 82029bd5af3dacc681dc56063b00b68a45b38ce6 on jacknaglieri-athena-sqs-cloudwatch-docs into 4852ccbc6b35c2e0e493bcdc7539e8c7ab01ac49 on master.

Coverage increased (+0.6%) to 85.605% when pulling 9b6c761469e6332735598bda45934877bd2f2651 on jacknaglieri-athena-sqs-cloudwatch-docs into 4852ccbc6b35c2e0e493bcdc7539e8c7ab01ac49 on master.

Coverage increased (+0.6%) to 85.605% when pulling 0cbfab60eb1dcd95883204994f4776994a04f866 on jacknaglieri-athena-sqs-cloudwatch-docs into 4852ccbc6b35c2e0e493bcdc7539e8c7ab01ac49 on master.

Coverage increased (+0.6%) to 85.605% when pulling e700baecf9c34ee1877577a9d5a2818d2cfecd28 on jacknaglieri-athena-sqs-cloudwatch-docs into 4852ccbc6b35c2e0e493bcdc7539e8c7ab01ac49 on master.

FYI: Going to merge this and open a second PR for documentation - which is a WIP


Windows Corners

Description of the new feature / enhancement
Imagine if you could supercharge your productivity on Windows by easily accessing your favorite actions and features with just a flick of your mouse.
Windows Corners empowers you to customize specific actions triggered by moving your mouse cursor to any corner of the screen. Whether you want to streamline your workflow, access important features instantly, or enhance your multitasking capabilities, Windows Corners has got you covered.
Scenario when this would be used?
Maximize Efficiency: Define custom shortcuts to launch frequently used applications or documents with a simple mouse gesture, eliminating the need to navigate through menus or search for icons.
Simplify Navigation: Assign specific corners to activate the Start menu, Task View, or virtual desktops, enabling seamless switching between tasks and boosting your overall navigation experience.
Instant Information: Set a corner to quickly access the Action Center, displaying notifications, alerts, and important system information at your fingertips.
Personalize Your Space: Configure a corner to activate a customized slideshow of your favorite photos or wallpapers, transforming your workspace into an inspiring environment.
Smart Automation: Utilize a corner to activate system-wide actions, such as locking your computer, starting the screensaver, or putting it to sleep, for enhanced security and energy efficiency.
Supporting information
hot corners on macos

/dup #1305


Feature: Check that specific object present in List

Motivation
It's a common use case to check if some object present in list. There are objects with overridden and not overridden equals() & hashCode().
So is very repeating operation to write code as:
Assert.assertTrue(list.stream().anyMatch(user -> user.name.equals(userName)), "list not contains user");
Assert.assertTrue(list.contains(user), "list not contains user");

I propose to add methods to simplify this action and convenient use:
Assert.assertListContains(users, user -> user.name.equals(userName), "user " + userName);
Assert.assertListContainsObject(users, user, "user " + user.name);

assertListContains uses a Predicate
assertListContainsObject uses contains() method of List

Fixed via PR https://github.com/testng-team/testng/pull/2902


Can't create maven project

Either  using CLI or IntelliJ it's not possible to create a gauge maven project.  Currently you get the error:
[ERROR] ResourceManager : unable to find resource 'archetype-resources/specs/hello_world.spec' in any resource loader.
Followed by:
Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on project standalone-pom: Error merging velocity templates -> [Help 1]
No permissions problems exist.  No networks problems I'm aware of.

@sallaby could you please tell us which version of Gauge you have installed?

@mahendrakariya
gauge-0.3.2-linux.x86_64

@sallaby I am not able to reproduce the issue. Can you please give some more details about how you are trying to create the Gauge project (or steps to reproduce the error)? Could you also tell us the maven version you are using?
Currently, there are two archetypes available in maven central. Which one of these are you using?

@mahendrakariya Ah, the problem is actually with your documentation:
http://getgauge.io/documentation/user/current/dependency_management/maven-plugin.html
This states that the archetypeArtifactId should be gauge-maven-plugin rather than gauge-archetype-java	, which works perfectly.

Also here: http://getgauge.io/documentation/user/current/ide_support/features.html

Oops! Thanks for pointing this out. We have fixed the documentation.
By the way, on command line, you can also create a new project using gauge --init java_maven.
You can also list the available templates using gauge --list-templates.


Make the install.sh compatible with Fedora 29

The wireshark package is renamed in Fedora 29 (they removed the -qt suffix). I've made the install.sh compatible with Fedora 29, without loosing the ability to install this package on Fedora 28 and older.

Thanks :+1:


Draw horizontal lines between regions and text

https://github.com/cracked-machine/mmdiagram/commit/ed21329049a8dfced8739486bcef11e80ac02433


Site working fine with Starter Theme doesn't work with Starter PRO THEME

url https://screenlights.com/v2/
site ID QqrSDzNDdSTKGYPRy
TypeError: Cannot read property 'length' of undefined

Their API is broken:

https://screenlights.com/v2/?rest_route=/wp/v2/pages&per_page=10 <- works
https://screenlights.com/v2/?rest_route=/wp/v2/pages&per_page=11 <- doesn't work

Maybe they have a plugin which restricts WP queries greater than 10 elements. They should remove all their plugins until they find the problematic one.

Same issue here, and it looks like the API is working properly:
https://siksik.ca
wHR6Bj6chtMbGutaN


Update README.md

Added note for Dev build search tool.
https://gpmdp.azurewebsites.net/
Project here: agc93/gpmdp-release
Thanks for taking the time to review this request

jnr2820

Hey @jnr2820 cool tool, looks like @agc93 built this so I'd like sign off from them that they're OK with this going in the README and I'd probably like to CNAME it to the gpmdp domain if they're OK with that 🤔

Yep, that was me. The tool itself was always supposed to be a stop-gap to the problem of people having to use CI releases that were difficult to find. Ideally this wouldn't be the long-term solution through which users are installing GPMDP.
I'm totally okay with it going in the README, but given I'm still paying to host the service (currently) I'd prefer to either a) fully hand the tool over and allow you to host it somewhere under the GPMDP domain or b) leave it non-CNAME'd as-is (that is, a temporary solution).
Happy to work with either option, or any other approach you'd prefer 👍

I guess the service backend is down by now? So the PR doesn't make sense anymore?


Adjust compatibility command to take labels in for limiting the query size

This should probably include a new public method in illumioapi package for querying workloads by sets of labels.

Completed in 3355f98d32f6910b4bcd0166e4d068a831117814

Completed in 3355f98d32f6910b4bcd0166e4d068a831117814


Add PR and workflow links to releases

It would be great, if our releases pointed to the corresponding PR and the GitHub workflow that created the release.
I'd imagine sth. like this for e.g. v0.3.0
Current v0.3.0 release page
This adds download links to the latest debian packages to our GitHub Page.
It only hides the github and download buttons on other pages (like tutorial etc), to reduce distractions on these.

Ideal v0.3.0 release page
This adds download links to the latest debian packages to our GitHub Page.
It only hides the github and download buttons on other pages (like tutorial etc), to reduce distractions on these.

This release is based on #76 and has been published by release job<PHONE_NUMBER>8.

@ll-nick What do you think?

Yes, especially the PR number would be very helpful.
According to chatGPT, this is how we would have to adjust the release action:
      - name: Create Release
        uses: ncipollo/release-action@v1
        with:
          artifacts: "/tmp/artifacts/release/*"
          tag: ${{ needs.compute-version.outputs.new_tag }}
          body: |
            ${{ github.event.pull_request.body }}

            This release is based on #${{ github.event.pull_request.number }} and has been published by release job [${{ github.run_id }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}).

I checked and these github variables actually exist. I have not tested any of it yet and will work on the tutorial first, so I'll just leave this here for future reference.

This is awesome! Thanks @ll-nick


Allow changing the alternative keyDelimiter in environment variables

@duckblaster,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla2.dotnetfoundation.org.
It will cover your contributions to all .NET Foundation-managed open source projects.
Thanks,
.NET Foundation Pull Request Bot

Thanks @duckblaster. This seems like a good addition. Could you add some tests to verify setting the custom delimiter works?
@Tratcher @HaoK I don't think this would break anyone. Cool if we add this in?

@glennc is config your area?

@duckblaster, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, .NET Foundation Pull Request Bot

@duckblaster Sorry for taking so long to get this. We reviewed this PR again today and decided that it is unfortunately not something we want to merge into the product. Adding additional key delimiters is not something we have seen significant demand for, and doing so adds some (admittedly small) additional complexity to the API surface and behavior.


Fix Spring Data compilation after Spring bump upstream

Fix Spring Data compilation after Spring bump upstream
After https://github.com/quarkusio/quarkus/pull/40344 compilation of this project fails.

I can look into 021-quarkus-panache-multiple-pus fail

It's because of https://github.com/testcontainers/testcontainers-java/blob/main/modules/mariadb/src/main/java/org/testcontainers/containers/MariaDBContainer.java#L21

thanks


How to dynamically change the font color of LabelProperties

I used the onBarClick method, but how do I change the font color at the bottom of the corresponding bar chart after clicking?

Hi @Lans , if you want to set specific text style for every label, it's not supported currently.

I want to achieve this effect, and I hope to support it in the future

Thank you for your suggestion, in the next versions i will add a feature to do this.

Hi @Lans , in the 0.1.0 version you can build your own component for labels, now i think you should be able to do this job with this feature.


[Event Request] Table 38 Purchase Header - OnAfterIsShipToAddressEqualToCompanyShipToAddress

Describe the request
Can you please add event OnAfterIsShipToAddressEqualToCompanyShipToAddress in procedure IsShipToAddressEqualToCompanyShipToAddress from table 38 Purchase Header?
Want to enforce additional checks to IsShipToAddressEqualToCompanyShipToAddress.
How the event would look:
`
[IntegrationEvent(false, false)]
local procedure OnAfterHasDifferentBuyFromAddress(PurchaseHeader: Record "Purchase Header"; CompanyInformation: Record "Company Information"; var Result: Boolean)
begin
end;

`
How the procedure would look:
`
local procedure IsShipToAddressEqualToCompanyShipToAddress(PurchaseHeader: Record "Purchase Header"; CompanyInformation: Record "Company Information") Result: Boolean
begin
Result :=
(PurchaseHeader."Ship-to Address" = CompanyInformation."Ship-to Address") and
(PurchaseHeader."Ship-to Address 2" = CompanyInformation."Ship-to Address 2") and
(PurchaseHeader."Ship-to City" = CompanyInformation."Ship-to City") and
(PurchaseHeader."Ship-to County" = CompanyInformation."Ship-to County") and
(PurchaseHeader."Ship-to Post Code" = CompanyInformation."Ship-to Post Code") and
(PurchaseHeader."Ship-to Country/Region Code" = CompanyInformation."Ship-to Country/Region Code") and
(PurchaseHeader."Ship-to Name" = CompanyInformation."Ship-to Name"));
      OnAfterIsShipToAddressEqualToCompanyShipToAddress(PurchaseHeader, CompanyInformation, Result);
end;

`
Additional context
Can you please add event OnAfterIsShipToAddressEqualToCompanyShipToAddress in procedure IsShipToAddressEqualToCompanyShipToAddress from table 38 Purchase Header?
Want to enforce additional checks to IsShipToAddressEqualToCompanyShipToAddress.Internal work item: AB#494530

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 14915.


Bug with linking to markdown filenames containing a period

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.92.2-90B0222A windows/amd64 BuildDate=2022-02-16T12:08:50+0200

Does this issue reproduce with the latest release?
Yes.

When using a such as describe-config.yaml.md, then the links to that file does not work.
content/_index.md:
[Link](describe-config.yaml.md)

content/describe-config.yaml.md:
Hello

This will create a link Link instead of Link.

I don't think we're going to "fix this". The "." delimiter should be considered to be reserved to delimit the identifiers (extension, language), so I suggest that you rename your file.

AFAIU, the code seems to handle the extension as everything after the last period. To me the behavior seems inconsistent in that case.
For example, in this case the "describe-config.yaml.md" shouldn't be rendered due to invalid extension.

Ah, ok, gotcha, now I understand. It ends up conflicting with example.en.md and similar.


Connect Marc transforms to selections dags

One or more transform functions in libsys_airflow/plugins/data_exports/marc/transforms.py need to be added as tasks to the vendor marc selection dags, and the retrieved folio mar replaced with the updated marc.

Fixed by #888


expand response lifetime to 'static

Current generated method signatures are:
fn {name}<'life0, 'async_trait>(
    &'life0 self,
    input: {type}
) -> Pin<Box<dyn Future<Output = Result<{type}, {error}>> + Send + 'async_trait>>
where
    'life0: 'async_trait,
    Self: 'async_trait;

. This is too narrow.
Code like below doesn't compile with 0.43.0-beta.0, where it compiled with older versions.
fn function()-> FutureType {
    // client created locally
    let client = ServiceClient::new();
    client.invoke_method()
    // attempting to escape the result future
    // but prohibited because client dies here
}

This P-R expands the lifetimes of result futures .

CI says no space left on the device. It's irrelevant to this PR

Hey! So a few questions I have here, why can you not turn your fn into an async fn? This would allow you to use non 'static futures.
In general, I would avoid naming futures and dealing with static futures as little as possible. Imo the goal for upgrading the std::future should be to have the entire codebase work with async fn. I think moving the current traits to be impl trait will only make this more painful.
If you really need a static future you should do this:
let client = ServiceClient::new();
async move { client.invoke_method().await }

why can you not turn your fn into an async fn?

I generally agree with you. We should use async fn where it is possible. It's simple, it take care of lifetimes.
However, there are cases where you are forced to use 'static lifetimes. For example, actix-web requires for handlers to return 'static futures https://docs.rs/actix-web/2.0.0/actix_web/struct.Route.html#method.to .

If you really need a static future you should do this:

In real cases, things are a bit more complicated. You cannot (or, should not, if you care performance) move out the client data.
struct MyApp { client: ServiceClient }
impl MyApp {
    // 'static lifetime is required by other crates
    fn handle(&self) ->impl Future<Output = Response> + Send +'static {
        let some_data = ....
        // because client is a part of MyApp, you cannot move out client
        let fut = self.client.invoke();
        async move {
            let res = fut.await?;
            // do stuff with `res`
        }
    }
}

In real cases, things are a bit more complicated. You cannot (or, should not, if you care performance) move out the client data.

What do you mean move out the client data? You are already move the client data into the future produced, the only difference here is you are doing a ref count bump on the client type.

You are already move the client data into the future produced

No. With older versions, or with this patch, fut is irrelevant to client and not moved into the future. I never called clone.

you are doing a ref count bump on the client type.

I didn't notice the client is implemented under Arc. Cloning it can be a solution. Thank you.

Closing this since we'd like to keep things as async fn and things seem to work again with cloning Client. Let me know if it's not. Thank you!


everytime I open the website I'm greeted with a websockets error

https://github.com/codescalers/CSHR/issues/495#issuecomment-2308795698


Move Peers & Network Traffic sections out of Settings

Currently, these sections do not include any settings at all, but just data or stats regarding the operation of the node. This could be done as a part of #58.
See screenshots below for reference:

Where would you move them to? Reason they are where they are now is mostly because we just have a single button to access "other stuff" in the V1 of the application where the block clock is the primary UI and there are not tabs or other nav options. Personally, I'm fine with this living in settings.


Little 11

Originally posted by @Plmqazqwerty17 in https://github.com/ryannair05/Little11/issues/113

G


dep: rake compiler ~> 1.1.4

What problem is this PR intended to solve?
Use the new version of rake-compiler which fixes https://github.com/rake-compiler/rake-compiler/issues/195

Closing in favor of #2386


feat(.zuul.yaml): enable testbed-deploy

The job list in the check section of .zuul.yaml has been updated. The commented out ansible-lint job has been replaced with testbed-deploy. Additionally, testbed-deploy was added to the post jobs section.

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post

recheck post


Disable the bootstrap context in a smarter way

It's quite fast to start the bootstrap context, but sometimes an app will be more than happy to start without it - especially when running locally in an IDE, where you want it to be as fast as possible. It only takes 50-100ms, which isn't much, but these days people are starting to care with app startup times down to 1000ms. As a user you can always set spring.cloud.bootstrap.enabled=false, but maybe the framework can figure out when that is a reasonable default.

I'm not sure 50-100ms is accurate. I see it down to 10ms in many apps. It must depend on what is actually being done in there. Property decryption is probably the most expensive operation.

also config client going over a network likely isn't fast.

bootstrap is disabled by default now.


[Bug]: npm warn deprecated<EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it.

Version
29.7.0
Steps to reproduce
I was installing jest and NPM hit me with this message:
npm warn deprecated<EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

I have not tested for validity of any memory leaks, but I think it's worth looking into for the devs.  Sorry I can't give any more information.
Expected behavior
NPM Shouldn't warn me about a package that has memory leaks that Jest depends on.
Actual behavior
NPM Does give me a warning about memory leaks.
Additional context
No response
Environment
System:
    OS: Windows 11 10.0.22631
    CPU: (24) x64 AMD Ryzen 9 5900X 12-Core Processor
  Binaries:
    Node: 20.9.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.8.0 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    jest: ^29.7.0 => 29.7.0

Looks like the warning originates from Jest's dependencies. These are updated with each version. I just checked, installing jest@next does not print a warning. You just have to update Jest. The next version 30 is currently in beta. You can use it or wait for stable release.

I think Yarn's resolutions or similar config options from other package managers are worth to try. Reference: https://yarnpkg.com/configuration/manifest#resolutions

It's from glob, which has been upgraded in jest@next via https://github.com/jestjs/jest/pull/14509

This is true. But all packages that depend on 29.7.0 (almost all packages) are currently unsafe. And jest@next is still a alpha version at the moment.
It would be better to issue an emergency bug fix as 29.7.1.

It's a breaking change to update to newer versions of glob, so that cannot be done.

I keep receiving the same warning! They should release a secure version of Jest until they complete their v30.

Where do you see security issue?

I tried jest@next just now and still saw the problem.
$ npm install jest@next
npm warn deprecated<EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported

added 308 packages in 14s

46 packages are looking for funding
  run `npm fund` for details

While jest itself no longer directly uses a deprecated version of glob, @jest/transform depends on babel-plugin-istanbul 6.1.1 → test-exclude 6.0.0 → glob 7.2.3 → inflight 1.0.6.
Unfortunately there's not an updated version of babel-plugin-istanbul to update to. Someone has already filed https://github.com/istanbuljs/babel-plugin-istanbul/issues/294, but that repo doesn't seem to have been very active lately.

@jest/core -> @jest/reporters -><EMAIL_ADDRESS>-> inflight

That one was already fixed in #14509. Which I think you know already.

And I think you know that continuing to complain about that isn't going to accomplish anything with the Jest maintainers. They won't make the change in the v29 branch because it would require dropping support for old nodejs versions, as they already told you, so it has to wait for v30.
OTOH, my comment, if they don't ignore it because it was buried by your complaining, points out something that still isn't fixed in @next.


Question about Attention

Thank you for sharing the job!
I wonder how the codes achieve the process from source attention to the target, is it achieved by https://github.com/TencentARC/MasaCtrl/blob/main/masactrl/masactrl.py#L35C25-L43?

Hi @cuishuhao, these codes perform the attention process. Specifically, as shown in https://github.com/TencentARC/MasaCtrl/blob/f4476b0adeb6d111a532aca5111457fc5b6e9f88/masactrl/masactrl.py#LL58C1-L59C138, the target image features serve as Q, and the K, V are obtained from the source image features to query contents from the source image.

Should K and V be ku and vu in the second line instead of kc vc then? Since we want to use the K and V from source

Hi @LWprogramming, u and c represent unconditional and conditional, respectively. And both conditional and unconditional parts account for the synthesis results with classifier-free guidance. Therefore, we query both parts from the source image. Note that  ku and vu contains both source and target features, ku[ :num_heads] and vu[ :num_heads] are the features from the source image.
Hope this can help you. 😃

Oh, you're right, I misread that :) I hadn't properly understood the connection between __call__ and forward methods before. Looking at it more closely, it looks like in the notebook we call regiter_attention_editor_diffusers, which calls editor.__call__. But then it seems like the relevant logic for saving K and V from source is in AttentionStore, while MutualSelfAttentionControl inherits from AttentionBase instead of AttentionStore. How does it eventually connect?

Hi @LWprogramming, register_attention_editor_diffusers can replace the original attention-forward process with our modified one. Note that qu, ku, vu contains both the query, key, value of source and target images. Take qu as an example, qu[ :num_head] is the query of source image, and qu[num_heads: ] is the query of target image. This is applicable for ku, vu and the conditional part qc, kc, vc.

Ah, I see now-- in the originally linked code I'd overlooked that q, k, v for u and c all have 2 * num_heads instead of num_heads in a dimension. Thanks!

In this link, I do not understand why passing the entire qu. What is the intuitive explanation for passing the entire qu, i.e., using both source and target images?

Maybe it works fine too, without chunking for u and c? I checked it and it turns out to be the same value with the current algorithm.

Hi @FerryHuang, I'd like to further validate the results without chunking the unconditional and conditional parts during the denoising process, and the results will be updated here. In our previous experiments, performing the mutual self-attention on two parts independently achieved better results than jointly.

Sorry, I don't really understand why the two denoising processes are performed simultaneously. In implementation https://github.com/TencentARC/MasaCtrl/blob/ae6e1fb395211f6afb598d5788cc233fae46e97f/masactrl/diffuser_utils.py#L184 , it seems that there is only one denoising process performed

Hi @kingnobro, I am sorry for the confusion. Note that qu[:num_heads] is the query feature from the source image, and the qu[num_heads: ] is the query of the target image, while only the source key and value features serve as K, V in the attention process. Therefore, the source image can be reconstructed or synthesized, and the target image can query image contents from the source image. Since the two denoising processes are performed simultaneously in the current implementation, we cannot only use qu[num_heads: ] to generate the target image.

Hi @TimelessXZY, the model_inputs consists of the noisy latent for the source branch and the target branch. The real editing is performed inner each hacked attention class (e.g., MutualSelfAttentionControl).


Monster: Champion(MotM)

Check the Second Wind ability on both versions(legacy) just incase:
Second Wind is missing a number in the healing formula.  It should be 20.

Thanks. Fixed in next version.


Linux Wayland support

Linux X11 works fine. But Wayland not yet. We should probably wait until Wayland becomes more stable/mainstream.

wgpu-native just got support: https://github.com/gfx-rs/wgpu-native/pull/160/ but apparently GLFW's support for Wayland is still experimental and pyGLFW may not support it yet.

It looks like all the components are there to connect things up (with glfw), but when I run it, the system crashes and I'm back in my login screen 😆   I've spend some time checking and trying things, but no luck.
For Qt, this seems like a good staring point: https://doc.qt.io/qt-5/wayland-and-qt.html   I have not looked at that myself yet.

Current status: it's not known if the latest versions of GLFW and wgpu-py together support wayland or not. Needs verification before we can close.

I'm not too sure about the packages on pypi, but I've compiled qt and wayland for conda-forge:
https://github.com/conda-forge/qt-wayland-feedstock
https://github.com/conda-forge/qt-main-feedstock/issues/120#issuecomment-1546916602
let me know if that helps.
If you feel that an other package is missing wayland support, I've found that:

Upstream typically supports it in their development environmnet.
Packaging strategies for PyPi somewhat lag support for fancy features due to packaging difficulties.

2 has been largely alleviated recently with the introduction of things like manylinux_20YY.

Qt did not work on Wayland.

can you expand on this? I was trying this a while back too, it seems that Python for Qt (PyQt6 and PySide6)  likely doesn't expose the API required to make this work. My next attempt was to dig deeper into the C++ API to see if there was a small patch I could make to pyside2 to expose the required functions.
I'm not sure if you already tried this.

glfw did, kinda,[...] undecorated window.

regarding undecorated windows, it seems that this is a "choice" by Wayland, they are pushing the decorations on the client side, many frameworks now have a "switch" that you have to toggle if you want the "default" decorations.
I the decison to make the the client's (the application we are writing in our python+wgpu context) choice was one that came about because Chrome + Firefox were starting to try to make more use of the space typically reserved for "decorations".

Qt did not work on Wayland.

can you expand on this?

Basically, we need the display handle (pointer to display object), and although Qt has API to get it, this is not exposed in PySide nor PyQt5. In X we deal with this by creating our own display object. Unfortunately, Wayland does not accept this trick (and the app segfaults). IIRC window ids on X are pretty big numbers, while on Wayland they're small ints. Which makes me think X uses globally unique window ids, where in Wayland they are namespaced to the display object.
I have not thought about submitting a patch to PySide / PyQt yet.

regarding undecorated windows, it seems that this is a "choice" by Wayland, t

Yeah, and I think glfw now does the decoration, but from what I read, I think it does this in glfw 3.4, which is not yet available via pyglfw.

Do you recall the function we need to call from Qt's C++ API?

I mean this. It looks like this patch implements it for PySide. It's very recent, so not yet available in a release.

the qt wayland example works!!!!

Do you mean the qt triangle example, running on Wayland?

int(glfw.get_x11_display()),
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'

I suppose this is related to glfw 3.4 having one binary that supports both X11 and Wayland, and the PYGLFW_LIBRARY_VARIANT is somehow not applied in the correct way. It does mean that wgpu is broken for glfw installed with conda, so that's unfortunate 😕

Notes to self:
I think this is the structure that we need to get https://doc.qt.io/qt-6/qnativeinterface-qwaylandapplication.html
But QNativeInterface on qt 6.7.1 + pyside6 on conda-forge only exposes the X11 interface
from PySide6.QtGui import QNativeInterface
QNativeInterface.QX11Application

Will try to investigate

Hi @hmaarrfk in the Pyside bug report there a new comment there. Thanks for helping with that, it can be very helpful.
About GLFW it's running very well on Wayland, i just needed to comment
    if "glfw" not in sys.modules:
        os.environ["PYGLFW_LIBRARY_VARIANT"] = "x11"

in gui/_gui_utils.py.

Also, commenting os.environ["GDK_BACKEND"] = "x11" in gui/_gui_utils.py GLFW will use correct window decoration from Gnome.

@tfmoraes what OS is that on, and have you install glfw via pip install glfwor are you somehow using a glfw lib provided by the system?

@almarklein I'm using Fedora 41, Gnome 47 and Nvidia 4070 with proprietary drivers. I installed using pip install glfw. I think you need to install libdecor to have the Gnome window decoration. Also, this is the output of gui_glfw.py:
❯ python gui_glfw.py
Using GLFW with Wayland, which is experimental.
No config found!
EGL says it can present to the window but not natively
Max vertex attribute stride unknown. Assuming it is 2048
Re-initializing Gles context due to Wayland window
No config found!
EGL says it can present to the window but not natively

Also, using GLFW just from pip package:
❯ cat /proc/76780/maps | grep -i glfw
7f2f6c893000-7f2f6c89c000 r--p 00000000 00:36 1253                       /tmp/lll/.venv/lib/python3.13/site-packages/glfw/wayland/libglfw.so
7f2f6c89c000-7f2f6c8b6000 r-xp 00009000 00:36 1253                       /tmp/lll/.venv/lib/python3.13/site-packages/glfw/wayland/libglfw.so
7f2f6c8b6000-7f2f6c8db000 r--p 00023000 00:36 1253                       /tmp/lll/.venv/lib/python3.13/site-packages/glfw/wayland/libglfw.so
7f2f6c8db000-7f2f6c8dd000 r--p 00047000 00:36 1253                       /tmp/lll/.venv/lib/python3.13/site-packages/glfw/wayland/libglfw.so
7f2f6c8dd000-7f2f6c8df000 rw-p 00049000 00:36 1253                       /tmp/lll/.venv/lib/python3.13/site-packages/glfw/wayland/libglfw.so


UI Tests for PfSense

This implements UI tests for pfSense
The tests are based on phpunit and selenium and run on https://travis-ci.org and https://saucelabs.com

travis-ci downloads and boots an image of pfsense in qemu
pfsense is updated by pfSense-upgrade -d -y & pfSsh.php playback gitsync master
tests are run against the upgraded pfsense using selenium on saucelabs

How to run this tests locally:

download Selenium standalone server jar from http://docs.seleniumhq.org/download/
download the chromedriver from: https://sites.google.com/a/chromium.org/chromedriver/ and place it in the same folder as the selenium server
start selenium:java -jar selenium-server-standalone-3.0.1.jar
set the 3 environment variables: SRV_HOST_NAME, SRV_HOST_URL and SRV_HOST_PORT to wherever your dev. environment runs e.g.:

export SRV_HOST_NAME=localhost
export SRV_HOST_URL=pfsense
export SRV_HOST_PORT=80

install php composer:

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '55d6ead61b29c7bdee5cccfb50076874187bd9f21f65d8991d46ec5cc90518f447387fb9f76ebae1fbbacf329e583e30') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

install composer dependencies: php composer.phar install
run tests: vendor/bin/phpunit -c tests/phpunit-selenium-autotest.xml

test view on travis: https://travis-ci.org/individual-it/pfsense/builds/202541766
test view on saucelabs: https://saucelabs.com/beta/tests/b3085d9422cb49bdac8f19d0d3550581

Before this pull request can be accepted you must first sign a CLA as described at https://www.pfsense.org/about-pfsense/#cla. Please read for more details.

This demonstrates how front-end GUI tests could be done for pfSense. Some of the challenges are:

pfSense is on FreeBSD, whereas Travis-CI has only Linux and OSX environments. So the pfSense software under test has to be run inside a VM that runs FreeBSD/pfSense.
How to get a "current build/snapshot" of pfSense to run the tests against. In this first implementation it starts with some snapshot from some (recent) time on master that has been pre-installed into a VM. Then it does a pfSense-upgrade on that to get it to the latest snapshot. That will get binaries from any quite-recent changes into the upgraded VM. Then it does a gitsync of master, which will pull in current commits to master. So it can test any script changes (PHP, JS, bash...) from the current master, but if there are binaries that need to be recompiled then it needs to wait for the snapshot builder.
Even if there was a native Travis-CI FreeBSD environment, doing a whole build from scratch would be a challenge - time taken to build over-and-over for every little change, the build products then need to be deployed into a separate system (pfSense is not some little piece of application software that can just be easily run on the build machine once the build is done)...

Things needed:
a) When Travis-CI runs on a branch of a repo, or a pull request, it automagically fetches the code from that repo or PR into the Travis-CI VM, but that is not where we will run the code. In order to automatically pre-test other branches and PRs, the pfSense gitsync that is done in the FreeBSD VM needs to gitsync with the branch/PR that Travis knows it is testing.
b) Get a pre-installed starting image from a well-known place (at the moment @individual-it has made one himself that is loaded), or get the latest installer from in https://snapshots.pfsense.org/ and run a default installation from it to the VM.
c) Setup Travis-CI and Sauce accounts linked to the pfSense GitHub account, so that automated tests can run from the official pfSense repo.

The last commit solves "Things needed a)"
The code gets copied from travis-ci into the pfsense VM by scp and the gitsync uses this code.
That way we do not have to sync twice with github and also PRs can be tested. This applies only to PRs from the same repro. So if this would be implemented in pfsense PRs comming from a branch in https://github.com/pfsense/pfsense would be tested.
PRs from foreign forks cannot be tested because they do not have access
to the saucelabs username/key

A few examples of recent front-end bugs that [could|should] have been caught by front-end testing of actions:
https://github.com/pfsense/pfsense/commit/27d15a216fcc86cbeef4db4ced518438fc07378d
https://github.com/pfsense/pfsense/commit/12e3e735d8e0f6f0256175ad73f07a9fd196d1e9
https://github.com/pfsense/pfsense/commit/d54107b1b16ecb3f0c9b3da4fce85a220f7a12c0

In an effort to improve the tracking of changes and bug/feature requests, we have decided to require an entry on the pfSense Redmine issue tracker associated with every pull request, and likewise the Redmine entry should also have a link back to the pull request.
If you could, please associate this PR to a Redmine issue either by locating an existing issue at https://redmine.pfsense.org or by creating a new issue. Add a link to the Redmine issue that points to this PR, and also add a link on the PR to the Redmine issue.
For more information, see https://doc.pfsense.org/index.php/Submitting_a_Pull_Request_via_Github
Thanks!

Is there any interest in automated CI?
(any combinations of "unit testing", "API testing" and "UI testing" depending on what well-defined "units" and "API" can be found)

This work should be moved to its own, new repo. WIll investigate that ASAP

A new repo has been created here. Would it be possible to to push your code to that repo, rather than merging it into the pfSense code base?

@sbeaver-netgate I don't see that repo online - maybe it has not been published, or is marked private or?

I seem to lack the power to make it public. Let me see if I can locate a colleague with that privilege.

Should be public now

Please re-submit to https://github.com/pfsense/UI-Automated-Testing repo. thanks!


#4: Add COCO weight details in README.md

Add details in the README.md regarding the storage of COCO weights.

Accepted 68b13b69bebf75a6f78cefcf25752cb2b6cfbb3d


Removed the FixPermissionsCommand

We're not using this or mentioning it within our docs...

We should probably keep it tbh.

Meh.


Add features handle-panics and backtrace

handle-panics attempts to capture panic backtrace when one happens, instead of spitting it to console
backtrace enables actual backtraces using std::backtrace

FIXME:

Backtraces seem to be printed twice, need to tweak their output a bit

Note.
I'm aware that collected backtrace is still 50+ frames long. Unfortunately it seems to be impossible to even enumerate frames on stable, Backtrace::frames() and BacktraceFrame are still experimental.
Default test harness also prints short backtrace from the point proptest's test runner panicked with final result. It's possible to avoid this behavior by making generated test methods return return Result<(), Whatever> (edition 2018), yet requires significant rewrites in helper macros. Is this acceptable or desirable?


Respect locale for time and date

When I export to PDF the it says "Generated: 1/18/2023 1 18 PM", I would like this to be "Generated: 2023-01-18 13:18".
The date for the transactions are displayed as "1/18/2023" I would like this to be "2023-01-18".

The locale is being respected. If you are getting "Generated: 1/18/2023 1 18 PM" that means your LANG is en_US and that's how we format dates in US.
If you wanted something like "Generated: 2023-01-18 13:18", you'd need a LANG that supports that format.
Everything does follow locale time and date, it's just that you're using the wrong locale, since for en_US that's the correct format.
Try something like en_GB

I have the language set to English (because I want the user interface in English), but I have another locale set for LC_ADDRESS, LC_NAME, LC_MONETARY, LC_PAPER, LC_IDENTIFICATION, LC_TELEPHONE, LC_MEASUREMENT, and LC_TIME.
Please don't use LANG for everything. Use LC_TIME.

Please don't use LANG for everything. Use LC_TIME.

That's out of my control. C# (as well as C++) uses LANG when generating CultureInfo.
As I said, for now, your best bet is to use en_GB, to have English but with European style formats.

I think you can do:
var lc_time = Environment.GetEnvironmentVariable("LC_TIME");
var culture = new CultureInfo(lc_time, false);

Yeah we can probably do that.

The only problem is, on Windows these variables don't exist. And remember the application is cross-platform now. So we'd have to work around that.
Also if just LANG is set, do these variables exist? I guess if Environment.GetEnvironmentVariable is null we can default back to CultureInfo with LANG.

https://github.com/nlogozzo/NickvisionMoney/releases/tag/2023.2.0-beta1


chore: update deps + add eslint-plugin-unused-imports rules

Update node dependencies:

ESlint dependencies + fix one new eslint warning
Prettier dependencies + run a prettier:fix
ts-deepmerge

Add ESlint unused-imports, to find and remove unused es6 module imports in the codebase.

@tukusejssirs FYI I'm merging it as it's a straightforward PR. I've also merged your PR #418. Ping me if there is anything.


ISPN-1448 If discard is on, record only discard of the affected node

https://issues.jboss.org/browse/ISPN-1448

this was merged already.


Is this repo still being maintained?

I noticed that the makefile in the root directory has some folders that don't exist in the repository, are these not planned to be open source for now?

Hello @YixinSong-e.

Folder hfmem was a remote memory simulator that was part of the Heterogeneous Framework project. This is not planned to be open sourced.
Folder apps contained application codes we used to test HFCUDA (later HFGPU). These were all projects from CORAL (https://asc.llnl.gov/coral-benchmarks) and CORAL-2 (https://asc.llnl.gov/coral-2-benchmarks) initiatives. Some are open source, including GPU versions.

Best regards,
-- Nelson

Hello！I noticed that the makefile in the root directory and other subdirectory contain "extlibs", but it don't exist in the repository. I want to run this framework for new research, could you guide me on how to compile and run this framework?


Is it possible to bind some of the component's fields while letting others be inlined with paramAttributes?

I've made a component as an encapsulation of using a plugin over a textarea tag. The component initializes the plugin when created and clears it when deleted. So it would be nice to use it like this:
<my-textarea name="param"></my-textarea>
Thus name should be declared in paramAttributes. But I also need my Vue instance containing such components to somehow react on changes of data when user types something in this textarea. Currently I can do it using v-with in nonspecific form but that way I won't be able to use paramAttributes.
Is there a way to solve this problem? Why can't v-with: childMsg : parentMsg update parentMsg when childMsg changes?

As far as I know, no you can't make input components because of limitations of Vue. I made a thread about it on the discussion but I haven't heard anything yet: https://github.com/vuejs/Discussion/issues/120

As of 0.11.5 v-with is now two-way.

Is it possible to make a v-with optionally one-way again? Is there a new one-way directive alternative? Or maybe I'm missing some way to parse the parentMsg as a string literal within v-with.

@shoshi , did you try using paramAttributes as mentioned in the starting post? It is one-way still if I am not mistaken. Also, could you describe your usecase?

@germansokolov13 Yes, paramAttributes do work.
Here's my quick oversimplified gist of our use case: http://jsfiddle.net/2sdrryss/2/ . Basically the main Vue makes a GET (#index) request to an API, which among many other things, sets the type of modal that should load. Then, the modal sets that template as a subcomponent and makes another GET (#show) request to load in more modal data.
I was hoping there was another v-* directive that might accomplish this. I guess it's more of a semantic argument. Since most of our other Vue tags start with v-* it makes sense that all attrs not normally present in html would be prefixed like that. For attrs like src and width, paramAttributes make perfect sense. For custom attrs, it's just be nice to have an option to prefix them in some way, making them look obviously different from normal html attrs.

Nevermind, the issue is still present. Because I need to pass in data from the parent Vue into the component, it needs mustaches. With mustaches, the data becomes two-way bound again. http://jsfiddle.net/2sdrryss/3/ See line 30 of the coffeescript. On close, we change the modalView of the component, which then changes the modalViewType data on the parent Vue.

Strangely enough, this is not an issue with camel case attrs modalView vs dashed attrs modal-view. However, not using dashes prompts the error: "[Vue warn]: You seem to be using camelCase for a paramAttribute, but HTML doesn't differentiate between upper and lower case. You should use hyphen-delimited attribute names. For more info see http://vuejs.org/api/options.html#paramAttributes"
This seems like an actual bug.

paramAttributes is just syntactic sugar for v-with - they are both two-way now.
I don't really understand why you'd want change the child's modalView on close, but if you don't want the child's view change to affect parent you can simply make a local copy of it in the compiled hook:
// child modal
compiled: function () {
  this.$set('localModalView', this.modalView)
}

Using close was an oversimplification, and I can see that it seems a bit odd. Really the contents of the modal contain a button. Clicking the button makes an ajax call. If that call succeeds, the modalView changes to a success state which is another subcomponent of the child view. There are other subcomponents too for other conditions. Thus, you don't want to update the parent modalViewType every time the child modalView changes based on new data. While I could set an extra var that doesn't change like you suggested, it'd be nice not to have to overcomplicate it by adding more stuff. All I need to do is pass in the value once. Also, the browser doesn't need to spend any extra resources waiting for changes that will never occur. (Though I'm not sure how much this matters in Vue. I know it makes a difference in Angular.)
On Angular directives, having multiple options on scope is really useful:
scope: {
  text:       "@justText",
  twoWayBind: "=twoWayBound",
  oneWayBind: "&oneWayBound"
}

I'm sure your goal is to keep Vue light, and I think that's great! That's why I chose Vue over Angular for this project. Is it possible that one-way binding could make it into a future version? Would this fit within your vision for Vue? Is there still some other architectural option I'm missing?
Thanks for all of your hard work on creating, maintaining, and updating Vue! It's truly fantastic.


Named capture assignment

Hi Ilya! 👋
It appears that this library doesn't expose nodes that assign local variables through named capture groups:
/(?<match>bar)/ =~ 'bar'; match

that match should be an lvar, but right now it's a send.

Hello!
This should work, but it requires onig feature to be enabled - https://github.com/lib-ruby-parser/lib-ruby-parser/blob/master/src/builder.rs#L2372-L2376, it's documented in the README

Ahh I'm so sorry! You're totally right. It works as expected!


Error: Error response from daemon: No such image: supabase/studio:latest

Now I'm excited about this new release but currently we get the following error when starting

Error: Error response from daemon: No such image: supabase/studio:latest

Also: do we need to change anything due to this update?

I tried running docker pull supabase/studio:latest and then starting. That only works partially - studio exits...
❯ docker ps -a
CONTAINER ID   IMAGE                                    COMMAND                   CREATED              STATUS                          PORTS                                                                  NAMES
ef3b843c8fcc   supabase/studio:latest                   "docker-entrypoint.s…"    About a minute ago   Exited (1) About a minute ago

Hmm, seems to be because supabase/studio is arm64-only on Docker Hub. I'll disable this as a temporary fix, will enable once it's resolved.

This should now be fixed by https://github.com/supabase/cli/commit/59245bbb98cd9847075dbb8e455aad84de938152 and linux/amd64 is also available on Docker Hub. Let me know if it works!

It works on pop! OS 21. had to use docker pull --platform linux/amd64 supabase/studio:latest   then supabase start

Hmm you shouldn't need to docker pull manually though, the commit above fixes that. I'll keep this open in case it still doesn't work OOTB.

Working in ubuntu as well


Service Provider Map

A few questions:

Is there a way to make the pins not appear so big and make the map appear cluttered?
Can we denote non-SASPs with different colored pins, maybe orange to match the other color of our logo?

The only non-SASP on the map is WCASA, which is in a different color.

@eoghanTadhg, smaller pins on the state-wide view?

Thanks Eoghan. Are they subtly smaller? The reason for smaller being that if there are more pins we would like it to appear less cluttered.
Peter
Peter Fiala
Technology & Events Coordinator
Wisconsin Coalition Against Sexual Assault (WCASA)
2801 W. Beltline Hwy., Ste 202, Madison, WI 53713
Telephone:<PHONE_NUMBER>; Direct:<PHONE_NUMBER>
Fax:<PHONE_NUMBER>
Website: www.wcasa.orghttp://www.wcasa.org/
[link to wcasa's Facebook page]http://www.facebook.com/wcasa [link to wcasa's Twitter feed] http://twitter.com/wcasa_vpcc  [https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcS8fWOIOHiKkDuBEon9eoc4_Rkp-EW-KLKXvst0VMmewXeOO9ZF] http://www.youtube.com/user/wcasavpcc

From: Eoghan Tadhg McInerney<EMAIL_ADDRESS>Sent: Monday, October 31, 2016 8:26:50 PM
To: enove/Thriver
Cc: Peter Fiala; Author
Subject: Re: [enove/Thriver] Service Provider Map (#143)
Closed #143https://github.com/enove/Thriver/issues/143.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/enove/Thriver/issues/143#event-842817154, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVMppTQnrqJFDlGAguZwJFiuL3yQ5kW_ks5q5pVagaJpZM4KgvGY.

We would like to add agencies that are non-SASPs, like HAWA, HAFA, Freedom Inc., etc.
Peter
Peter Fiala
Technology & Events Coordinator
Wisconsin Coalition Against Sexual Assault (WCASA)
[link to wcasa's Facebook page]http://www.facebook.com/wcasa [link to wcasa's Twitter feed] http://twitter.com/wcasa_vpcc  [https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcS8fWOIOHiKkDuBEon9eoc4_Rkp-EW-KLKXvst0VMmewXeOO9ZF] http://www.youtube.com/user/wcasavpcc
From: Micah Henning<EMAIL_ADDRESS>Sent: Saturday, October 29, 2016 12:49 PM
To: enove/Thriver<EMAIL_ADDRESS>Cc: Peter Fiala<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [enove/Thriver] Service Provider Map (#143)
The only non-SASP on the map is WCASA, which is in a different color.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/enove/Thriver/issues/143#issuecomment-257105575, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVMppf5EJfy14izK73xlCkLAjdN8_0Vwks5q44b1gaJpZM4KgvGY.

Hey Peter, you may observe a few of the closed issues not appearing on the dev server as they will need to be merged from my development branch. I'm sure Micah can give you the heads up when that happens.
You will observe numerous improvements/fixes when migrated.
Including this issue, I've made them about 30% smaller. They were indeed a little too big.

Got it, thanks! That makes sense.
Peter
Peter Fiala
Technology & Events Coordinator
Wisconsin Coalition Against Sexual Assault (WCASA)
[link to wcasa's Facebook page]http://www.facebook.com/wcasa [link to wcasa's Twitter feed] http://twitter.com/wcasa_vpcc  [https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcS8fWOIOHiKkDuBEon9eoc4_Rkp-EW-KLKXvst0VMmewXeOO9ZF] http://www.youtube.com/user/wcasavpcc
From: Eoghan Tadhg McInerney<EMAIL_ADDRESS>Sent: Tuesday, November 01, 2016 1:48 PM
To: enove/Thriver<EMAIL_ADDRESS>Cc: Peter Fiala<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [enove/Thriver] Service Provider Map (#143)
Hey Peter, you may observe a few of the closed issues not appearing on the dev server as they will need to be merged from my development branch. I'm sure Micah can give you the heads up when that happens.
You will observe numerous improvements/fixes when migrated.
Including this issue, I've made them about 30% smaller. They were indeed a little too big.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/enove/Thriver/issues/143#issuecomment-257657752, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVMppTvNMeYMAXWt_X5my6CoYutBCf-eks5q54lWgaJpZM4KgvGY.


Release for the B and L models

Dear Developer,
I had the chance to test your super resolution work for 2x and T models and I am impressed by the results.
Any plans to share the B and L models in the future.
Regards,

Hey!
Thanks so much for your interest. I’ll be uploading the larger models by September, so feel free to ping me if I forget to post the checkpoints :)

any update?


Is there a way I can detect if lspsagafinder is opening?

Is your feature request related to a problem? Please describe.
No
I tried echo bufwinnr('lspsagafinder'), but it keeps return -1.

that's buffer filetype so it that function not work.  you can use getbufinfo then traverse the bufnr  check the bufnr filetype equals to 'lspsagafinder'

that's buffer filetype so it that function not work. you can use getbufinfo then traverse the bufnr check the bufnr filetype equals to 'lspsagafinder'

Would you mind give me more hints? I have no clue how to do it.

local buffers = vim.fn.getbufinfo()
for _, data in pairs(buffers) do
   if vim.bo[data.bufnr].filetype == 'lspsagafinder' then
         do your stuff
   end
end

local buffers = vim.fn.getbufinfo()
for _, data in pairs(buffers) do
   if vim.bo[data.bufnr].filetype == 'lspsagafinder' then
         do your stuff
   end
end

Thanks for your help!


Fixed prometheus pushgateway values key

Could you link documentation for this change? I'm not finding prometheus-pushgateway.enabled


fix: 🐛 syn-side-nav indentation-story has no indentation

Checklist (for the issue creator)

[x] I have verified the bug exists in the latest version of @synergy-design-system/components (e.g. via pnpm install @synergy-design-system/components).
[x] I can provide a simple, reproducible example of the issue (e.g. via code-sandbox or sample code, ...).
[ ] I would be willing to provide a PR for this issue.

Version
The bug occurred with the following version of the component library: 2.14.3
Component
The issue arises when using the following component(s): syn-side-nav
Environment
The issue occurred with the following operating system(s): macOS 15.1.1
The issue occurred in the following browser(s): Firefox 133
Description

In the indentation story, there is no indentation visible
https://synergy-design-system.github.io/?path=/story/components-syn-side-nav--indentation&globals=viewport:defaultViewPort
Storybook

Figma

Acceptance criteria

[ ] All DoD items successfully completed

The indentation is only not visible on firefox. Needs to be investigated

It seems that the handling of firefox differentiates from the other browsers here.
I guess it is related to the fact, that when using getComputedStyle() in firefox within a window with no presentation (e.g. display: none), it returns an empty string. For more information see the firefox note of https://caniuse.com/mdn-api_window_getcomputedstyle
The problem in our syn-side-nav is that we use another custom element (syn-drawer) in the component, which also needs time to be there, which results in this behavior. Changing the syn-drawer with any other custom elements resolves in the same result..


Binary message support

Fixes #18, #393

:+1: Good job! :tada:

How can we use this now?

Pull in the 0.4 branch with composer. Checkout the autobahn script to see it using binary messages. Notice that you're given a Message object instead of a raw string now.

Ok. So should I remove "cboden/ratchet": "0.3." from require in composer and add 0.4 instead or should I add it along with 0.3.?

Yes. 0.4-dev as it hasn't been released yet. Be aware there are some BC breaks in the upcoming version such as the HTTP interface change documented in #427.

Yes for which one?
Am sorry am relatively new to these.

Instead of. Use the following command to install/upgrade:
composer require cboden/ratchet:0.4.x-dev

Hey !
The 0.4 branch doesn't seem to have binary support anymore ? Why was it removed ?

I just re-uploaded the binary branch. I thought I had merged it into the 0.4 branch already but guess I hadn't.

Never mind...the 0.4 branch does have binary support. Instead of passing a string in onMessage a Message instance is passed instead.

Hi it seems that the binary part is not working now. When I tried to send binary data back to client side, it got failed with "failed: Could not decode a text frame as UTF-8."
Maybe I got smoothing wrong.

@mengnalin90 Here is how I did it. Use this to send binary messages :
$client->send(new Ratchet\RFC6455\Messaging\Frame($msg->getPayload(), true, Frame::OP_BINARY));


[ethers] link internal libraries in factory before deployment

Currently, contract using libraries that were not provided in solc parameters, are treated as abstract -- which is kinda correct, but for internal libraries, compiled together with the contracts, we want to be able to deploy them first, and then link them to the contract prior to their deployment.
Todo:

[ ] next to extractBytecode, add extractBytecodeAndLinkReferences, which matches the bytecode with library address placeholders
[ ] for contracts which don't have a bytecode, but do have a bytecode with link references, generate a different factory, that also takes a dictionary of lib addresses in parameters
[ ] see if the solution is the same/similar for other targets than ethers

Example json of a contract that uses an API:
    "bytecode": {
      "linkReferences": {
        "contracts/testWithLib.sol": {
          "TestLib": [
            {
              "length": 20,
              "start": 151
            }
          ]
        }
      },
      "object": "....0e11b815273__$cf80b356982734390a54f3eb79e60a0c87$__9163a892066e9161009e9190600401610163565b600....",

Example explanation:
For each call to a library function, the compiler puts an entry in linkReferences: { <libPath>: { <libName>: ... }}, and instead of the address of the contract to call, outputs a link placeholder.
The placeholder is __$<libHash>$__, where libHash = solidityKeccak256(['string'], `${libPath}:${libName}`).slice(2, 36).

Note: in Solidity 0.4.x (exact versions to be confirmed), the placeholders were just __$<lib-name-prefix>$__ (see how linking is done in ethereum-waffle). @krzkaczor do we want to support these versions too?

Note: there was an issue for this feature directly in ethers (https://github.com/ethers-io/ethers.js/issues/195), but that was before Solidity 0.5 and was closed as "manually yolo-linking libraries like this is too dangerous". IMO in Solidity 0.5 it's not dangerous anymore, but since it depends not only on the lib name, but also on the relative file location, I think it's kinda out of scope for ethers -- they normally don't even add the bytecode to any classes, and you need to provide the bytecode to their factory (which is exactly what our factories do); so that's why I've decided to solve linking on Typechain's side.

CC issue #125 -- may be related


Reuse fragments

Currently we dont destroy fragments.

Issue should be fixed as of aaca986 but needs more testing

Complete as part of  #117


Inversion of Control for dependency handling

Should replace the concrete object initialization logic in all of the projects with some sort of Dependency Injection pattern. Most likely the ASP.NET core built-in IoC is enough.

First steps taken with implementation of simple factory methods

Implemented constructor injection in Wcf Services with SimpleInjector & Wcf Integration


It fails to reflect the clients behavior on the server side like IK hands movement

am using Pc Vr and the headset is Rift S the nexus mod seems to work properly  my issue is that it fails to reflect the clients behavior on the server like there ik hands movement and such i was wandering maybe i missed some thing on the api is there a way to enable this and if so.

That isn't a bug. The server's only role is to replicate the movement to other clients.

oky i see my apologies thanks

That isn't a bug. The server's only role is to replicate the movement to other clients.

well is there a way to replicate this hand positions to the server because if the client is traying to interact with something on the server side this wont take effect

What are you trying to do? Anything related to physics is handled by the client, not the server.

some physics based interactions like the character hand knocking a stack of parts

Moving the character on the server isn't going to help with that use case because of 2 reasons:

Physics are handled by the client. Not only does this reduce server load, but it reduces any delay the player would see.
Hands + arms are uncollidable. I don't remember if Roblox still locks this down or not. In the case they do, cloning and welding the relevant parts would give you the functionality you want.


Option to return empty values

Is your feature request related to a problem? Please describe.
All fields except Links return values that have been filled in. Most uses of the library will expect a filled value, but there are times were an empty value must be tested.
For example, if a React component displays an image from an Image field, it should be tested when an image is provided and not provided.
Describe the solution you'd like
Link mock value generators accept a isFilled option. All value generators could accept this. If isFilled is false, an empty value should be returned.
For an image field, this is different from simply returning null. Instead, it should look like this:
{
  "url": null,
  "dimensions": null,
  "alt": null,
  "copyright": null
}

Describe alternatives you've considered
The returned values can be modified manually. In the image example above, each property can be set to null after a value is created.

I like that it uses the same interface as the types


[Screen reader: Settings>Fancy Zones >Appearannce]: Screen reader is announcing incorrect information about state after pressing esc key to close the Zone Highlight Color Combo box.

[Power toys settings- Fancy Zones- Appearance]
User Experience:
This will impact all the screen reader users if Screen reader is announcing incorrect information about the state of Combo box.
Test Environment:
"OS Version: 20221.1000
App Name: Power Toy Preview
App Version: v0.23.0
Screen Reader: Narrator"
Repro-steps:
"1. Open Power Toys Settings App.Turn on narrator.
2. Navigate to Fancy Zone menu item in left pane and activate it. Fancy Zone will open in right pane.
3. Navigate to 'Zone Highlight Color' and activate it.
4. Press Esc key to close the combo box and verify the issue."
Actual Result:
"Screen reader is announcing incorrect information about state after pressing esc key to close the Zone Highlight Color Combo box. Screen reader announce it as 'expanded'.
Note:
Same issue is repro with NVDA(2020.2)."
Expected Result:
Screen reader should announce proper information about state after pressing esc key to close the Zone Highlight Color Combo box. It should announce it as 'Collapsed.
MAS Reference:
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={a12f3779-bdf1-40c2-bbcc-0e314ea94858}
86_Fancy Zone_MAS4.2.1_incorrect annoucement after pressing Esc key.zip
86_Fancy Zone_MAS4.2.1_incorrect announcement about state_narrator.zip

This is not default WinUI behavior on any flyout based control (e.g. ComboBox, SplitButton or DropdownButton)


NPM Logs error when starting

I have my image with below dockerfile
Dockerfile
# CREATE IMAGE EXTENDING BASE IMAGE FOR PDF CREATION
FROM pdfgenerator:latest
ARG FUNCTION_DIR='/function'
COPY src ${FUNCTION_DIR}/
WORKDIR ${FUNCTION_DIR}
RUN echo "npm installing silently"
RUN npm i --silent

When i test the function after updating function i get
START RequestId: 35335333-e8f7-42f4-9116-18c76b985561 Version: $LATEST
npm ERR! code EROFS
npm ERR! syscall mkdir
npm ERR! path /home/sbx_user1051
npm ERR! errno -30
npm2022-09-18T10:58:06.114Z	undefined	INFO	Executing 'index.handler' in function directory '/function'
ERR! rofs EROFS: read-only file system, mkdir '/home/sbx_user1051'
npm ERR! rofs Often virtualized file systems, or other file systems
npm ERR! rofs that don't support symlinks, give this error.
npm ERR! Log files were not written due to an error writing to the directory: /home/sbx_user1051/.npm/_logs
npm ERR! You can rerun the command with --loglevel=verbose to see the logs in your terminal
END RequestId: 35335333-e8f7-42f4-9116-18c76b985561
REPORT RequestId: 35335333-e8f7-42f4-9116-18c76b985561	Duration: 561.31 ms	Billed Duration: 562 ms	Memory Size: 3072 MB	Max Memory Used: 52 MB
RequestId: 35335333-e8f7-42f4-9116-18c76b985561 Error: Runtime exited with error: exit status 226
Runtime.ExitError

Solution
In your dockerfile just add below line
ENV HOME="/tmp"
This will resolve the above issue


Set up Error

Hi I am trying to use framework

I created Domain and Module
downloaded project
set up database and restred database
set up API project and throwing error looks like tables not created while it donwloaded project which is required all table.
can you please let me know how we can set up simple way please?

Hi @itsmemaddineni Thanks for trying Shesha out and providing feedback. We will look into it and @OmolemoBlessingLethuloe will provide feedback

Hi @itsmemaddineni, please follow this guide https://docs.shesha.io/docs/get-started/tutorial/the-basics/setting-up/ and let us know if you are still experiencing the same issue


Pulling down the welcome modal and then clicking on create Organisation results in a crash

https://twitter.com/barbapapapps/status/1419420229482987526?s=21

Hi @winsmith, I think this issue can be closed as it cannot be reproduced since the welcome screen is not a presented as a modal anymore.


iceberg theme for terminator

Hi, I really like your colortheme and I want to have this theme in the rest of my environment as well. That's why I made a theme for the terminator terminal emulator.
Greetings

Thank you for loving the color scheme!
I tried to run Terminator in my environment but it doesn't work (raises SystemError)... so I cannot see your work.
I found a color #d1a8ad (dimmed red) in your palette, but it doesn't seem to be in Iceberg. Would it be possible to replace it with Iceberg one? (e.g. purple #a093c7)

Found more colors:

#adc1cb (dimmed sky blue)
#673e43 (dark red?)

Yes, I have taken the colors from the Xresources version but I can change it accordingly. With what should #adc1cb  and #673e43 be replaced? Thanks in advance

Oh I didn't check the Xresources version carefully...
Would you share screenshots that contain those colors?

Please reopen the PR if you have progress.


Document normalize

Related to https://github.com/CartoDB/support/issues/2111
Live version: http://document-normalize.developers.carto-staging.com/developers/import-api/guides/column-names-normalization/

LGTM!


Gii model creation fails for pgsql tables that have (unique) functional index(es)

PHP: 5.4
OS: Win 7
Webserver: Apache 2.2
Yii: 2.0.3
When using Gii to generate a model from a pgsql table, the call will throw a fatal error if the table uses a (unique) functional index. In my case the functional index was "lower(email::text)". Should be very easily reproduced.
Workaround for now is to remove the index and re-apply it after generation. Unique constraints will have to be added to the model manually.
Call stack:
\htdocs\vendor\yiisoft\yii2-gii\generators\model\Generator.php at line 624
2. in \htdocs\vendor\yiisoft\yii2-gii\generators\model\Generator.php – yii\base\ErrorHandler::handleError(2, 'Invalid argument supplied for foreach()', '...', 624, ...) at line 624
3. in \htdocs\vendor\yiisoft\yii2-gii\generators\model\Generator.php – yii\gii\generators\model\Generator::isColumnAutoIncremental(yii\db\TableSchema, 'email') at line 269
4. in \htdocs\vendor\yiisoft\yii2-gii\generators\model\Generator.php – yii\gii\generators\model\Generator::generateRules(yii\db\TableSchema) at line 173
5. in \htdocs\vendor\yiisoft\yii2-gii\controllers\DefaultController.php – yii\gii\generators\model\Generator::generate() at line 45
6. yii\gii\controllers\DefaultController::actionView('model')

thanks for the callstack but what is the error message? :)

Oops, Invalid argument supplied in foreach().
It's trying to foreach a string value (in my case, it was a column name, instead of an array of column names)


Option to choose which editor to use when opening files from the browser

Is your feature request related to a problem? Please describe.
When clicking links in the browser, my code files are opened with Visual Studio Code. I see it's due to the default behavior of the launch-editor-middleware package.
It would be great to have a convenient way of choosing which editor setting is passed to launch-editor-middleware.
Currently, I'm setting the LAUNCH_EDITOR variable in my npm macro for running the dev server like this:
  "scripts": {
    "dev": "set LAUNCH_EDITOR=webstorm & vite",
  }

This does work, but it would be better to have a solution that's terminal-agnostic and developer-specific.
EDIT: For some reason, setting the variable inline like this doesn't work. It launches Webstorm, but it doesn't correctly open the files. However, setting the variable in the terminal does work.
Describe the solution you'd like
It would be really nice to set this using something like VITE_PLUGIN_CHECKER_EDITOR in .env.local. I think that would solve it nicely.
Describe alternatives you've considered
I haven't been able to get it to work with define in vite.config.js, which would at least work in any terminal.
Additional context
No response
Validations

[X] Read the docs.
[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.

+1 this would be nice improvement!
Just wanted to note that
"scripts": {
    "dev": "LAUNCH_EDITOR=idea vite"
  }

is working fine for me, but doesn't really help as this is package.json and should not include local preferences - so an alias is still the only solution presently.


GI probes don't seem to have an effect

Operating system or device - Godot version:
Linux 4.10, godot d4740a98537b1e7dcb6fb48176abdebe27eee83c
GPUs tested: GeForce GTX 645 with nouveau driver and Intel Haswell GPU.
Issue description:
I placed a GI probe in the scene with two cubes imported from blender, set the material property "emission" up for one of the cubes and pressed the bake button. It doesn't appear to work.
Screenshot after baking:
Steps to reproduce:
Import any models, create a GI probe around them, make one have emission and bake.
Link to minimal example project:
https://my.mixtape.moe/ignmrd.zip

Did you enable use in baked light in the geometry section?

Yes, in both cubes the option "Use In Baked Light" is checked.

I can confirm this. Adding a GIProbe and baking doesn't seen to do anything. I've played with material and WorldEnvironment settings too, but without any success. But since there's no documentation for this feature yet, I can't tell if it's a bug or just something I have overlooked. Maybe @reduz could explain how it's supposed to work, so we can verify?

I also ran into that issue. I have one project where I tried one project where it works.
I think It has something to do with the setup. I also would be interested how to do it properly. But since there will be documentation anyways we just have to wait I think ;)

This is fixed now, did not realize there was an issue


Review dependencies showed when running on szero.

when running on  szero , the tool is showing only 2 dependencies, but szero has 4 deps on package.json
be sure this is due blacklist. If yes this need to be showed as warning.
maybe a bug ?

<helio-frota> o0
<helio-frota> npm creates _from and _id on package.json inside node_modules
<helio-frota> e.g szero/node_modules/myFooDep/package.json <--- this package.json npm adds _from (the version we are using on our project ) and _id (kind of latest or next version)
<helio-frota> and this is is makes our licenser tool show wrong results
<helio-frota> to try-to-solve this we need this: https://www.npmjs.com/package/removeNPMAbsolutePaths
<helio-frota> But it update to the latest/next and licenser keeps not showing the dependency on xml

steps to reproduce:

clone szero
clone licenser
npm install ; npm link  on licenser
npm install on szero
licenser on szero dir

This will show only roi and node-builtins on generated xml
cat szero/package.json will show szero using "decomment": "^0.8.7",
cat szero/node_modules/decomment/package.json , will show
  "_from"<EMAIL_ADDRESS>  "_id"<EMAIL_ADDRESS>
NOTE:
After install and run https://www.npmjs.com/package/removeNPMAbsolutePaths I can't reproduce this anymore, even after removed. It only showing like this now:
cat szero/node_modules/decomment/package.json
  "_from"<EMAIL_ADDRESS>  "_id"<EMAIL_ADDRESS>
but on szero/package.json we still using 0.8.7 !
 "dependencies": {
    "commander": "^2.9.0",
    "decomment": "^0.8.7",

the same is happening for commander (2.11.0)
  "_from"<EMAIL_ADDRESS>  "_id"<EMAIL_ADDRESS>

update...
after remove package-lock.json and run npm install again, I saw the diff versions on szero/node_modules/decomment/package.json.
  "_from"<EMAIL_ADDRESS>  "_id"<EMAIL_ADDRESS>
but again it is downloading 0.8.8 instead 0.8.7 and causing licenser not generate the correct part of the xml.
16:03 $ cat node_modules/decomment/package.json
{
  "_from"<EMAIL_ADDRESS>  "_id"<EMAIL_ADDRESS>  "_inBundle": false,
  "_integrity": "sha512-xVbmniKld/kjjmoHjT0Ex35aa16zw29WEzSAflBcMawjqDtZlrR6wkSwYV0mwJYytDz8JEAYia5Pl8IJRXdWLg==",
  "_location": "/decomment",
  "_phantomChildren": {},
  "_requested": {
    "type": "range",
    "registry": true,
    "raw"<EMAIL_ADDRESS>    "name": "decomment",
    "escapedName": "decomment",
    "rawSpec": "^0.8.7",
    "saveSpec": null,
    "fetchSpec": "^0.8.7"
  },
  "_requiredBy": [
    "/"
  ],
  "_resolved": "https://registry.npmjs.org/decomment/-/decomment-0.8.8.tgz",
  "_shasum": "83d112fd5a812dcecc0823c2532bb17a72995f62",
  "_spec"<EMAIL_ADDRESS>  "_where": "/home/hf/d/szero",
  "author": {
    "name": "Vitaly Tomilov",
    "email"<EMAIL_ADDRESS>  },
  "bugs": {
    "url": "https://github.com/vitaly-t/decomment/issues",
    "email"<EMAIL_ADDRESS>  },
  "bundleDependencies": false,
  "dependencies": {
    "esprima": "^4.0.0"
  },
  "deprecated": false,
  "description": "Removes comments from JSON/JavaScript, CSS/HTML, CPP/H, etc.",
  "devDependencies": {
    "coveralls": "2.11",
    "eslint": "^4.0.0",
    "istanbul": "0.4",
    "jasmine-node": "1.x"
  },
  "engines": {
    "node": ">=0.10",
    "npm": ">=1.4"
  },
  "files": [
    "lib",
    "test"
  ],
  "homepage": "https://github.com/vitaly-t/decomment",
  "keywords": [
    "remove comments",
    "JavaScript",
    "JSON",
    "CSS",
    "HTML",
    "CPP",
    "C++",
    "Text"
  ],
  "license": "MIT",
  "main": "lib/index.js",
  "name": "decomment",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/vitaly-t/decomment.git"
  },
  "scripts": {
    "coverage": "istanbul cover ./node_modules/jasmine-node/bin/jasmine-node test",
    "lint": "eslint ./lib ./test",
    "test": "jasmine-node test",
    "travis": "istanbul cover ./node_modules/jasmine-node/bin/jasmine-node test --captureExceptions && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
  },
  "version": "0.8.8"
}

We need to discuss what we are going to do with it.

Maybe to print a warning indicating dependencies that are present on package.json are not present on the generated xml, due version range usage ^ ~ ?

closing this.

https://github.com/bucharest-gold/licenser/issues/68


feat: eth_estimateGas

eth_estimateGas
Metadata

name: estimateGas
prefix: eth
state: ⚠
specification

Specification Description
Call an RPC node to estimate tx related gas : https://ethereum.github.io/execution-apis/api-documentation/
Parameters

Transaction
Block

Returns

Gas used

Kakarot Logic
Describe the interaction with Kakarot and/or Starknet.
Kakarot methods
Starknet methods

I would be glad to take on this one :)

I suggest you follow the following structure:

use starknet's "simulateTransaction" rpc endpoint to get a actual_fee estimation
then, we'll have to find a formula to separate gasPrice (baseFee + priorityFee) vs. gas_used

Here is my suggestion, will submit it for debate in Kakarot

priorityFee will "always" be zero.
baseFee will be set to the standard EIP1559 baseFee
gas_used will be set as actual_fee / baseFee

You can base your issue off of #60

At one point could we have a talk about the gas used by kakarot so i grasp everything correctly.
Thanks.

This issue needs more strategy, I'll clear assignees on it.
When we have clarity over how to estimate fees in Starknet given an Ethereum transaction payload, I'll reassign someone

Currently looking at two possible solutions:

the simulate_transaction endpoint from the feeder_gateway: need to figure out how to add a simulation flag which would allow to skip the account validation step.
skipping validation: deploy an EOA with an empty __validate__ function. This would allow us to use the simulate_transaction endpoint (even without the skip validation flag) on this specific EOA without providing the signature.

I think those two solutions are interesting,
@ClementWalter what do you think?
For context (french):

le serveur RPC reçoit un objet Transaction qui contient toute une tx evm (sauf la signature)
Starknet expect que tu exécute la tx localement donc en fait, Kakarot RPC devrait envoyer une tx comme si on se plaçait dans le contexte de eth_sendRawTransaction.

ouais en gros ma situation rêvée c'est :

recevoir un call eth_estimateGas, une transaction evm pas encodée du tout (as per le type rust)
le transformer en une raw tx as per eip2712 je crois (type de la tx, probably eip1559 | RLP encoded tx)
formatter la rawTx dans une request starknet as per eth_sendRawTx
envoyer le call estimateFee de starknet qui simule la tx
voir si on peut passer un flag no validate dans ce call car sinon, ça fail

I don't really like the idea of deploying a dummy account with no validate, it seems odd to me, it would mean having an account on starknet that anyone can use to send true kakarot tx.
Since the eth_call/eth_estimateGas is unsigned, what do you think about adding a eth_call method to kakarot? It would:

allow an easy fix to the above mentioned problem
would allow any starknet contract to easily make a call/tx to a kakarot contract
would not add a spurious Starknet account contract

Endpoint estimate_fee can be provided with an additional flag in order to skip validation on testnet. Working example below:
function rpc_call() {
     printf "Request:\n${1}\nReply:\n"
     curl -s -X POST \
          -H 'Content-Type: application/json' \
          -d "${1}" \
          https://alpha4.starknet.io/feeder_gateway/estimate_fee?skipValidate=true
     printf "\n\n"
}

rpc_call ' {
            "type": "INVOKE_FUNCTION",
            "version": "0x1",
            "contract_address": "0x034525ee9fe25ce7f1d896ba5968464a3e6337fa8afb26097a76e79ebee3e28c",
            "calldata": [
                            "1",
                            "3267429884791031784129188059026496191501564961518175231747906707757621165072",
                            "1329909728320632088402217562277154056711815095720684343816173432540100887380",
                            "0",
                            "3",
                            "3",
                            "1081716377456466437556112403657435217051623770760970750771051979090071572060",
                            "1000000000000000000000",
                            "0"
            ],
            "signature": [],
            "max_fee": "0x000000000000000000000000000000000000000000000000016345785d8a0000",
            "nonce":   "0x0000000000000000000000000000000000000000000000000000000000000000"
        }'


Fix for Faraday.new options

It expexts 1..2 parameters: def new(url = nil, options = nil)

@zacharywelch you ok with this?

Test didn't fail for Travis, but failed for local env because Gemfiles used by two envs are different. We can change Gemfile to:
eval_gemfile(File.join(File.dirname(__FILE__), "gemfiles/Gemfile.activemodel-4.2"))

This way we will make sure that it is at least someway intersect.

Going to close this for now but feel free to reopen if the suggestions in #452 are insufficient. Thanks!