[Event Request] codeunit 378 "Transfer Extended Text" - OnInsertFinChrgMemoExtTextOnBeforeToFinChrgMemoLineInsert

🕮 Describe the request
Could you please add the following event?
procedure InsertFinChrgMemoExtText(var FinChrgMemoLine: Record "Finance Charge Memo Line")
var
    ToFinChrgMemoLine: Record "Finance Charge Memo Line";
    IsHandled: Boolean;
begin
    ...

    TempExtTextLine.Reset();
    if TempExtTextLine.Find('-') then begin
        repeat
            ToFinChrgMemoLine.Init();
            ToFinChrgMemoLine."Finance Charge Memo No." := FinChrgMemoLine."Finance Charge Memo No.";
            ToFinChrgMemoLine."Line No." := NextLineNo;
            NextLineNo := NextLineNo + LineSpacing;
            ToFinChrgMemoLine.Description := TempExtTextLine.Text;
            ToFinChrgMemoLine."Attached to Line No." := FinChrgMemoLine."Line No.";
            //+EVENT
            OnInsertFinChrgMemoExtTextOnBeforeToFinChrgMemoLineInsert(ToFinChrgMemoLine, FinChrgMemoLine, TempExtTextLine, NextLineNo, LineSpacing);
            //-EVENT
            ToFinChrgMemoLine.Insert();
        until TempExtTextLine.Next() = 0;
        MakeUpdateRequired := true;
    end;
    TempExtTextLine.DeleteAll();
end;

[IntegrationEvent(false, false)]
local procedure OnInsertFinChrgMemoExtTextOnBeforeToFinChrgMemoLineInsert(var ToFinanceChargeMemoLine: Record "Finance Charge Memo Line"; FinanceChargeMemoLine: Record "Finance Charge Memo Line"; TempExtTextLine: Record "Extended Text Line" temporary; var NextLineNo: Integer; LineSpacing: Integer)
begin
end;

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: 11653.


Provisioning Apply config status not updating (IDFGH-5077)

Environment

Development Kit:      ESP32-DevKitC
Kit version DevKitC: v4
Module or chip used:  ESP32-WROOM-32
IDF version (run git describe --tags to find it):
// v4.4-dev-479-g1067b2870
Build System: idf.py
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
// xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0
Operating System:     Windows
(Windows only) ESP Command Prompt.
Using an IDE?: Yes VSCode with Espressif IDF extension
Power Supply: USB

Problem Description
When querying for the apply config status during provisioning I keep getting the same result (connecting) regardless of if the connection is disconnected or connected.
Expected Behavior
I should get a status showing the device is disconnected or connected in line with what is actually happening on the esp32.
Actual Behavior
I get connecting
{"status":0,"staState":1,"failReason":0} regardless of the actual status on the esp32
Steps to reproduce

Start provisioning and apply a wifi config with an invalid password.
Verify the esp32 shows it has disconnected because of an auth error.
E (101227) wifi_prov_mgr: STA Disconnected   E (101237) wifi_prov_mgr: Disconnect reason : 15   E (101237) wifi_prov_mgr: STA Auth Error
Continue polling the apply config status every 5 seconds during this process.
Notice that the config status always comes back with connecting.

Code to reproduce this issue
private buildWifiConfigStatusPayload(): Uint8Array {
    const cmdGetStatus = new CmdGetStatus();

    const wifiConfigPayload = new WiFiConfigPayload();
    wifiConfigPayload.setCmdGetStatus(cmdGetStatus);
    wifiConfigPayload.setMsg(WiFiConfigMsgType.TYPECMDGETSTATUS);

    return wifiConfigPayload.serializeBinary();
  }

this.write(
          this.provisioningDescriptors.descriptorDict[ProvisioningDescriptors.PROV_CONFIG],
          this.ble.bytesToString(this.buildWifiConfigStatusPayload())
        ).pipe(
          map((result: OperationResult) => {
            console.log(
              `apply config status: ${JSON.stringify(
                WiFiConfigPayload.deserializeBinary(this.ble.encodedStringToBytes(result.value))
                  .getRespGetStatus()
                  .toObject()
              )}`
            );
            const staState: number = WiFiConfigPayload.deserializeBinary(this.ble.encodedStringToBytes(result.value))
              .getRespGetStatus()
              .getStaState();
            if (staState === WifiStationState.CONNECTING) {
              throw 'still connecting';
            }
            return result;
          }),
          retryWhen((errors) => errors.pipe(delay(5000)))
        )

Debug Logs
I (94997) WIFI_CONNECTION: Event base WIFI_PROV_EVENT, Event id 2
I (95007) WIFI_CONNECTION: Received Wi-Fi credentials
        SSID     :  MyNetwork
        Password : InvalidPassword
D (95017) wifi_prov_handlers: Wi-Fi Credentials Applied
D (95027) protocomm: No encrypt ret 0
D (95027) protocomm_ble: Response from  write:
D (95027) protocomm_ble: 08 05 7a 00
D (95087) protocomm_ble: Inside read w/ session - 0 on param 48 0
D (95087) protocomm_ble: Reading attr value first time
D (95167) protocomm_ble: Inside write with session - 0 on attr handle = 48
len = 2, is_prep = 0
D (95167) protocomm_ble: is_prep not set
D (95167) WiFiProvConfig: In wifi_prov_config_command_dispatcher Cmd=0
D (95167) WiFiProvConfig: Enter cmd_get_status_handler
D (95177) wifi_prov_handlers: Got state : connecting
D (95187) protocomm: No encrypt ret 0
D (95187) protocomm_ble: Response from  write:
D (95187) protocomm_ble: 08 01 5a 02 10 01
D (95317) protocomm_ble: Inside read w/ session - 0 on param 48 0
D (95317) protocomm_ble: Reading attr value first time
I (97227) wifi:new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1
D (97977) nvs: nvs_set_blob sta.apinfo 700
I (97997) wifi:state: init -> auth (b0)
I (98007) wifi:state: auth -> assoc (0)
I (98017) wifi:state: assoc -> run (10)
W (98017) wifi:<ba-add>idx:0 (ifx:0, a0:04:60:dd:c3:86), tid:0, ssn:0, winSize:64
D (100527) protocomm_ble: Inside read w/ session - 0 on param 48 0
D (100527) protocomm_ble: Reading attr value first time
I (101107) wifi:state: run -> init (fc0)
W (101107) wifi:<ba-del>idx
I (101107) wifi:new:<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1
I (101107) wifi:new:<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1
D (101117) event: running post WIFI_EVENT:5 with handler 0x400e042c and context 0x3ffddc34 on loop 0x3ffdcc88
0x400e042c: event_handler at C:build/../components/wifi/wifi.c:34

I (101127) WIFI_CONNECTION: Event base WIFI_EVENT, Event id 5
I (101127) WIFI_CONNECTION: disconnected, reconnecting...

I (101137) STATUS_LIGHT: red brightness 1024, green brightness 0, blue brightness 0
I (101147) WIFI_CONNECTION: disconnected

D (101147) event: running post WIFI_EVENT:5 with handler 0x4015463c and context 0x3ffddf7c on loop 0x3ffdcc88
0x4015463c: wifi_default_action_sta_disconnected at C:esp/esp-idf/components/esp_wifi/src/wifi_default.c:107

D (101157) esp_netif_handlers: esp_netif action disconnected with netif0x3ffddc98 from event_id=5
D (101167) esp_netif_lwip: check: remote, if=0x3ffddc98 fn=0x40147dc0
0x40147dc0: esp_netif_down_api at C:/esp/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:1226

D (101177) esp_netif_lwip: esp_netif_down_api esp_netif:0x3ffddc98
D (101177) esp_netif_lwip: esp_netif_start_ip_lost_timer esp_netif:0x3ffddc98
D (101187) esp_netif_lwip: if0x3ffddc98 start ip lost tmr: no need start because netif=0x3ffddd18 interval=120 ip=0
D (101197) esp_netif_lwip: check: local, if=0x3ffddc98 fn=0x401485b4
0x401485b4: esp_netif_update_default_netif_lwip at C:/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:174

D (101207) esp_netif_lwip: esp_netif_update_default_netif_lwip 0x3ffddc98
D (101207) esp_netif_lwip: call api in lwip: ret=0x0, give sem
D (101217) event: running post WIFI_EVENT:5 with handler 0x400e0fec and context 0x3ffb6378 on loop 0x3ffdcc88
0x400e0fec: wifi_prov_mgr_event_handler_internal at C:/esp/esp-idf/components/wifi_provisioning/src/manager.c:805

E (101227) wifi_prov_mgr: STA Disconnected
E (101237) wifi_prov_mgr: Disconnect reason : 15
E (101237) wifi_prov_mgr: STA Auth Error
D (101247) wifi_prov_mgr: execute_event_cb : 3
D (101247) event: running post WIFI_PROV_EVENT:3 with handler 0x400e042c and context 0x3ffddc00 on loop 0x3ffdcc88
0x400e042c: event_handler at C:\build/../components/wifi/wifi.c:34

I (101257) WIFI_CONNECTION: Event base WIFI_PROV_EVENT, Event id 3
E (101267) WIFI_CONNECTION: Provisioning failed!
        Reason : Wi-Fi station authentication failed
        Please reset to factory and retry provisioning
D (101277) nvs: nvs_set_blob sta.ssid 36
D (101297) nvs: nvs_set_blob sta.pswd 65
D (101297) nvs: nvs_set bssid.set 1 0
D (101297) nvs: nvs_set sta.lis_intval 2 3
D (101297) nvs: nvs_set sta.chan 1 0
D (101307) nvs: nvs_set sta.scan_method 1 0
D (101307) nvs: nvs_set sta.sort_method 1 0
D (101307) nvs: nvs_set sta.minrssi 1 -127
D (101317) nvs: nvs_set sta.minauth 1 0
D (101317) nvs: nvs_set_blob sta.apsw 2
D (101337) nvs: nvs_set sta.pmf_e 1 0
D (101337) nvs: nvs_set sta.pmf_r 1 0
D (101337) nvs: nvs_set sta.rrm_e 1 0
D (101337) nvs: nvs_set sta.btm_e 1 0
D (101337) nvs: nvs_set_blob sta.apinfo 700
D (104267) event: running post WIFI_EVENT:5 with handler 0x400e042c and context 0x3ffddc34 on loop 0x3ffdcc88
0x400e042c: event_handler at C:\build/../components/wifi/wifi.c:34

I (104267) WIFI_CONNECTION: Event base WIFI_EVENT, Event id 5
I (104277) STATUS_LIGHT: red brightness 1024, green brightness 0, blue brightness 0
I (104287) WIFI_CONNECTION: disconnected

D (104287) event: running post WIFI_EVENT:5 with handler 0x4015463c and context 0x3ffddf7c on loop 0x3ffdcc88
0x4015463c: wifi_default_action_sta_disconnected at C:/esp/esp-idf/components/esp_wifi/src/wifi_default.c:107

D (104297) esp_netif_handlers: esp_netif action disconnected with netif0x3ffddc98 from event_id=5
D (104307) esp_netif_lwip: check: remote, if=0x3ffddc98 fn=0x40147dc0
0x40147dc0: esp_netif_down_api at C:/esp/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:1226

D (104317) esp_netif_lwip: esp_netif_down_api esp_netif:0x3ffddc98
D (104317) esp_netif_lwip: esp_netif_start_ip_lost_timer esp_netif:0x3ffddc98
D (104327) esp_netif_lwip: if0x3ffddc98 start ip lost tmr: no need start because netif=0x3ffddd18 interval=120 ip=0
D (104337) esp_netif_lwip: check: local, if=0x3ffddc98 fn=0x401485b4
0x401485b4: esp_netif_update_default_netif_lwip at C:/esp/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:174

D (104347) esp_netif_lwip: esp_netif_update_default_netif_lwip 0x3ffddc98
D (104357) esp_netif_lwip: call api in lwip: ret=0x0, give sem
D (104357) event: running post WIFI_EVENT:5 with handler 0x400e0fec and context 0x3ffb6378 on loop 0x3ffdcc88
0x400e0fec: wifi_prov_mgr_event_handler_internal at C:/esp/esp-idf/components/wifi_provisioning/src/manager.c:805

E (104367) wifi_prov_mgr: STA Disconnected
E (104377) wifi_prov_mgr: Disconnect reason : 205
D (105667) protocomm_ble: Inside read w/ session - 0 on param 48 0
D (105667) protocomm_ble: Reading attr value first time
D (110757) protocomm_ble: Inside read w/ session - 0 on param 48 0
D (110767) protocomm_ble: Reading attr value first time
D (115937) protocomm_ble: Inside read w/ session - 0 on param 48 0
D (115937) protocomm_ble: Reading attr value first time
D (121077) protocomm_ble: Inside read w/ session - 0 on param 48 0
D (121077) protocomm_ble: Reading attr value first time
D (126177) protocomm_ble: Inside read w/ session - 0 on param 48 0
D (126177) protocomm_ble: Reading attr value first time
D (131347) protocomm_ble: Inside read w/ session - 0 on param 48 0
D (131347) protocomm_ble: Reading attr value first time

@CSHaze Could you please tell me which platform(IOS/Android) and version APP you used to test it. Also please tell me which example you test. I couldn't reproduce the issue you met. Thanks.

I am using Ionic which is Javascript. What is the APP version? I have written my own application and every other command seems to work. I thought it could be some kind of caching issue but I see each request hitting the ESP32.

@CSHaze Sorry, I thought you were using our official APP. You can use this APP to test whether exist your issue.

@yuanjianmin ah, gotcha. I will try that and let you know if I am still seeing the issue.

@CSHaze Any update?

@yuanjianmin sorry for the delay. I think I have resolved the issue. The problem was my polling code. There seemed to be some issue with caching or the read being run repeatedly without the write. Using your app helped confirm it was an issue with my polling code.
I appreciate all your help on this. I pretty much have provisioning completely working for now except the encryption piece, I was close at one point but can't figure out how to get the decryption to track the offset correctly using JavaScript libraries. A problem for another day. Again, thank you for all the help.

@CSHaze Good to hear the issue resolved. Feel free to reopen.


Costomizing NeuroNER

Hello, would like to customize neuroner to work as http micro service. That means, as it starts, it would load a pretrained model, then wait for a http request, ner it and return the results as JSON.
Right now I have an unoptimal performance with an external program wrapping neuroner by writing datasets to text files and reloading pretrained models for every piece of text I need to NER.

Can you give me some ideas to for example, where does neuroner load the dataset, and pass it on to something that proccesses it? and how is the nerred output returned by this function?


Allow Double values to be passed via React Native bridge (as opposed to forcing double)

Description
Passing a null value is acceptable for Double type in Java, but not allowed for double.
Javascript and obj-c have no concept of any such limitation.
The React-Native bridge's getDouble() method forces one to use double type.
Since it's very easy to think of use cases where a Double value should be allowed to be null, and values which are compatible with the js and obj-c layer are not compatible with the Java layer, this seems to me to be a bug.
React Native version:
All versions
Steps To Reproduce
Attempt to pass a null value to the getDouble() method.
Expected Results
Null value is allowed and handled as a Double rather than a double - or at least a Double-compatible method can be used.

Hi @colmsnowplow thanks for the issue. This seems to be a specific optimization, have you encountered a use case where this caused you problems?

Yeah - I worked around it here by ignoring the value if it's null or empty. But this isn't the desired behaviour.
In this instance it's just an irritation that it's more effort than it's worth to elicit the exact behaviour I want.
In the general case, the framework involves passing values from Javascript to Java. Javascript allows nullability. Java has a type which was specifically created to handle nullable cases. It's pretty commonplace that a value could be a nullable Double. I'm not saying it's a bug or a showstopper or that there's no other way. I'm saying it's a pain, and for me there's a good case for making a devs life easier here by providing a method to easily grab a Double.

Appreciate the link to the code snippet! Tagged Issue Manager Attention for the team to take a look

I know we've had lots of discussions on the Windows side about how to handle doubles in the native code. I'm curious if @vmoroz can weigh in with what we did and/or if we have any suggestions on changes to core that we'd like to see and/or how this is affected by the Turbo Modules world (also pinging @stmoy in case he has that info).


Migrate to swift 4.0.2

Codecov Report

Merging #46 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #46   +/-   ##
=======================================
  Coverage   83.46%   83.46%
=======================================
  Files           4        4
  Lines         248      248
=======================================
  Hits          207      207
  Misses         41       41

Flag
Coverage Δ

#Configuration
83.46% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


add examples for keyPhrase and percentage

Fixes #2904
Proposed Changes

Testing

We should be using percentage.schema which defines the type as number.  Percentage is not a valid JSON schema type.

@boydc2014 @GeoffCoxMSFT @microsoft/bb-samples Please help me approve the PR.


User does not have any Google Analytics account.

hi..
i am getting this error
Error calling GET https://www.googleapis.com/analytics/v3/management/accounts/~all/webproperties/~all/profiles: (403) User does not have any Google Analytics account.
i wonder why this is happening ,as i have a valid google analytic account with
my account info showing on the right/top of my account page as
<EMAIL_ADDRESS>laraval - http://laraval.eu1.frbit.net/
All Web Site Data
(more over i am putting the client id and mail etc. well attached with my google api account with analytics api enabled)
please help me resolving the error

+1

Thanks for advice! @Brobin

:+1:

Now that it's a few years later, does anybody know if the e-mail address you need to add is still the long auto-generated client ID of the service account, or is it more like this format now: [YOUR SERVICE ACCOUNT NAME]@[YOUR PROJECT NAME].iam.gserviceaccount.com ? The e-mail address for my service account is not a long client ID, it's this<EMAIL_ADDRESS>Is this the e-mail address I need to add to the profile as a user?

@JeremyBowyer i'm also confused :D with the changes.
Me, getting User does not have any Google Analytics account but i already have the req.credentials

http://stackoverflow.com/questions/12837748/analytics-google-api-error-403-user-does-not-have-any-google-analytics-account This solves the problem

👍


chore(controller): update djangorestframework to 3.0.5

See http://www.django-rest-framework.org/topics/release-notes/

Code LGTM.

Seems like there may be some more improvements which we can make in the views. We still reference self.model in a few of the views, which seems like it's more or less deprecated: https://github.com/tomchristie/django-rest-framework/pull/2486
Code LGTM, just thought it'd be a good topic to bring up


Copy to Clipboard not working correctly

Hi,
Just tried out your plugin and found an issue with it.
The Copy to Clipboard function tries to use the client internal "< flag >" for shout chat,
but the issue is that a flag isn't set until you tell the client that the flag is set.
So for this to work you could
a) Use the dalamud function to set flag and open map
b) Set the flag directly with ffxivclientstructs

Thank you for your feedback. Honestly this was the intended behavior, I will be looking into ways to improve it.

Mmmm,
The problem with that behavior is that you shout out your previous flag too
So someone could shout
"POP (Lavender Beds X Y)"
Which I think makes it even weirder compared to your Plugin setting the right flag x3

I've added a feature whereby it automatically sets the flag whenever you click on the custom payload in chat. You can either copy to clipboard or send the shout message.
If you are able to compile, feel free to test it out, otherwise I will push this to testing soon

I would recommend not doing any calculations yourself, and just trust dalamud in doing them.
You can use
public void SetMapMarker(MapLinkPayload map) => GameGui.OpenMapWithMapLink(map);

Which will take your MapLinkPayload and automatically open the map with handling FlagMarker internally
Or:
instance->IsFlagMarkerSet = 0;
AgentMap.Instance()->SetFlagMapMarker(map.Map.TerritoryType.Row, map.Map.RowId, map.RawX / 1000.0f, map.RawY / 1000.0f);
instance->OpenMap(map.Map.RowId, map.Map.TerritoryType.Row, type: MapType.FlagMarker);

This will take the MapLinkPayload and use the internal coordinates, just divide them by 1000 as they are 654321 instead of 654.321

The feature has been implemented in <IP_ADDRESS> and has been merged today. Will be closing this, feel free to reopen if any issues occur


Add basic functional "smoke test"

💡 Summary
Add a functional, end-to-end test that performs very basic validation of ScubaGoggles functionality.
Motivation and context
Currently all functional testing needs to be done manually, leading to delayed discovery of potential issues. Due to GWS's limited API, we can't implement full functional testing, but we could implement a basic "smoke test" which would allow us to quickly identify some issues.
Implementation notes
Dependent on:

https://github.com/cisagov/ScubaGoggles/pull/165
https://github.com/cisagov/ScubaGoggles/pull/163

After those two PRs are merged, we can add a GitHub trigger that runs ScubaGoggles and performs basic validation of the report, such as:

The provider output is valid json
There is no missing output
No API calls or functions produced exceptions

I recommend referring to the ScubaGear smoke test as a starting point for implementing this functionality.
See:

https://github.com/cisagov/ScubaGear/blob/main/.github/workflows/run_smoke_test.yaml
https://github.com/cisagov/ScubaGear/tree/main/Testing/Functional/SmokeTest

Acceptance criteria

[ ] A basic smoke test has been implemented
[ ] The smoke test has been added to the GitHub workflow

Just waiting on error handling PR #163

Both dependent PRs have been merged into main, this issue is ready for development.


CiviForm admin UX: make adding questions from the question bank more clear

Is your feature request related to a problem? Please describe.
In UXR, the CiviForm admin did not know how to add a question from the question bank.
Describe the solution you'd like
On the manage questions and screens page:
Change "+" to "add"
Move "add" to the right of the question
Add a divider between the question and "add" button
Additional context
From Admin UX feedback sheet
Mock here
Screenshot

Hi Cassandra
As a newby to the system there were a few other bits about the wording that made this unclear to me.
I've got a couple of small suggestions. How about we:
Rename "Question bank" to something like "Your predefined questions" or "Predefined questions"
Add a short text below that along the lines of "You can add a predefined questions to the form by clicking on "add" button next to it"
Plus what you suggested already

Actually I started working on that as part of bigger question bank redesign: https://github.com/civiform/civiform/pull/3701
Both of your proposals, I think, are incorporated in Raha's design. Here is how my implementation looks:
https://drive.google.com/file/d/1xERLRLzJ32ky0eALqlZAP5XWHGaZ5cyw/view?usp=sharing

Done in https://github.com/civiform/civiform/pull/3701


How to inject @Context objects?

This is my unit test:

@MockitoSettings(strictness = Strictness.STRICT_STUBS)
@ExtendWith(MockitoExtension.class)
@DisplayName("configs resource")
@EnableWeld
public class ConfigTest {

    @Mock
    HttpServletRequest servletRequest;

   @WeldSetup
    public WeldInitiator weld = WeldInitiator
            .from(
                    MockCommonResources.class,
                    ConfigApiResource.class,
                    etc etc
            )
            .addBeans(createHttpServletRequest())
            .activate(
                    RequestScoped.class,
                    ApplicationScoped.class
            )
            .build();

    Bean<?> createHttpServletRequest() {
        return MockBean.builder()
                .types(HttpServletRequest.class)
                .create(o -> servletRequest)
                .build();
    }

    @Test
    @DisplayName("config")
    void config(ConfigResource configResource) {

        final String url = "areaclient.infocert.it";

        when(servletRequest.getHeader("Origin")).thenReturn(url);

        final DomainConfig output = configResource.get();
        assertNotNull(output);

    }
}

I can't inject HttpServletRequest because is a @Context object.
Any hints?

I suppose you'd like to inject the bean created by createHttpServletRequest() to a non-CDI injection point, ie. @Context HttpServletRequest. If so you would have to add a mini CDI extension that would turn @Context HttpServletRequest into @Inject HttpServletRequest. AFAIK there is no API to perform this directly. But in fact, it shouldn't be that hard. You can consider using org.jboss.weld.environment.se.Weld.addContainerLifecycleObserver(ContainerLifecycleObserver<?>) and org.jboss.weld.environment.se.ContainerLifecycleObserver.processAnnotatedType() and javax.enterprise.inject.spi.ProcessAnnotatedType.configureAnnotatedType().

@mkouba sorry I tried but still have no idea how to use the methods you mention above with JUnit 5 framework :(

Something like that:
Weld weld = WeldInitiator.createWeld()
   .addContainerLifecycleObserver(ContainerLifecycleObserver.processAnnotatedType()
     .notify(pat -> pat.configureAnnotatedType()
       .filterMethods(m -> m.isAnnotationPresent(Context.class))
          .forEach(m -> m.add(javax.enterprise.inject.literal.InjectLiteral.INSTANCE))));

// and then...
WeldInitiator weld = WeldInitiator.from(weld)
            .addBeans(
                    MockCommonResources.class, ...);

Thank you very much!
I mention your help on stackoverflow


VS Code Git could not find remote to an existing github repo

Issue Type: Bug
I have a folder cloned from github repo with a couple of branches and funcitoning via a terminal.
I open it i VS Code and even though I authorized github in it, it does not see any remote repository when i try to find any branch. When i try to Pull it shows: "Your repository has no remotes configured to pull from."
Extension version: 0.19.0
VS Code version: Code 1.48.1 (3dd905126b34dcd4de81fa624eb3a8cbe7485f13, 2020-08-19T17:09:41.484Z)
OS version: Darwin x64 19.5.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 2

Memory (System)
16.00GB (0.22GB free)

Process Argv

Screen Reader
no

VM
0%

What does git remote -vvv return from the terminal?

It gives
origin git@github.com:cognitedata/.git for both (push) and (fetch)

Can you please provide a screen recording?

You probably mean a screen shot?
fre. 4. sep. 2020 kl. 11:40 skrev João Moreno<EMAIL_ADDRESS>
Can you please provide a screen recording https://gifcap.dev/?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/106039#issuecomment-687040773,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACOBUNTAPOSCCB6J3R2HPDDSECYXPANCNFSM4QUWY7HQ
.
--
Alina Astrakova
Senior ML Engineer

+47 90 56 77 42 |<EMAIL_ADDRESS><EMAIL_ADDRESS>www.cognite.com | REVEALING INDUSTRIAL REALITY™
See the latest news https://www.cognite.com/newsroom from Cognite.
Subscribe  https://www.cognite.com/newslettersignupsto our newsletter.

A screen recording of the issue happening would be a bit more descriptive.

You don't have any folder open in that window of VS Code.

I changed to the right folder in the terminal

Yeah but the issue you initially mention is related to the fact that you have VS Code open on that folder.
Can you please provide a screen recording of the issue happening?

Since
, here is a zip
Uploading Screen Recording 2020-09-10 at 10.52.53.zip…

Can you try uploading once again?

Screen Recording 2020-09-10 at 10.52.53.zip

What does git status return?

Your branch is up to date with 'origin/azure_function_bol'

No branches are seen here:

$git branch

azure_function_bol
master

No branches are seen here:

No branches are seen here

Can you reproduce the issue in other repositories? Or on another clone of the same repository?


Bump version numbers to 1.2.1

Simplified with a single commit and tag both signed and verified.
Signed-off-by: William Smyth<EMAIL_ADDRESS>

This should be clean and ready for merging.


[Docs Rewrite] Meta-Issue: Tutorials

This is a tracking issue to cover all tasks related to rewriting and updating the "Tutorials" section.
Tasks

[ ] Define goals and outline for new tutorial sequence (refs: #2590 , #3313 , #2933)
[ ] Come up with better sample apps for tutorials
[ ] Restructure docs sidebar: add "Tutorials" category, move "Basic" and "Advanced" under that
[ ] Add "Barebones" tutorial
[ ] Rewrite "Basic" tutorial

[ ] Rewrite "Usage with React" page completely

[ ] Renamed "Advanced" to "Standard" and rewrite

[ ] Move "Middleware" page to "Thinking in Redux > Design"

[ ] Add "Real World" tutorial
[ ] Add a "Next Steps" page (#2626)

I was just browsing the analytics for the Redux docs.  Here's the top 10 pages for the last week in pageviews:

/: 27.6K
Getting Started: 25.9K
Actions: 17.1K
Reducers: 15.5K
Usage w/ React: 14.7K
Style Guide: 12.8K
Tutorial: 12.1K
Example: 8.7K
Async Actions: 8.5K
Store API: 8.1K

So, this tells me that we've got a lot of folks actively learning React, and we should prioritize rewriting the tutorials.  (And, that we need to get the tutorials right.)
Before we can do that, we need to have an idea how we're going to rewrite them.
Previous Thoughts
Here's my prior thoughts from #3313 :

I want to have a series of tutorials that add increasing levels of complexity.  These might be based on or tied into the existing projects in the "examples" folder.  The exact project types and implementations should be carefully thought out to help get across the specific concepts we want to teach for each one.
I'd like to keep these tutorials as focused as possible.  That means skipping stuff like "three-phase actions", writing action constants inline instead of as separate variables and files, etc.  I also want to start with as much stuff in a single file to begin with, and only split it into multiple files later, at which point I want to use "feature folders" instead of "folder-by-type".  I also want to hold off on showing action creators right away.  (Related: I ran a Twitter poll on what folder structure the tutorials and examples should show by default.)
Possible sequence:

Barebones

Goal: show the absolute basic mechanics of the store API, no other libs or anything
Could use the counter-vanilla example for this

Basic

Goal: show use of combineReducers, putting data in actions, immutable update logic for objects and arrays
I'd like to start off by showing hand-written subscriptions to Redux in React components, to build on the subscription usage in the "barebones" tutorial and prep for usage of React Redux
After we've shown that, then we can show usage of connect.  However, I'd like to drop almost all the "presentational / container" terminology from this page and keep it focused on the bare basics.
Overall, this is probably mostly a modest rework of the existing basic tutorial to clean it up, than something entirely new

Standard Usage

Goal: show "typical usage" of Redux and React Redux, including middleware, thunks, action creators, selectors, normalization, and debugging
Note: not calling this one "advanced", because it shouldn't be
Would want to focus on setting up and using these things and some info on why they exist, but without going into all the nuances of how they work (looking at you, "Middleware" page).
Would also really want to start finding places to demonstrate the idea of multiple reducers listening to the same actions.
After adding all these new pieces, I think this would be a good place to introduce Redux Starter Kit, and refactor the existing code from this tutorial to use RSK

Real World

Goal: show the process of setting up and organizing a larger app than the current > "Reddit API" example
Should probably include routing, request success/failure cases and loading state, > and whatever else we can add in
Could consider holding off on the normalization and debugging parts until this tutorial

Discussion Points and Questions

What specific points do we want to teach in each of the tutorials?
How can we effectively teach both "this is how the lib works", "these are the related concepts you should understand", and "this is how to effectively use it"?
How can we structure the tutorials to better engage learners, including giving them interactive ways to learn?
What are better ideas for example projects than "a todo list" and "a Reddit post fetcher"?  We somehow need ideas that demonstrate the mechanics of Redux, and yet don't get bogged down in a ton of overhead and distractions

Hi! I’m a big fan of redux, first time contributor.
Personally, I absolutely love the style of gobyexample. What I often end up doing on documentation sites is skimming code and only reading the explanations if the code is unhelpful. To provide further context, there could always be a link to a jsfiddle/stackblitz/etc.
Though the depth of the current tutorials might be useful for some, it feels a bit daunting to have to go through 4-5 pages before being able to get started. So succinct examples that display something end to end would be super valuable.

I taught Redux to some React and JS novices in the past couple of weeks, and here are some rough initial thoughts/observations on an initial introductory sequence for the core concepts based both on what went well and what I wish I'd done differently:

What is an action?

Including "what is the purpose of an action"
No payloads just yet, just type

What is a reducer?

Emphasising repeatedly that reducers should return the new value of the whole state structure that they are responsible for
A common mistake seems to be "oh this bit of state should be updated" and only returning that slice of state

What would be a sensible return value of this reducer (managing a number or array) when it is passed this state and this action? Now, how do we write it so that it produces that return value?
What would be a sensible return value of this reducer (managing an object) when it is passed this state and this action? Now, how do we write it so that it produces that return value?

Probably using if statements up to the point of having perhaps 2/3 else ifs, and then introducing switch and case

Oh, but we don't want to have multiple cases that do similar things (e.g. INCREMENT_BY_ONE, INCREMENT_BY_TWO). How can we get more information to our reducer? payload!
Now I'm bored by having to write long object literals when I make similar calls to the reducer that only differ by payload. How can I make it easier? Action creators!

Then:

Now we want something to keep track of state, so we're not having to hold something and pass it into our reducer each time. Let's create a store to keep track of state. How do we update its state? dispatching actions!

(This is obviously premised on teaching the core library first and not teaching first via RTK)
As we discussed on Reactiflux, @markerikson, if you think something like this would be of value, then I'd be happy to contribute some written tutorials for this sequence.

Hi, adding my thoughts as a Redux learner upon @markerikson 's suggestion.
After working with React for several months, I decided to try my hand at Redux. It took several separate attempts, but I finally had my lightbulb moment last week while working through the Redux half of The Net Ninja's React & Redux course (parts 34 onward).
Below I'll briefly explain my general path to learning Redux, including the resources I used.
I initially started with the main Redux.js site. Being self-taught, I looked for a resource that would walk me through the fundamentals of Redux, including the theory and how to implement it in an app.
Having no previous experience with Redux, I felt a little lost with the basic to-do list tutorial, so I jumped to the list of Redux resources.
I tried Dan Abramov's Egghead.io course, having heard a lot of people recommend it. While I was able to grasp the basic concepts discussed in the first few videos, I felt like I was missing a lot of the context I needed to truly grasp what was going on and where everything fit in. I was also having trouble understanding how I would apply Redux to the structure of a modern small-to-midsize React app.
I then watched Mark's "The Fundamentals of Redux" talk. This was really effective in teaching me the core concepts of Redux — how the store, reducers, actions, and provider work together to manage state across an app. For me, the next step was to apply it to an actual app.
I tried playing around with some of the example apps but had a hard time making the leap from knowing the core concepts to seeing the code implemented in an actual app and knowing how to do that.
The tutorial structure on the Redux.js site —building the actions, reducers, and stores in isolated environments, and then showing how it fits together in the end — didn't mesh with my personal style of learning. The video series linked at the top of this post worked for me because the instructor explained how the different parts of Redux worked while implementing them in a basic React app using a structure I was familiar with.
I'd be happy to clarify my explanation if any parts didn't make sense. Hope this feedback helps!

Shorthand notes on the goals for redoing the existing tutorial sequence, since I keep pasting these in various places:

Drop all outdated references ("Flux", "containers", etc)
Show simpler patterns (inline action types like {type: "todos/addTodo"} vs const ADD_TODO = "ADD_TODO", single-file Redux logic)
CodeSandbox examples
Show React-Redux hooks
Improve explanation flow

Can I write a tutorial on how an over-simplified connect works with context api?
Example
https://codesandbox.io/s/react-redux-9t5nj
Here is an example of using context API to get it done. ( i remember a gist from gaearon )
Its a comparison of how the API works.
I use this to teach to a lot of people, and they have been able to learn very easy after that.
I have some written docs for the tutorial, although its a rough draft.

For context: https://github.com/reduxjs/redux/issues/3594#issuecomment-698652239

Per the "Essentials is scary" and "point to the basic tutorial" comments: I get where you're coming from, but I'll have to disagree there.

The reasoning behind my "choice" for the Basic tutorial was that I could learn how to write an action, without having to follow a long tutorial. It could as well be written with RTK.
Now after some looking around I understand that you want the documentation to focus on tutorials, while I am more of a "how-to guides" person as announced in https://documentation.divio.com/
Besides, I've seen mentions of setting a "path" for the user. Getting something quickly setup with the "old way"  before transforming the code to use RTK would make sense imo. They would gain a better understanding of what RTK does.
Maybe they should be split between "Modern" and "Classic" a la Relay to make the distinction clear.
Or maybe we don't need the distinction at all. And can put everything at the tutorials root.
And now looking at your thought above I wonder if we could group everything under three categories: Basics - Standard - Real World. Outside of tutorials.
As a quick sketch:

Basics

Core Concepts
Counter Example

Standard

Social Media Feed Example

Real world

SSR
Typescript

This would allow to remove the "Recipes" category by putting the recipes inside or next to the tutorials. And it would allow to take some weight out of the Essentials.
This post is a mess and I bring more questions than answers. But I think that once the big decisions are made, a lot of changes can be made in quite a fast fashion.

@sbaudray :  Yeah, I think you're sorta over-analyzing what I'm looking for here :)
As described in #3855, the new "Essentials" tutorial focuses on "how to use Redux the modern way to build real-world apps using RTK", but doesn't cover the lower-level primitives and concepts that RTK is built on.  The goal of the "Basics" tutorial is to explain those lower-level primitives.  So, it's not so much about "modern" and "classic", but rather "higher-level abstraction" and "what those abstractions are abstracting".
I definitely don't intend to cover SSR in a tutorial.  There may be some value in having a separate TS-specific tutorial in addition to the "Usage with TS" page, though, but definitely not including that in either the "Essentials" or "Basics" tutorials.

The new "Redux Fundamentals" tutorial is now live!  The "Fundamentals" tutorial teaches "how Redux works", from the ground up, and finishes by showing how Redux Toolkit simplifies the common Redux usage patterns:
https://redux.js.org/tutorials/fundamentals/part-1-overview
I'm going to declare that the actual work of rewriting the tutorials is complete, and close this issue.
However, just because it's been merged doesn't mean the content is immutable (😀 ).  I'd love to hear additional feedback both from the people who commented in this thread and anyone else who might have thoughts on it.
In particular for the folks in this thread, does the new "Fundamentals" tutorial address the concerns and suggestions you've raised already?


Animation jumping on iOS

"@lottiefiles/lottie-interactivity": "^0.1.3",
"@lottiefiles/lottie-player": "^0.5.1",

We are using using lottie scroll relative to a container, and I'm seeing an issue where the animation is jumping on iOS. The container is 400vh and the <lottie-player> is 100vh. I can throw a background color on the <lottie-player> and confirm it takes up the entire screen height.

But occasionally, the animation jumps to the top on iOS, and I can't determine any consistent reason why.
Here's a video of the bug: https://drive.google.com/file/d/1nWLhe_5m3qtA4vYyQ_ebAd9jcWVlD29g/view?usp=sharing
Let me know if there is any other information I can provide.

Hi Trevor,
Would it be possible to pass us the Lottie file so we could test it.
Thank you

Hah that would have been helpful, sorry
https://assets5.lottiefiles.com/private_files/lf30_LCvZZF.json

Could you have a look at this codesandbox
https://8bz9z.csb.app/
The jump happens in safari because it does not support certain css transforms. To fix it, have a look at the css
`


Windows 10, Dualshock4 v2

DS4Windows can't recognize my controller. I believe it is connected to my PC because I can find it as a "Wireless Controller".
And it's stuck on "Opening Installer", nothing happens

Same problem on win10 with Version 1.4.52 and previous one. I will try to rebuild on my machine and send more details.

This happens every month. The monthly bandwidth limit of the server has been exceeded so the ScpVBus driver cannot be downloaded from there. Try again on July 1st or try my fork.
https://github.com/Ryochan7/DS4Windows

I have the same, v1 controllers no problem, v2 nothing..

I can connect, but Windows only identifies the V2 controller as Xbox 360 Controller rather than a Ps4 when playing any games.


Removing the view more button...

Changes made are:

Added Inkwell widget to every component and removed the view more button.
Added Scale Transition between the pages
Changed how the text is assembled in each sub heading.

Refers to #14

Thank you! @mdnazisharman2803


v0.4.0

Features

#152

Dependency Updates

#151
#153
#141
#144
#146
#147
#148
#149
#150

Codecov Report

Merging #157 (d75f2c7) into master (a785950) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Current head d75f2c7 differs from pull request most recent head 595b2a9. Consider uploading reports for the commit 595b2a9 to get more accurate results

@@            Coverage Diff            @@
##            master      #157   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines          422       424    +2
  Branches        29        29
=========================================
+ Hits           422       424    +2

Impacted Files
Coverage Δ

src/extend.ts
100.00% <100.00%> (ø)


Mention open in new tab functionality

Move markdown example into code block with markdown language set
Mention use of ⧉ notation for 'open in new tab' functionality

Thank you!


Pluggable cache

Should be very easy to plug a mongodb / memcached cache

For me there's also a lack of decent cache in this lib, what would be useful especially during the crawler development, where we are doing a multiple request to the same URL-s to implement DOM parsing functions.
The easy implementation for the cache could be allowing to build custom request object instead of default request = require('request'). If this was pluggable we could use cached-request instead of the default one.

Good point! I'm always thinking about this, how can I debug easily during development avoid requesting target site time by time. While I dive deep into the code, I find it is complicate. Some of the problems are below:

In what format when storing request and response?
Where to store? Database or file system?
When to clean the cached data?
What should be used as identity for a request?
What if a timestamp or similar query string?
How to turn on/off the cache gracefully?
How to manage the options for cache?
How to construct the code to keep it clean and simple?

Do you have any ideas of all the problems ?

Well, firstly I think these problems shouldn't be directly addressed by the crawler. When I think about each point from your list, and possible options that would be nice to have for each of them, my first thought is that will make the lib twice bigger and complicated.
In the other words - every specialized caching lib will be better in this job than any custom implementation made here, in the same way always the crawler will be better to be used in any app required crawling, than the custom implementation :)
I'd think, instead, of some simple layer to be injectable into the crawler, to manage all these problems. My first idea was about cached-request, because this lib provides the same requests interface as the original nodejs request, and is transparently replaceable, probably with a one line of code. But if you want to do something more flexible, I'd think about somethink like providing Cache interface (I'm sorry I think mostly in java) which is injectable to the crawler and can have different implementations.
So, if you don't provide as many configurable options as someone requirements, he can always implement this interface and replace the Cache object. It's also possible to develop different implementations (like with mongodb storage, filesystem storage etc) by other developers and publish them as separate libs.
Having this done I'd give two implementation by default provided by the crawler lib, one would be a NoOpCache which doesn't do caching at all and is the default one, while the second one would be a simple filesystem cache with minimum options (the most of my crawler usages, were one-time, maybe up to three-times crawling, get the data and forget about the code - I'd like to be able to use cache, but I wouldn't like to configure mongodb for that, for example). For this simple implementation I'd choose:

In what format when storing request and response? Raw binary data received from the sever.
Where to store? Database or file system? File system.
When to clean the cached data? Never. Put it to /tmp instead.
What should be used as identity for a request? URL or URL+METHOD (GET, POST, ...)
What if a timestamp or similar query string? Same cache entry.
How to turn on/off the cache gracefully? By choosing the cache implementation during the crawler setup.
How to manage the options for cache? The crawler config should consume already created and configured Cache object.
How to construct the code to keep it clean and simple? In the way I've described above.

Hopefully this will be helpful :)

Nice job! A few quick questions:

Binary data file is not human friendly, but it's fine
Fine
How about on Windows?

I'm looking forward to your pull request :)

In os.tmpdir()

Ineed I spend some time doing some open source contribution, I can add to my list :)

Aha, thank you so much!


ImportError: cannot import name 'keccak_384'

I just run a IOTA demo by python3.5  (pyota==2.0.5), but its an error as follow in picture. However I can use python2.7 to run that demo.

How can I fix this error?
Thanks

Hey @xzcccc .  Were you able to resolve this issue?  Do post back if there's anything that we can assist with (:

@todofixthis Sorry for closing without comment. I solve this issue by:
pip3 uninstall sha3 && pip3 install pysha3

Ah.  Good catch!  Thanks for posting your solution!!


Expose more methods to configure Bar behavior

I can't find a way to call the following from XF project:
// Disable the left bar on tablets and behave exactly the same on mobile and tablets instead.
_bottomBar.NoTabletGoodness();

// Show all titles even when there's more than three tabs.
mBottomBar.UseFixedMode();

// Use the dark theme
_bottomBar.UseDarkTheme();

// Set the color for the active tab. Ignored on mobile when there are more than three tabs.
_bottomBar.SetActiveTabColor("#009688");

// Use custom text appearance in tab titles.
_bottomBar.SetTextAppearance(Resource.Style.MyTextAppearance);

// Use custom typeface that's located at the "/src/main/assets" directory. If using with
// custom text appearance, set the text appearance first.
_bottomBar.SetTypeFace("MyFont.ttf");

Any word on this?

See my latest PR :-)

@Korayem @bennoffsinger Are your needs satisfied by @escamoteur 's PR?


[1.19.2] Another Jade error (NoSuchFieldError: component)

This one seems to be distinct from the other one.

Jade error output:
08/30/2023 - 18:43:28
ht.treechop.compat.Jade@6f50cefe
java.lang.NoSuchFieldError: component
	at TRANSFORMER/treechop@0.18.4/ht.treechop.compat.Jade.changeBlockName(Jade.java:70)
	at TRANSFORMER/treechop@0.18.4/ht.treechop.compat.Jade.appendTooltip(Jade.java:41)
	at TRANSFORMER/jade@8.9.0/snownee.jade.impl.BlockAccessorImpl._gatherComponents(BlockAccessorImpl.java:120)
	at TRANSFORMER/jade@8.9.0/snownee.jade.overlay.WailaTickHandler.tickClient(WailaTickHandler.java:160)
	at TRANSFORMER/jade@8.9.0/snownee.jade.util.ClientPlatformProxy.onClientTick(ClientPlatformProxy.java:138)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:260)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:252)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
	at TRANSFORMER/forge@43.2.21/net.minecraftforge.event.ForgeEventFactory.onPostClientTick(ForgeEventFactory.java:839)
	at TRANSFORMER/minecraft@1.19.2/net.minecraft.client.Minecraft.m_91398_(Minecraft.java:1852)
	at TRANSFORMER/minecraft@1.19.2/net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1078)
	at TRANSFORMER/minecraft@1.19.2/net.minecraft.client.Minecraft.m_91374_(Minecraft.java:700)
	at TRANSFORMER/minecraft@1.19.2/net.minecraft.client.main.Main.m_239872_(Main.java:212)
	at TRANSFORMER/minecraft@1.19.2/net.minecraft.client.main.Main.main(Main.java:51)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at MC-BOOTSTRAP/fmlloader@1.19.2-43.2.21/net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
	at cpw.mods.bootstraplauncher@1.1.2/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141)

Seems like that field is called text now, not component

Im having this same issue

You will probably be able to solve the issue by going to an older version of Jade, but I haven't bothered seeing which version yet. If anyone finds the version, let us know in here, since I don't know if the author is going to want to fix an old version (the bug is fixed in 1.20)

Hey, I'll get it fixed. 1.19.2 treechop is a lot more popular than 1.20 at the moment, and I've got other bug fixes coming out, so it's no trouble

Oh that's amazing, thank you so much!

You will probably be able to solve the issue by going to an older version of Jade, but I haven't bothered seeing which version yet. If anyone finds the version, let us know in here, since I don't know if the author is going to want to fix an old version (the bug is fixed in 1.20)

Downgrading to Jade 8.8.1 for Forge 1.19.2 solve this issue for me, it start to happen from 8.9.0.


Default Value for RoborazziOptions.CompareOptions.changeThreshold Should Be 0

During our testing with the Roborazzi library, we noticed that tests were passing even when there were noticeable differences between the images being compared. This behavior can lead to false positives in our test results.
#179

If you have any opinions or concerns about this change, please let me know. As long as I'm managing the changes with a value of 0 in the CI, I believe there shouldn't be any issues.

Is there anyone who experiences the symptom of a diff being displayed in compare even though there appears to be no change in the screenshot and there is no actual change in the code?

@ParkJong-Hun Thank you. Roborazzi utilizes color pixel data. Therefore, I believe you can compare the highlighted color of the pixel, where Roborazzi identifies it as a red pixel.

I have the exact same issue: neither code change nor visual diff from screenshots. Could you please tell me how to compare highlighted color of pixel from *_compare.png that was generated? Is there a tool I can use? Thanks.

@hellohj Thanks.

I have the exact same issue: neither code change nor visual diff from screenshots. Could you please tell me how to compare highlighted color of pixel from *_compare.png that was generated? Is there a tool I can use?

I sometimes use Mac's Preview to cut out original images and paste them next to the new images for comparison.

Also, this issue seems to occur in CI only. Do you have any ideas on why? Thanks.

It depends on where the problem occurs. You can refer to this article for more information.
https://medium.com/@takahirom/how-to-solve-flaky-robolectric-and-roborazzi-tests-5731e55581cd

Thanks for answers. Although I am spending a few hours today, I still can't figure out anything much.
The test only fails for screens in dark mode in CI. This is one of compared files. Sorry for asking again, but I am out of ideas.

@hellohj
May I ask if the environment is the same when you are recording and verifying?

That's a great question. Recording is done from a developer's laptop (macbook pro M1 max) and uploaded to our git main. Then, the verification happens in CI in each PR. CI machine is linux.

@takahirom Would you suspect our differences on OSs may cause this issue?
We also have Paparazzi in CI and don't have any issues although a method of capturing is different. The issue is currently blocking us to enable Roborazzi in CI unfortunately.

@hellohj
You can refer to this comment. I think this issue can currently be a tradeoff of Roborazzi.
https://github.com/android/nowinandroid/issues/1242#issuecomment-2032962982

Thank you so much for the link. It's unfortunate, but there is nothing much we can do at this point. My team will figure things out. Thank you for your support for a while.

We had a similar problem and now we do the recording also in CI with a github action for updating the baseline


Well typed T::Enum serialized values

Problem

Quite often I work with T::Enum to get all the nice benefits it provides over plain strings/symbols, however at the point where I'm translating between some boundary which doesn't support rich types, I call .serialize. This is not great because currently .serialize returns T.untyped and in 99% of cases the value is of a single type (for me most often strings). I'm wary of any T.untyped code and would like T::Enum to be more strictly typed.
Proposed solution

We probably would need to introduce a new T::Enum to make migrating easier. This new enum class could leverage generics to narrow down the serialized value type.
class MyEnum < T::TypedValueEnum
  Value = type_template(fixed: String)
  enums do
    Foo = new('foo')
  end
end

T.reveal_type(MyEnum::Foo.serialize) # => String

Hopefully migrating via code mod would be pretty straight forward as most enum values are literals or constants and thus easy to resolve a type for. We would eventually make T::TypedValueEnum the default and make the current T::Enum an T::UntypedValueEnum (naming bike-shed required).

We already use a type alias for this internally:
https://github.com/sorbet/sorbet/blob/a84ad5d0782da94288c4da7d9452960eaa649d02/gems/sorbet-runtime/lib/types/enum.rb#L46-L48
Detecting a type to write there is not the hard part, the hard part is migrating the code downstream. Though I suppose that we could always do the codemod to insert
SerializedVal = type_template(fixed: T.untyped)

to effectively get the behavior that we see today. Ideally, this would be done with an autocorrect in Sorbet, because this will be a backwards-incompatible change.

Further context from Slack:

Jeff Carbonella
We got bit recently by the fact that T::Enum#serialize returns T.untyped. I noticed that you can override the SerializedVal ( https://github.com/sorbet/sorbet/blob/5391932c5e765a94813f928b1195787c847ff761/gems/sorbet-runtime/lib/types/enum.rb#L47) to be whatever your type is, which has the downsides of needing to know about it and also potentially becoming stale.
I was wondering how difficult it would be (if even possible) for sorbet to derive the type from the “enums” definition by looking at the right hand side
I was thinking of trying to tackle this and was wondering if you had thought about it before and had suggestions on an approach. My naive approach was going to be:

in the current TEnum.cc rewriter, gather the args passed to new('HERE') (if none, assume string)
add a SerializedVal that's an alias for either a single type or a T.any if the args we gathered contained varying types

That being said, this feels like it should be using a fixed generic. I'm thinking maybe it's not because that would force all subclasses to define that type. Maybe if we can automatically rewrite the generic type we could make this use generics?

jez
it absolutely should be fixed using a generic, but it's annoying for a number of reasons

the child classes would have to redeclare it, as you mention
you actually need both a type_member and a type_template, and they both have to say the same type. there is no way in sorbet to enforce this

(1) is probably fine if we build an autocorrect to add it, and maybe a rewriter pass to infer it as you mention.
(2) is hard. there's a doc internally that vaguely describes a fancy type system feature we could build that would in turn allow building this change with only one generic type, but it is ill defined at the moment and requires more thought
As far as the type alias idea you describe, i don't think it it's actually as simple as you describe.
→ View on sorbet.run
am i misunderstanding that you think that it's enough to redefine TypeAlias in a child class of T::Enum and hope that it will affect how sorbet typechecks the parent? that's not how sorbet works statically, and that is intentional. This is supposed to be handled by generics, because there are safeguards built into generics to ensure that these type-based overrides in child classes are compatible with any types in the parent class.
It's also worth noting that it's not necessarily possible to infer the type, because people can currently write arbitrarily complex expressions inside the serialized values, and sorbet's rewriter pass executes before sorbet's inference pass
To top it all off, I have looked in the past at how much it would take to migrate Stripe's codebase to have a typed SerializedVal. I was the person who added that type alias for documentation purposes when I extracted T::Enum out of Stripe's codebase (it used to exist as an internal data structure called Opus::Enum with slightly different syntax powered by our internal autoloader framework)
Before committing to a public API, I wanted to see if I could ratchet serialized value down, and discovered that it was so widely misused already that I couldn't migrate in any reasonable amount of time.
The only things that I think would make it tenable are the autocorrect to add a type member, the optional rewriter pass to infer the type member if statically possible, and the fancy generic feature so that only one type member is required, not a type member and a type template
I do appreciate the enthusiasm for this problem, and I definitely can't stand that it's like this, but unfortunately it's not in my opinion something that is easily fixable


New releases

@yas375 What's the current policy of creating new releases? I'm looking forward to see the recent changes in a new official version of the pod.

I don't have a strict opinion on this. Are there a lot of people who wants to see a release?
Also reminding that if you are using CocoaPods you can easily reference to any commit. For example current latest commit on master: pod 'FormatterKit', :git => 'https://github.com/mattt/FormatterKit.git', :commit => '96401b2'.

I want to see a release, let's see how many people will up vote this :)
At the moment I'm just referencing a commit in my Podfile. Using releases is a better solution for CocoaPods users since it (usually) guarantees that the pod is in a stable state.

+1

I'd at least like to see a release that gets rid of the deprecated address book stuff.  Is anyone else working on a pull request for that aspect?  If not, I can start working on one...

+1

+1

Ok-ok :) I've asked Mattt to grant me permissions to submit new releases to CocoaPods trunk :)

Ok-ok :) I've asked Mattt to grant me permissions to submit new releases to CocoaPods trunk :)

Thanks! :tada:

I have an access to submit a new release to cocoapods. I expect to do it in next couple days. I want to verify and fix if needed a few issues related to CocoaPods (#177, #182, #161, #158) before the release.

1.8.1 is out!


[Admin] list invalidblock entries

Currently if an invalid BTC block is detected the site will show an alert, but the alert can only be removed via the ruby console.

Done in 66effa661ea7553bfb0a53d06fea21746f88d825 (etc)

@BitMEXResearch an invalid block notification can now be removed from the site by clicking Dismiss:


Added optional logout notification

Alerts when the 20 sec logout timer starts when you have been AFK for 30 min, can be very useful for very long solo shuffle q's

Thanks for the input. I like this change.


[tx] Support opening and migrating V1 SQL schema stores

For simplicity, #170 supports only creating a fresh V2 SQL schema store (and, I suppose, opening it again).
This ticket tracks doing the little bit of work to migrate a V1 SQL schema store forward to V2.

Notably one needs to:

Bump part range:

https://github.com/mozilla/mentat/blob/master/src/common/datomish/sqlite_schema.cljc#L158

Transact the new data:

https://github.com/mozilla/mentat/blob/master/src/common/datomish/db_factory.cljc#L84

Concur on closing this as WONTFIX, @ncalexan? Let's just ship 0.1 with its own starting schema version.

Sure, that's certainly less work :)


Example of "subscribe_attribute" message?

It would be nice with an example of the "subscribe_attribute" message.
What is the syntax of the attribute_path?

I connected the dots and found that the format is (for subscribing to a temperature measurement):
{
"message_id": "4",
"command": "subscribe_attribute",
"args": {
"required_schema": 1,
"node_id": 1,
"attribute_path": "1/1026/0"
}
}
This results in the following messages:
{
"event": "attribute_updated",
"data": [
1,
"1/1026/0",
2363
]
}
What controls how often messages are received for updates?

Example provided


404 on multi-server setup

Hi, I have a 2-server setup running OHS (Oracle HTTP Server). Instead of trying to install mod_pagespeed in OHS (which would work since it's an apache fork) and getting Oracle mad at me, I put an nginx server in front of it as a reverse proxy. This also works out well for the future, where we're looking at replacing OHS with nginx entirely.
This worked fine at first but as soon as I started 2 servers up, some optimized resources started giving 404 errors. I was already worried about this, because it makes sense that it could happen. My load balancer doesn't have sticky sessions, so the request for the actual resource, say, an image, will be served by a different server than the request for the html that triggered it. And this server might not have this resource in its cache, so it would 404. And the 404 is intermittent which further supports my theory.
I'm thinking the solution here is to have a shared cache, but I was hoping to confirm that this is needed before I build it. And if it is, what would be the appropriate solution? Shared file-system? Memcached?
I can also post my config if you think it's necessary.
Thanks!

A shared cache should not be necessary as resource URLs encoded by one of
your servers should be decodable by the other.  Pagespeed was designed for
your use case.
Can you give an example URL that is 404ing?  We should be able to break it
down and figure out why.
You might want to use a shared cache for performance reasons...so that
images optimized on one server don't need to be reoptimized on the other.
But let's debug your 404s before optimizing.
Josh
On Oct 31, 2016 6:54 AM, "Gustavo Maia"<EMAIL_ADDRESS>wrote:

Hi, I have a 2-server setup running OHS (Oracle HTTP Server). Instead of
trying to install mod_pagespeed in OHS (which would work since it's an
apache fork) and getting Oracle mad at me, I put an nginx server in front
of it as a reverse proxy. This also works out well for the future, where
we're looking at replacing OHS with nginx entirely.
This worked fine at first but as soon as I started 2 servers up, some
optimized resources started giving 404 errors. I was already worried about
this, because it makes sense that it could happen. My load balancer doesn't
have sticky sessions, so the request for the actual resource, say, an
image, will be served by a different server than the request for the html
that triggered it. And this server might not have this resource in its
cache, so it would 404.
I'm thinking the solution here is to have a shared cache, but I was hoping
to confirm that this is needed before I build it. And if it is, what would
be the appropriate solution? Shared file-system? Memcached?
I can also post my config if you think it's necessary.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pagespeed/ngx_pagespeed/issues/1309, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AB2kPXefNbiSRm_1_ztexHQMnEM6VV7Hks5q5cjrgaJpZM4Kk5BL
.

Alright, awesome. Unfortunately, in order to avoid ongoing issues with our site, I've rolled back the change. I'm in the process of spinning up a set of machines + load balancer on the side in order to test this without impacting my users. If I can reproduce the issue on these, I'll post an URL.
Thanks!

Okay, I'm back. I've got an URL, but it needs to have its IP address fixed in you local machine's hosts file. I need this because this application can only be accessed via one URL and will redirect any requests that arrive with other URLs to the "correct" URL.

Let me know if the hosts file solution is unacceptable, I can try to rewrite everything via nginx just to make this work with a different URL.
Now to some analysis, it really does seem to be related to having more than one node running.
This particular site has 2 webserver machines.
If I leave just one up (doesn't matter which one), it seems to behave ok.
If I start both of them, I start seeing the 404s almost immediately.
Thanks!

We've updated the IP address, it is now <IP_ADDRESS>
Feel free to test using this IP now. Remember that you have to set it at your hosts file.
Thanks

Just a quick update, sharing the filesystem via nfs or configuring pagespeed to use memcached solved our 404 problem.
It's probably worth pointing out that in my configuration, nginx is serving as a reverse proxy for the actual servers. Maybe this has something to do with it?


Test with rbx-2 on Travis-CI

Using rbx-2 is the recommended way to test with the 2.0 branch of Rubinius.

That's odd.  It tested fine locally.  I'll investigate why it couldn't find Minitest...

should add jruby and 2.2 while you're in there


Fix napoleon handling of numpy docstrings with no explicitly provided return type

If there is no explicitly provided return type, napoleon will incorrectly parse the entire return type explanation. It can be fixed by inserting a line with a single colon at the beginning of the returns section.

Done.


Tablesort

Hello,
I was searching for the tablesort(plugin) but can't find it in the dist folder. Is it an idea to add the plugin also in the dist folder, or am i missing something?
As far as i know are my only options to manually download https://semantic-ui.com/javascript/library/tablesort.js or use this directly, not preferable for me.

From the docs:

Adding the class ascending or descending to the th will show the user the sorting direction. This example uses a modified version of the kylefox's tablesort plugin to provide the proper class names. To make sortable tables work, include this javascript into your page and call $('table').tablesort() when the DOM is ready.

https://semantic-ui.com/collections/table.html#sortable

@ColinFrick I know how to use it.
But i want to know how to include it my project properly. The file is not shipped with semantic ui as far as i know and not available at the npm registry.
Also i can not use the original "kylefox's tablesort" plugin as semantic ui uses a modified
version of this.

Include this javascript file.

@ozzywalsh I know that i must include that file.
But when i install Semantic ui with NPM i assume the file is included in the semantic folder, but it isn't.
Alternatively it is handy to install this 'plugin' separate with NPM.
For the people that don't know what i am talking about:
NPM is a command line tool that could be used to keep all your dependencies up to date, so if semantic ui gets updated i don't have to download it manually. And my question is that this plugin should be managed at the same way. Hope this make something clear...
This is definitely not a usage question but more a feature request.

Why was this closed?  Is there still no way to include this feature through a package manager?

I would like to know this as well.


Use Dev JS in development environment

Hi, How can I include and use javascripts in dev folder instead of using compressed app.js?
It takes quite a lot time to compile the scripts every time.

./data/.../application.ini
[labs]
use_app_debug_js = On
use_app_debug_css = On

Thanks.
How to develop plugins on real time? It seems there is a cache in data folder.

[labs]
cache_system_data = Off

Thanks


Qualifcations for being a CNA

Review and discuss criteria for becoming a CNA, to include mergers and acquisitions, and other criteria, including motivations and intent to overly abuse or misuse CVE.

Covered in draft2-working <IP_ADDRESS> to some extent.


Add FantastMarco's file

I just started can I have help with the basics? What should I start with?
I have a bit of code done just I don't know how to get my own charecters.
How to get more describtion it does not let me through to the next task? Can someone please help?

Can someone please help?

It Works! yay


LCID e Multiarray problem

You should fix:
actualLCID = Response.LCID to actualLCID = Session.LCID

I think there's an issue with multidimensional array, for example:

Dim jsonObj
set jsonObj = new JSONobject
Dim qa(2,1)
qa(0,0) = "Question1"
qa(0,1) = "Answer1"
qa(1,0) = "Question2"
qa(1,1) = "Answer2"
qa(2,0) = "Question3"
qa(2,1) = "Answer3"
jsonObj.add "QA", qa
jsonObj.write
The result is: "Subscript out of range: 'j'" on public function serializeArray(byref arr)

Hi.
The LCID is intentional. Wherever you set the LCID, it will always be available through the Response object.
I'll take a look at the multidimensional array soon.
BTW, have you tried the multidimensional array on the test.asp page?

Olá Ricardo,
Sim eu entendi o uso do LCID mas a obtenção penso que deve ser efetuada através de Session.LCID e não de Response.LCID como está a ser feita.
Os arrays multi dimensionais, penso que tem mesmo um problema no ciclo for.
Aproveito para deixar os parabéns pelo excelente trabalho!.
Cumprimentos
Luis Abreu

Hello Ricardo,
I understood the use of the LCID, but I think you should use Session.LCID and not  Response.LCID to get the code.
The multidimensional arrays have a problem in the refereed function, during the for cicle.
Thanks and congratulations for the excellent job.
Regards
Luis Abreu

Hi Luis.
I'm Brazilian as you may know, but I prefer to write in English so everyone that come to this page with the same doubts and problems can understand it.
I can set the Response and Page LCID without setting the Session.LCID property. There is a chain of value inheritance in Session > Page > Request. I choose to use Request as it will always have the LCID value, independently of it being set on Session or Page level.
I still got no time to try the multidimensional array code.
Do the multidimensional array example in test.asp page work for you? (set testAdd = true to see it working)
Thank you very much.

Hello,
I've tested the test.asp and it works, but try to change redim multArr(1, 1) to redim multArr(2, 1) and it crashes. As far as I could see, if the array don't have with width and length it crashes.

Sorry for taking so long to answer.
I'll work on this soon.

Thank you.

From: Ricardo Souza<EMAIL_ADDRESS>Sent: Thursday, February 15, 2018 6:06:32 PM
To: rcdmk/aspJSON
Cc: vicedriver; Author
Subject: Re: [rcdmk/aspJSON] LCID e Multiarray problem (#45)
Sorry for taking so long to answer.
I'll work on this soon.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frcdmk%2FaspJSON%2Fissues%2F45%23issuecomment-366012140&data=02|01||e14ee6a6e2f5434f69c008d5749ed9ae|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636543147956474312&sdata=PmjkteDAI8YAV2pcwtLFVyzhNQowDcipd63pPrjrxCI%3D&reserved=0, or mute the threadhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAbgXctLOgi28tRVq24h2J_WVtsM7XocGks5tVHIogaJpZM4NhnMZ&data=02|01||e14ee6a6e2f5434f69c008d5749ed9ae|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636543147956474312&sdata=y%2FitfGjK5vWnIPkc3zNGt%2FLA1SfcC8CzOC9ldxRcVj8%3D&reserved=0.


[Feature] Metadata to classify providers

Problem
While we don't want the current frontend design of cc search to lead our api design, we currently hardcode classifications of the providers in cc search, and would like to consider adding a mechanism to do this via the api. The only current categories are 'museum' and 'other', but this may be extended in the future, especially as our number of sources grows.
Description
Implement a category system for sources in the database. Could be a single category or multiple depending on the final requirements.
Implementation

[ ] I would be interested in implementing this feature.

Who classifies new content sources when they are added to our database, and how? Do we want this to be configurable through the content provider interface? @annatuma @kgodey

we don't have an answer yet, this will depend on the design work that @annatuma and @panchovm are doing on sources/collections and may take a while. we'll update the issue once there are more details.


[Bug] File downloaded message notification is received per source

Describe the bug
[Bug] File downloaded message notification is received per source
To Reproduce
Steps to reproduce the behavior:

Finish downloading a file in surge which has multiple source, you will get a download completed notification per source.

fixed in 0.2.2-beta


Make 'Rect' a 'constexpr' class

Description
This PR turns sf::Rect into a constexpr-friendly class, and also provides a few more improvements:

Removes dependency on <algorithm> from a widely used header, improving compilation time

Some other headers were relying on transitive includes from Rect.hpp, so they have been fixed

Removes unnecessary sf:: qualification when referring to Vector inside Rect

Tasks

[ ] Tested on Linux
[x] Tested on Windows
[ ] Tested on macOS
[ ] Tested on iOS
[ ] Tested on Android

How to test this PR?
CI.

Maybe before commenting on constexpr for Rect and Vertex in particular:
We have guy who put in all the effort at the beginning of the year in https://github.com/SFML/SFML/pull/1741 and even split the commits by class. I know his PR might not be ready-to-use now, but I'm not too happy about telling him we still need to discuss the topic, and then later rewriting everything without him, with no single credit. This could make him reconsider future contributions, and rightfully so.

Maybe before commenting on constexpr for Rect and Vertex in particular:
We have guy who put in all the effort at the beginning of the year in #1741 and even split the commits by class. I know his PR might not be ready-to-use now, but I'm not too happy about telling him we still need to discuss the topic, and then later rewriting everything without him, with no single credit. This could make him reconsider future contributions, and rightfully so.
What we could do is take his commits (under his author), perform the necessary changes and add Signed-off-by: clause in the commit message.

Thanks for bringing this up, I do believe it is an important thing to consider.
I'm totally happy for @fgallegosalido to take the credit for these changes, which are pretty much the same as the ones he contributed back in #1741. I am not sure what the easiest way to achieve that would be, but I also don't really feel like dealing with git cherry-picking and rebasing before we can merge these changes in.
Is it possible to force-change the author of a commit? I'd be fine with changing the authorship of my commit to @fgallegosalido. Alternatively, if he is fine with it, I'd also propose simply adding "Originally contributed to @fgallegosalido" to these commits or something alongside those lines to avoid any git-related pain/maintenance.
Let me know what you think.

An alternative would be a Co-authored-by: clause in the commit message. The semantics are a bit different: this means that multiple developers authored a change, while Signed-off-by: means that one person authored it and another "signed it off", i.e. adjusted it to latest master, made minor corrections etc. "Sign off" could also have the literal meaning of just approving it.
Maybe @fgallegosalido sees this himself and can tell us what he prefers? Otherwise I'd say we go with one of those two clauses (they are "official" in the sense that GitHub and other tools can parse them).

Thank you @fgallegosalido!
@vittorioromeo: In that case, it's probably easiest if you leave this PR as-is and simply change the commit message to include:
Co-authored-by: fgallegosalido<EMAIL_ADDRESS>
I'll try to review the technical parts later today 🙂

Added! :)

I also think we can close #1741, as these wave of changes are much more complete than what I did back then. Thank you @vittorioromeo for your contributions! We all wanted SFML to be modernized ^.^

@Bromeon: ping :)


Upgrade to elm 0.19

Without Elm 0.19 compatibility, elmstatic won't be able to work with elm 0.19, either. See https://github.com/alexkorban/elmstatic/issues/2. This affects the future viability of these projects, especially as Elm 0.19 is now the default version in a lot of distros.

Big +1 to this. There's ThinkAlexandria/elm-static-html, which could pretty easily be ported to this package as well, but frankly that doesn't seem like the ideal way to integrate this workflow into Elm 0.19 workflows. It would be good to have some input from someone active in the community on the subject of static elm generation, imo.

If this library is no longer maintained, maybe this repo could link to ThinkAlexandria/elm-static-html ?


Add support for doctests when using pytest

Environment data

VS Code version: 1.35.0-insiders
Extension version (available under the Extensions sidebar): 2019.4.12954
OS and version: windows/wsl
Python version (& distribution if applicable, e.g. Anaconda): anaconda
Type of virtual environment used: conda
Relevant/affected Python packages and their versions: pytest=4.4.1

Expected behaviour
I would like test discovery to find doctests as well as unit tests and populate the Test Explorer with them.
Actual behaviour
Currently, doctests are not discovered.
Steps to reproduce:
See this example repo.

Note: This doesn't work today because of the string parsing, the code doesn't recognise <DocTestModule.
Here's the stdout:
collected 4 items
<Package /..../test-pytest-doctest-discovery/example>
  <DoctestModule example.py>
    <DoctestItem example.example.example_func>
  <Module test_example.py>
    <Function test_example_func_str>
    <Function test_example_func_int>
    <Function test_example_func_float>

Closing in favour of #5458


The POH smart contract calls might reach the limit

Context
The call to POH smart contract is currently done via infura using the same key for all nodes. The infura free plan is limited to 100,000 requests a day that implies that the current implementation will reach the limit, even for a single node.
This limitation can be solved in several steps:

Force users to provide their own infura key (this issue)
Create an extra light Ethereum node (see #141)
Integrate Ruthenium own POH smartcontract (see #213)

[x] Add a program argument for the infura API key
[x] Use it to call the POH smart contract
[ ] Replace infura key
[ ] Use websockets

This issue might be the opportunity to use websockets to call the smart contract:
const pohSmartContractAddressHex = "0xC5E9dDebb09Cd64DfaCab4011A0D5cEDaf7c9BDb"

type Registry struct {
	clientUrl string
}

func NewRegistry(infuraKey string) *Registry {
	clientUrl := fmt.Sprintf("https://%s.infura.io/v3/%s", "mainnet", infuraKey)
	return &Registry{clientUrl}
}

func (registry *Registry) IsRegistered(address string) (isRegistered bool, err error) {
	client, err := ethclient.Dial(registry.clientUrl)
	if err != nil {
		return
	}
	pohSmartContractAddress := common.HexToAddress(pohSmartContractAddressHex)
	proofOfHumanity, err := NewPoh(pohSmartContractAddress, client)
	if err != nil {
		return
	}
	isRegistered, err = proofOfHumanity.PohCaller.IsRegistered(nil, common.HexToAddress(address))
	if err != nil {
		return
	}
	return
}

protect infura key by restrciting origin if possible... see https://community.infura.io/t/status-code-403-forbidden-not-allowed-invalid-origin/7000


import SelectCurrency from '.../src'

import SelectCurrency from 'react-select-currency'
import SelectCurrency from '.../src'

which one is correct importing?

Is this issue not solved yet?


Fix flake8 and Improve Import

In this PR I suggest a change to avoid import *. I took as a model what  is done in TensorFlow Probability, see https://github.com/tensorflow/probability/blob/main/tensorflow_probability/python/sts/init.py
I also modified the notebooks accordingly.
@xinglong-li Would you mind taking a look into it :)

Note that the CI is green: https://github.com/juanitorduz/sts-jax/actions/runs/3839857634/jobs/6538188843
To run the CI flow you need to approve it. See step 5 in https://github.com/juanitorduz/sts-jax/actions/runs/3839857634/jobs/6538188843

I think including module loading inside the init file is the right solution, which maintains a user-friendly api and avoids code like from file import *. Thanks!

LGTM! Thank you.


.gitattributes: Add extra export-ignore entries

Thanks, but 1.x is in security fix mode, only.

Doesn't seem to be documented as such... https://github.com/guzzle/psr7/blob/master/README.md

It's not documented there then, it's a level deeper.

It's in the standard location for this, also accessible via the security tab.

Hope this makes the situation cleaner: #496
TBH @GrahamCampbell I don't see why we couldn't accept this patch. It doesn't change any behavior in code, just makes the packaging process a bit cleaner. My two cents.

Would be no point. I don't plan to ever do another 1.x release, unless there is a security requirement to do so, so the change would never get used by people using stable versions.

I see. Yeah, I guess that's a good point.

And then there was the 1.9 release :)

Yeah, I know. But if this had been merged, it would've also got released as a side effect.


Test ipv6 endpoint parsing

What does this PR do?
Adds tests for parsing endpoints using ipv6 addresses, valid and malformed (since dd-trace-rb somehow generates the malformed one).
Motivation
Debugging a crash in dd-trace-rb when agent host is set to ipv6 address
Additional Notes
Anything else we should know when reviewing?
How to test the change?
Unit tests are added, there is no change in code

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 71.00%. Comparing base (31fc0c3) to head (091bcb8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #809      +/-   ##
==========================================
- Coverage   71.02%   71.00%   -0.02%
==========================================
  Files         313      313
  Lines       45875    45881       +6
==========================================
- Hits        32581    32579       -2
- Misses      13294    13302       +8

Components
Coverage Δ

crashtracker
38.25% <ø> (-0.03%)
:arrow_down:

crashtracker-ffi
5.71% <ø> (ø)

datadog-alloc
98.73% <ø> (ø)

data-pipeline
92.06% <ø> (ø)

data-pipeline-ffi
90.54% <ø> (ø)

ddcommon
82.36% <100.00%> (+0.04%)
:arrow_up:

ddcommon-ffi
65.77% <100.00%> (+0.24%)
:arrow_up:

ddtelemetry
59.51% <ø> (ø)

ddtelemetry-ffi
22.46% <ø> (ø)

dogstatsd
89.46% <ø> (ø)

dogstatsd-client
79.77% <ø> (ø)

ipc
82.76% <ø> (ø)

profiling
84.31% <ø> (ø)

profiling-ffi
77.55% <ø> (ø)

serverless
0.00% <ø> (ø)

sidecar
40.56% <ø> (ø)

sidecar-ffi
1.18% <ø> (ø)

spawn-worker
54.37% <ø> (ø)

tinybytes
93.60% <ø> (ø)

trace-mini-agent
72.71% <ø> (ø)

trace-normalization
98.23% <ø> (ø)

trace-obfuscation
95.77% <ø> (ø)

trace-protobuf
77.67% <ø> (ø)

trace-utils
93.81% <ø> (ø)


Replace 'log' with 'logEvent' in mprans module.

This PR corrects a bug introduced in PR #402 which did not update the log to logEvent in the mprans module.

It might conflict with https://github.com/erdc-cm/proteus/pull/397 when eventually merging both pull requests with master because of proteus/mprans/BoundaryConditions.py that has been moved to proteus/mprans/BoundaryConditions.pyx on that branch.

@tridelat : Thanks for bringing this up.
So I just merged this branch into #397 and resolved the conflicts.  I didn't seem too bad because it just involves removing a file and updating the new file.
I think the best way to resolve this will be to wait until this branch is merged into master.  Then I will merge master into #397, resolve the conflicts and push the merged version to origin/cython_BoundaryConditions.
What do you think?

That should work. Worst case we just fix logEvent in the latest  BoundaryConditions.pyx from @tridelat .


Running with npx causes confusing output

With a project local install of now when I run npx now <cmd> the first line output is null. This does not happen when running ./node_modules/.bin/now.cmd
I'm on Windows

This only seems to be the case on Windows!

Typical!! :)
Do you think is an upstream issue? I do not see it with other commands

We should definitely fix this!

Closing because I can not reproduce this. Let us know if this is still occurring for you and we will take a closer look.


Implement @pattern on string shapes

Motivation and Context
Part of #1401. Completes #1967.
Description
Implements the @pattern trait on string shapes:
@pattern("^[a-z]$")
string lowerCaseAlphaString

Testing
Added tests for @pattern in ConstrainedStringGeneratorTest.kt.
Checklist

[x] I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@david-perez I've created an issue for the @pattern + @length case here: https://github.com/awslabs/smithy-rs/issues/2013.


[AutoPR iothub/resource-manager] changes to improve documentation of endpoint health statuses for routing

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5290

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/4084


Some webmention.rocks tests are failing

I tested this plugin with the validator at webmention.rocks and most tests passed!
But these tests failed:

Discovery test 23: https://webmention.rocks/test/23
Update test 2: https://webmention.rocks/update/2
Delete test 1: https://webmention.rocks/delete/1

(Originally published at: https://srijan.ch/notes/2023-11-03-002)

Thank you for noting.
I will have a look at the discovery test.
Both, update and delete, are missing features at the moment. They are on my list.


Can't login to Kubuntu 21.04 desktop, hangs after entering password.

Had howdy working for about a week with no problems, other than it failing to recognize me about 50% of the time because I only took two pictures of myself in the setup (I think something like a dozen is recommended). But this morning when I went to boot up my machine, after entering my password at the login screen (because it didn't recognize me) and hitting enter, nothing happened. I could still backspace and re-enter my password - I tried a dozen times or so and nothing. So I hit ctl-alt-f2 to go to tty2, and I was able to login fine there (and there the howdy face recognition worked, go figure). But after logging in with tty2, returning to the GUI login screen still prompted me to enter the password, so I was still stuck. When I tried going to ctl-alt-f7, I got a black screen with a blinking white text cursor that never changed.
After googling it, I tried updating all packages from tty2 - didn't help, and then running apt-get install ubuntu-desktop, just in case something had gotten screwed up there - also didn't help (always rebooted after each of these changes). Perplexed, I decided to run apt-get purge howdy, and lo and behold, when I rebooted, I was able to login fine.The only thing that changed with my configuration in the last few days would be regularly running apt-get update, so maybe an update with howdy yesterday broke something?

I've searched for similar issues already, and my issue has not been reported yet. (Didn't see anything after about 10 min of searching)
Linux distribution (if applicable): Kubuntu 21.04 (KDE)
Howdy version (sudo howdy version): 2.6.1

There have been no updates to Howdy at all this year so that can't be it. I think the issue is with your greeter. I've seen this issue a couple of times now where Howdy works fine in console but not on login for whatever reason. It's out of scope for this project and is caused by an improper PAM implementation within your greeter


Edgecase Squared: Cross-plasmachain replay attack

Currently we have users sign over the RLP-encoded tx.
If a user owns the same UTXO position on two different plasma chains and they spend the UTXO on one chain, a malicious receiver can publish the same transaction on the other chain and take both UTXOs.
Solution: User signs over the RLP-encoded tx as well as the rootchain smart-contract address.

Solved with changes to confirmationHash
Now: hash(txHash | block.root)


Timestamps of basic tasks

Adjust timestamp(::AbstractTarget) to use a cached timestamp or look at timestamps of dependencies.

Fixed by #8.

I'm reopening this as I don't like the way the logic is working with tasks having timestamps. I may revert to the old approach.

Hopefully PR #17 works better.


[Question] We want to use gorm as an implementation detail

We want our models to not have any details about gorm
We want to use gorm as an implementation of some ORM interface.
Could you please sugest how it can be done?
As with gorm we are seeing all the gorm related code are tied up to the models
type UserModel struct{
 Id int `gorm:"primary_key";"AUTO_INCREMENT"`
 Name string `gorm:"size:255"`
 Address string `gorm:"type:varchar(100)”`
}

We want to do this as it leads to a cleaner architecture and there is no dependency of any library for the project lifetime.

@alok87 did that answer your question?

Closing due to inactivity.


hadoop.security.authentication must be kerberos

Search before asking

[ ] I had searched in the issues and found no similar issues.

What happened
mysql  ->  hive
seatunnel 2.3.4
error  :
hadoop.security.authentication must be kerberos
SeaTunnel Version
2.3.4
SeaTunnel Config
keep secret because of project

Running Command
keep secret because of project

Error Exception
keep secret because of project

Zeta or Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I also encountered the same problem, did you solve it?

I have solved this problem, I found that in version 2.3.3 set this parameter, but in 2.3.4 did not set this parameter. So I modified their source code and modified it in the file with the path src/main/java/org/apache/seatunnel/connectors/seatunnel/file/hadoop/HadoopLoginFactory.java under the connector-file module. The modification is as follows


"?useskin=vector" still works without an account

Hi, so appending "?useskin=vector" still works without requiring an account. The same applies for Wikipedia (all MediaWikis?), so maybe you want to add some domains to the addon and re-put it in the addon-store?

Thanks for the heads up. I think I'll actually do a full rewrite, and release it as a different project with a broader scope.


cmd/compile: type assertion throwing false positive for darwin CGO

What version of Go are you using (go version)?
go version go1.10 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN="/Volumes/Storage/git/git/go_path/bin"
GOCACHE="/Users/liam/Library/Caches/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Volumes/Storage/git/git/go_path"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.10/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.10/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/xx/mdt3785n0js3yrk67_ftskdr0000gn/T/go-build744503608=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
Trying to compile CGO code on darwin that makes calls to C functions, it would compile correctly on go 1.9.2 but now fails to build on go 1.10
What did you expect to see?
A successful build
What did you see instead?
# command-line-arguments
./main.go:150: cannot use *_Cvar_kCFRunLoopDefaultMode (type _Ctype_CFStringRef) as type *_Ctype_struct___CFString in argument to func literal
./main.go:157: cannot use *_Cvar_kCFRunLoopDefaultMode (type _Ctype_CFStringRef) as type *_Ctype_struct___CFString in argument to func literal

More information
I understand in go 1.10 there where changes made to how CGO is handled for darwin platforms, I did update some other parts of my code to comply with the new nil variable setting (val =0 vs val = nil) but this error doesn't seem to make sense.
The function being called is CFRunLoopRemoveSource who's third parameter accepts a type of CFRunLoopMode which is just a typedef of CFStringRef.
For the third parameter I am passing kCFRunLoopDefaultMode which should comply with the type matching as it has a type of CFRunLoopMode.
Example Code
https://gist.github.com/LiamHaworth/d50ce9167fe0377cd20d6585d77a70b4

To add to this, when a dummy function is specified in Go code with the name signature it compiles without a complaint.
func CFRunLoopRemoveSource(rl C.CFRunLoopRef, source C.CFRunLoopSourceRef, mode C.CFRunLoopMode)

The C signature is defined in the CoreFoundation library in this file https://opensource.apple.com/source/CF/CF-744/CFRunLoop.h on line 81

@ianlancetaylor

CC @randall77

@randall77 Would be nice to fix this for 1.11 if possible.  I hope that you have more state on this stuff than I do.

Dup of #24161


Fix broken link

Current coverage is 82.11% (diff: 100%)

Merging #515 into master will increase coverage by 0.10%

@@             master       #515   diff @@
==========================================
  Files            69         69
  Lines          1968       1968
  Methods        1828       1828
  Messages          0          0
  Branches        140        140
==========================================
+ Hits           1614       1616     +2
+ Misses          354        352     -2
  Partials          0          0

Powered by Codecov. Last update 3aa8db5...826a4c3

Nice catch(es)!