Problems when adding a subquestion to an existing question group

I'm currently experiencing several problems when trying to add a subquestion to an existing question group:

No open date or CP reveal time shown when adding a subquestion to an existing group question

Currently when I try to add a subquestion to an existing group question no option is shown for open date or CP reveal time. I'm able to add the subquestion, but I can't forecast on it, I think because the open date isn't set. In admin it looks like the open date field is blank.

After setting the open date in admin, it's showing a resolution diamond in the table next to it instead of a question mark or a CP

I also just set the CP reveal time 5 minutes in the future, and that hasn't removed the diamond, and after the CP reveal time passed it also did not change the diamond.
Here's the question I experienced the above issues on: https://www.metaculus.com/questions/28378/ with the "Nebraska (Class I)" subquestion being the one I added.

@ryooan I've just fixed the diamond behaviour, so you can publish newly created subgroup questions manually from the admin panel, so you're unblocked now

I'll add UX improvements early next week -- https://github.com/Metaculus/metaculus/pull/1071

@hlbmtc thank you! Will it break anything if I add a question on the front end and then set the close and cp reveal in admin afterwards?

Adding some context / related features from message with @hlbmtc :
Hlib:

Another question: do you wanna edit cp + open time fields just for newly added questions (right after you clicked “add subquestion” button) OR for all questions within a group?

Ryan:

Oh yeah, CP reveal time should be editable on all questions at all times (applies to non groups too). So I'd show it and allow it to be editable for all subquestions.
A couple ideals I think would be worth mentioning too, though totally defer to you on prioritization and feasibility, these are more feature requests, but want to mention in case it synergizes with what you're working on:

For group questions, it would be ideal to have an option to make the open and CP reveal dates set all at the same time. It's a pain in the approval window to set the open and cp reveal date for every subquestion. It used to be that when you clicked approve on a pending group question you got one open and cp reveal date and it applied that to all subquestions, then you could go in after if any needed to be customized. The most often case is that the open and cp reveal date should all be the same. The cases where that doesn't apply are usually ones like this, where the group is a container for questions spanning different time periods.

Similarly, when editing could be handy to have an override to change open and cp reveal, or maybe close and resolution dates too, all at once. This is less often needed though. The way I used to hack around this was if I needed to change the open and cp reveal date on a group question that was upcoming, I'd set it back to pending and then reapprove it which would set the open and cp reveal date all at once.

Like I mentioned editing the CP reveal date comes up pretty often on all questions, so would be great if that can be shown in the edit view for all questions. Currently CP reveal date isn't shown in the edit window on the front end.


Cut/Copy/Paste Functionality Issues in DRD View: DMN Editor Extension for VSCode (macOS)

Hi Team,
We are currently experiencing issues with the copy, cut, and paste functionality within the DRD View of the DMN Editor extension for VSCode on macOS. Standard keyboard shortcuts (⌘C, ⌘X, ⌘V) are not functioning as intended.
For your reference, we have attached steps to reproduce that can be used to replicate the issue locally in both the new DMN editor (main branch) and the older version (v0.26.0).
Copy/Paste issue From Keyboard Shortcuts (New DRD Viewer in main)

Copy/Paste From Edit Menu (New DRD Viewer in main)

Copy/Paste From Keyboard Shortcuts (Old DRD Viewer in v0.26.0)

Copy/Paste From Edit Menu (Old DRD Viewer in v0.26.0)

Related Issue Threads:

https://github.com/apache/incubator-kie-tools/pull/2292
https://issues.redhat.com/browse/KOGITO-8611

Just of the record: this issue is also reproducible in the BPMN editor.
This issue doesn't happen to copy/paste nodes.


Move timeout code to after a socket is assigned

In the old code the timeout was started when the request was queued, not when the
request was send to the server. If maxSocket option is set on an Agent,
the actual request might be send later. This is not what is suggested in the documentation.
Code to reproduce the problem can be found in this gist: https://gist.github.com/evanderkoogh/e7e94f036c7a7a6b8f29
I have moved all of the code related to setting up timeouts to self.req.on('socket'). This event is called when the request has been assigned a socket. After changing my local copy the code above runs perfectly now.

Is there any way to rerun that Travis check? It has a timeout on a test that reads from disk. I haven't changed anything related to that and all other environments are fine. Most likely an issue with the environment instead of with the code.


Update tinyxml2 to 5.0.0

Upgrade tinyxml2 to the newest 5.0.0. Crucial feature such as cmake config file is added.

@jasjuang,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Looks great, thanks for the PR!


[Feature]: Spotify or some music player embedding

🚀 Feature Request
📝 Feature Description
Does anyone wants to code a feature that will embedded some player in the site which user can use while study sessions.It will play some lo-fi music or soothing songs Randomly.

I am a newbie...but I would love to try this!

I am a newbie...but I would love to try this!

Sure Sure.

will take 2-3 days to learn this! please do not assign it to someone else!
I will tag if u i am not able to do this!
thank you!

will take 2-3 days to learn this! please do not assign it to someone else! I will tag if u i am not able to do this! thank you!

Okay.All the Best!!


Tests don't work on Windows

Got this email from a user:
Hi feross,

I have been looking at the WebTorrent library and I am interested in being a part of it. However I am having some issues getting set up.

This is on windows. Once I have clone the repo and I try npm install it runs but it doesn’t install everything.

I think ran a loop to loop thru the sub directories and run npm install on them.

I got that to work but when running npm test it doesn’t seem to be working correctly.

Output

C:\Users\Shavaunh\Documents\webtorrent>npm test

><EMAIL_ADDRESS>test C:\Users\Shavaunh\Documents\webtorrent

> standard && node ./bin/test.js

events.js:85

      throw er; // Unhandled 'error' event

            ^

Error: spawn npm ENOENT

    at exports._errnoException (util.js:746:11)

    at Process.ChildProcess._handle.onexit (child_process.js:1053:32)

    at child_process.js:1144:20

    at process._tickCallback (node.js:355:11)

    at Function.Module.runMain (module.js:503:11)

    at startup (node.js:129:16)

    at node.js:814:3

npm ERR! Test failed.  See above for more details.

Any help would be lovely

Thanks

Without doing any investigation, my guess is that tests don't work on Windows because we're using / instead of path.join all over the tests.

So i found the problem and solved it. Just needed to use path.resolve and also do child.spawn("node"...[CMD,....,...]
This is because a windows system doesn't use the shebang so it might not know how to execute a js file. Spawning using node and node will understand how to read this.
Small issue silly as it sounds, is i don't know how to send a pull request.

My curiosity got the best of me and I tried this out in a Window 10 VM:

It turns out this is a long-standing issue, but cross-spawn-async provides a workaround. I'll be submitting a PR shortly :)


Hero Card Component

https://www.figma.com/design/vzQz0IgCT37UxdEbgn1nPw/🌕-tbd-web---reviews?node-id=6085-14959&t=uyDR7JaRFJmmOXrv-4

[ ] Digital Backround (from  component)
[ ] Drop shadow in default state
[ ] Remove drop shadow in hover state
[ ] Text prop
[ ] Color theme prop (similar to TextIconCard component)
[ ] URL prop
[ ] Mobile designs

@dayhaysoos ok to close this? I made a new empty ticket for QA feedback.


bugfix

The legal hold API endpoints for listing memberships and matters were formatted a little differently such that they returned a list of items without additional data.  This was throwing an error in the get_all_pages() method.  Adjusting this method so that it will return the response data if a key is not provided fixes this.

CLA will fail because the target branch isn't main

CLA will fail because the target branch isn't main

I'm actually pretty sure that it's just failing all the time, there's something else going on with it.

I think the mocks in a couple of the legal hold unit tests do not currently reflect reality and this is making some tests fail.

Oops yeah I saw that, was in a meeting for a while but they should be good now


npm command doesn't execuit

https://developer.atlassian.com/blog/2015/11/scripting-with-node/

https://github.com/austincunningham/change_oc/pull/9


Extend the status check to the data_manager

At this moment one can only check the status of an import on the Sync Manager, which is strange because it should be possible to check the status of any import, both from local and remote resources. I mean once a local resource has been uploaded it should return the control and with the import identifier to be able to check the status for the rest of the process happening at the CARTO instance.

OK, I think this is a bit confusing but the DatasetManager is conceptually different from both SyncTableJobManager and FileImportJobManager.
The DatasetManager creates the jobs and deals with their state to return a Dataset instance or a CartoException. See this.
On the other hand, SyncTableJobManager and FileImportJobManager expose the state attribute because they return a job that you have to check its state to know when it finished/succeed/etc.
Maybe we should simply state this clearly on the docs?

Added proper documentation to explain the difference between DatasetManager and JobManagers.
Closing the issue.


Log Snippets  - Need name and location of log

Please add the name and location of the log(s) where the snippets are from

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

ID: 16a8126d-2552-97a3-6bb4-c24fd32ffc1f
Version Independent ID: 82afb372-5fee-e0c9-56b0-3e8276401e23
Content: How Windows Update works
Content Source: windows/deployment/update/how-windows-update-works.md
Product: w10
Technology: windows
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

@officedocsbot assign @mypil

@jandreacola - hank you for submitting feedback.
I will get this issue over to the Win10 ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@greg-lindsay - Can you please share your insights on this issue?
Thank you.

I'll add a link in here, but if you look to the left you'll see a topic immediately below this one in the table of contents called "Windows Update log files" that gives all that information.

@jandreacola - From our understanding, the issue you raised has been answered by greg-lindsay. If you feel it hasn't been answered, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

@officedocsbot close


feat: track dynamic request data

Fixes #21

Codecov Report

Merging #27 (9a70183) into main (b1263de) will increase coverage by 0.62%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
+ Coverage   93.54%   94.17%   +0.62%
==========================================
  Files           2        2
  Lines          93      103      +10
==========================================
+ Hits           87       97      +10
  Misses          6        6

Impacted Files
Coverage Δ

flask_matomo/core.py
93.81% <100.00%> (+0.71%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Enable line wrapping

Line wrapping can be enabled/disabled with a setting in Tools->Options->Diff->Wrap Lines.  This closes #706.
All credit to Scintilla.
This addresses the second half of #514.  The second half of issue 514 was: bad user experience when scrolling down through the DiffView.  But with line wrapping enabled, the horizontal scroll bars disappear.  That prevents the mouse scroll wheel from being captured by the horizontal scroll bar.
Demo:
wrap-lines.webm
wrap-lines-scroll.webm

Thank you very much for the change!

@Murmele

Can you add an entry to the changelog: https://github.com/Murmele/Gittyup/blob/master/docs/changelog.md You can add your gif also to the website when you add an entry at: https://github.com/Murmele/Gittyup/blob/master/docs/index.md.

Done!  I recorded a better video for the website:
line-wrap-demo-2.webm

Thanks I hope I can have a look into it next days.


RPI crash at [I] Configuring AP interface...

When running "sudo python3 mitmAP_rpi.py" I can complete the steps fine until it wants to start the AP interface. After it's at configuring AP interface I have to physically remove the power from the RPI and reboot it to make it work again.
I can start the ap fine with "sudo /usr/sbin/hostapd /etc/hostapd/hostapd.conf". It shows up on my phone and I can connect.
Is there a way to debug this?

Apparently running: "sudo ifconfig "wlan0" up <IP_ADDRESS> netmask <IP_ADDRESS>" crashes my PI.

Interesting, because you don't have a wpa_supplicant pid as well.
On my pi, its working perfectly. Are you using raspbian? Which version? Which pi model?
Also make sure that you entered the correct interface name for the AP.
(Even if you enter something wrongly, or there is issue with the code, your pi should not crash completely, so there is a problem with something else)

Closing this issue because of no response from OP.


feat(hepa-uv): add current sensing for the uv lights.

Overview
There is a sensor to measure the voltage of the UV light, this PR sets up the GPIO/ADC and lets us query the voltage on the UV_SNS_MCU pin.
Closes: PLAT-16
Test Plan

[ ] Make sure we get the correct voltage when the UV lights are ON
[ ] Make sure we get the correct voltage when the UV lights are ON
[ ] Make sure we get the correct voltage when one or more light bulbs are damaged/missing.

Change Log

Add plumbing to enable querying the UV voltage
Adds the UV voltage in the GetHepaUVStateResponse

Review Requests

Does anything look way off?
I'm not sure if I should be returning the current or voltage
This adds a new value to an existing CAN message which can be a pain on the software side when not provided. I don't want to add yet another CAN message for this data.

Risk Assessment
low, unreleased

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

Project coverage is 83.28%. Comparing base (a6476b3) to head (06b6665).

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #762   +/-   ##
=======================================
  Coverage   83.28%   83.28%
=======================================
  Files         101      101
  Lines        4063     4063
=======================================
  Hits         3384     3384
  Misses        679      679


Google ad manager spliced HLS stream stops at discontinuity / ad break

Have you read the FAQ and checked for duplicate open issues?
yes
What version of Shaka Player are you using?
v3.3.2
Can you reproduce the issue with our latest release version?
yes
Can you reproduce the issue with the latest code from main?
not tried
Are you using the demo app or your own custom app?
checked both
If custom app, can you reproduce the issue using our demo app?
can be reproduced with demo app
What browser and OS are you using?
Chrome, Firefox, LG Web OS
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/A
What are the manifest and license server URIs?
https://fut.dev.wpstr.tv/tmp/shakahang/master2.m3u8
What configuration are you using?  What is the output of player.getConfiguration()?

Defaults from demo app
What did you do?

Load URL in the demo app, press play
What did you expect to happen?
All 3 segments of the content play, not just the first
What actually happened?

Hang after the first segment
This very short 3 segment HLS stream is a minimized problem from a live stream that runs through google admanager DAI live stitcher. Only one of our test channels is affected with this problem, but there, it hangs every time on the first ad.
Exoplayer plays it fine, apple HLS checker does not see a problem
The full pipeline is AWS Elemental Live Encoder -> Unified Streaming Packager -> google admanager 360 live stitcher.
This example has been manually built by dropping all but one profile and reducing the live manifest to a static one with only 3 segments.
A live manifest can be provided on request

We have recently made some big changes to our HLS implementation.  Can you please try with the latest (unreleased) version here?  https://nightly-dot-shaka-player-demo.appspot.com/demo/

The nightly of today plays as expected.
Still the same assertions about
Assertion failed: Metadata start time should be less or equal to the end time! player.js:2534:18
When transitioning into the ad, I see
Jumping forward 0.10253099999999904 seconds because of gap starting at 12.69335 and ending at 12.718385 gap_jumping_controller.js:240:19

So, close this and wait for v3.3 ?

Yes, except v3.3 is already out, and the next feature release will be v4.0.
Thanks for confirming that it works correctly in the upcoming release!


Adds configurable behavior on redirect to loopback

Requesting a backport to 8.x because although this has a functionality change with scope that is best reserved for major releases, 8.x is not yet released. It is intended to be considered for the 8.x release rather than waiting for another major release.
Discussion Thread

Labeled WIP so I don't forget to squash commits.

You might want to add another option to add non-routable IPs to the list too.  I would create a configuration option called proxy.config.http.redirect_enabled (with all the options) and start with 0 as off and set proxy.config.http.number_of_redirections to 1 as the default.
When checking for localhost you should resolve the ip and check to see if it matches any of the IPs on the server.  That could be a long list if there servers has many IP aliases.  This still doesn’t block IPs used by other servers in the same network.

OK, taking discussion back to the mail thread so we can converge on how we want to do this.

Implementation and tests should be working. I am still looking at updating the document.

[approve ci autest]

[approve ci autest]

[approve ci autest]

Squashed the branch. Old commit was 59422e07d674be135b41f0573dea475624289cc5.

I am going to rebase, because an ink_release_assert triggered in one of my local tests that was likely due to a bug that has been fixed on master branch after the commit on which I have based:
(gdb) p history
$7 = {history = {{location = {file = 0x826d62 "HttpSM.cc",
        func = 0x829cc0 <HttpSM::state_read_client_request_header(int, void*)::__FUNCTION__> "state_read_client_request_header",
        line = 603}, event = 100, reentrancy = 2}, {location = {file = 0x826d62 "HttpSM.cc",
        func = 0x82a8a8 <HttpSM::set_next_state()::__FUNCTION__> "set_next_state", line = 7274}, event = 34463, reentrancy = 2}, {
      location = {file = 0x826d62 "HttpSM.cc", func = 0x82a8a8 <HttpSM::set_next_state()::__FUNCTION__> "set_next_state", line = 7320},
      event = 34463, reentrancy = 2}, {location = {file = 0x826d62 "HttpSM.cc",
        func = 0x829eb0 <HttpSM::state_http_server_open(int, void*)::__FUNCTION__> "state_http_server_open", line = 1731}, event = 200,
      reentrancy = 3}, {location = {file = 0x826d62 "HttpSM.cc",
        func = 0x829d10 <HttpSM::state_watch_for_client_abort(int, void*)::__FUNCTION__> "state_watch_for_client_abort", line = 847},
      event = 104, reentrancy = 1}, {location = {file = 0x826d62 "HttpSM.cc",
        func = 0x829eb0 <HttpSM::state_http_server_open(int, void*)::__FUNCTION__> "state_http_server_open", line = 1731}, event = 101,
      reentrancy = 1}, {location = {file = 0x826d62 "HttpSM.cc",
        func = 0x829f20 <HttpSM::state_send_server_request_header(int, void*)::__FUNCTION__> "state_send_server_request_header",
        line = 2003}, event = 103, reentrancy = 1}, {location = {file = 0x826d62 "HttpSM.cc",
        func = 0x829ee0 <HttpSM::state_read_server_response_header(int, void*)::__FUNCTION__> "state_read_server_response_header",
        line = 1845}, event = 100, reentrancy = 1}, {location = {file = 0x826d62 "HttpSM.cc",
        func = 0x82a8a8 <HttpSM::set_next_state()::__FUNCTION__> "set_next_state", line = 7274}, event = 34463, reentrancy = 1}, {
      location = {file = 0x826d62 "HttpSM.cc",
        func = 0x829fb0 <HttpSM::state_hostdb_lookup(int, void*)::__FUNCTION__> "state_hostdb_lookup", line = 2235}, event = 500,
      reentrancy = 1}, {location = {file = 0x0, func = 0x0, line = 0}, event = 0, reentrancy = 0} <repeats 55 times>}, history_pos = 10}

This shows a HostDB lookup event happening after we have already received a response from origin. This shouldn't happen, and it does not seem to be related to this PR's changes.

Rebased. Old commit was 1cda6316fdf7b53b4083b64abff30d7b029fd908.

We have found that there is an assert when DNS lookup fails when attempting to evaluate the redirect response. Need to fix it.

diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 09455e5d7..950501ef8 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -1546,36 +1546,6 @@ HttpTransact::OSDNSLookup(State *s)
     TRANSACT_RETURN(SM_ACTION_SEND_ERROR_CACHE_NOOP, nullptr);
   }

-  if (s->redirect_info.redirect_in_process) {
-    RedirectEnabled::Action action = RedirectEnabled::Action::INVALID;
-    if (true == Machine::instance()->is_self(s->host_db_info.ip())) {
-      action = s->http_config_param->redirect_actions_self_action;
-    } else {
-      ink_release_assert(s->http_config_param->redirect_actions_map != nullptr);
-      ink_release_assert(
-        s->http_config_param->redirect_actions_map->contains(s->host_db_info.ip(), reinterpret_cast<void **>(&action)));
-    }
-    switch (action) {
-    case RedirectEnabled::Action::FOLLOW:
-      TxnDebug("http_trans", "[OSDNSLookup] Invalid redirect address. Following");
-      break;
-    case RedirectEnabled::Action::REJECT:
-      TxnDebug("http_trans", "[OSDNSLookup] Invalid redirect address. Rejecting.");
-      build_error_response(s, HTTP_STATUS_FORBIDDEN, nullptr, "request#syntax_error");
-      SET_VIA_STRING(VIA_DETAIL_TUNNEL, VIA_DETAIL_TUNNEL_NO_FORWARD);
-      TRANSACT_RETURN(SM_ACTION_SEND_ERROR_CACHE_NOOP, nullptr);
-      break;
-    case RedirectEnabled::Action::RETURN:
-      TxnDebug("http_trans", "[OSDNSLookup] Configured to return on invalid redirect address.");
-      // fall-through
-    default:
-      // Return this 3xx to the client as-is.
-      TxnDebug("http_trans", "[OSDNSLookup] Invalid redirect address. Returning.");
-      build_response_copy(s, &s->hdr_info.server_response, &s->hdr_info.client_response, s->client_info.http_version);
-      TRANSACT_RETURN(SM_ACTION_INTERNAL_CACHE_NOOP, nullptr);
-    }
-  }
-
   // detect whether we are about to self loop. the client may have
   // specified the proxy as the origin server (badness).
   // Check if this procedure is already done - YTS Team, yamsat
@@ -1637,6 +1607,37 @@ HttpTransact::OSDNSLookup(State *s)
   ink_assert(s->dns_info.lookup_success);
   TxnDebug("http_seq", "[HttpTransact::OSDNSLookup] DNS Lookup successful");

+  if (s->redirect_info.redirect_in_process) {
+    // If dns lookup was not successful, the code below will handle the error.
+    RedirectEnabled::Action action = RedirectEnabled::Action::INVALID;
+    if (true == Machine::instance()->is_self(s->host_db_info.ip())) {
+      action = s->http_config_param->redirect_actions_self_action;
+    } else {
+      ink_release_assert(s->http_config_param->redirect_actions_map != nullptr);
+      ink_release_assert(
+        s->http_config_param->redirect_actions_map->contains(s->host_db_info.ip(), reinterpret_cast<void **>(&action)));
+    }
+    switch (action) {
+    case RedirectEnabled::Action::FOLLOW:
+      TxnDebug("http_trans", "[OSDNSLookup] Invalid redirect address. Following");
+      break;
+    case RedirectEnabled::Action::REJECT:
+      TxnDebug("http_trans", "[OSDNSLookup] Invalid redirect address. Rejecting.");
+      build_error_response(s, HTTP_STATUS_FORBIDDEN, nullptr, "request#syntax_error");
+      SET_VIA_STRING(VIA_DETAIL_TUNNEL, VIA_DETAIL_TUNNEL_NO_FORWARD);
+      TRANSACT_RETURN(SM_ACTION_SEND_ERROR_CACHE_NOOP, nullptr);
+      break;
+    case RedirectEnabled::Action::RETURN:
+      TxnDebug("http_trans", "[OSDNSLookup] Configured to return on invalid redirect address.");
+      // fall-through
+    default:
+      // Return this 3xx to the client as-is.
+      TxnDebug("http_trans", "[OSDNSLookup] Invalid redirect address. Returning.");
+      build_response_copy(s, &s->hdr_info.server_response, &s->hdr_info.client_response, s->client_info.http_version);
+      TRANSACT_RETURN(SM_ACTION_INTERNAL_CACHE_NOOP, nullptr);
+    }
+  }
+
   if (DNSLookupInfo::OS_Addr::OS_ADDR_TRY_HOSTDB == s->dns_info.os_addr_style) {
     // We've backed off from a client supplied address and found some
     // HostDB addresses. We use those if they're different from the CTA.
diff --git a/tests/gold_tests/redirect/redirect_actions.test.py b/tests/gold_tests/redirect/redirect_actions.test.py
index d679f9808..ae4e0f441 100644
--- a/tests/gold_tests/redirect/redirect_actions.test.py
+++ b/tests/gold_tests/redirect/redirect_actions.test.py
@@ -26,7 +26,7 @@ Test redirection behavior to invalid addresses
 '''

 Test.SkipIf(Condition.true('autest sometimes does not capture output on the last test case of a scenario'))
-Test.ContinueOnFail = True
+Test.ContinueOnFail = False

 Test.Setup.Copy(os.path.join(Test.Variables.AtsTestToolsDir,'tcp_client.py'))

@@ -82,6 +82,8 @@ def normalizeForAutest(value):
     annoying characters.
     This means we can also use them in URLs.
     '''
+    if not value:
+        return None
     return re.sub(r'[^a-z0-9-]', '_', value, flags=re.I)

 def makeTestCase(redirectTarget, expectedAction, scenario):
@@ -126,7 +128,8 @@ def makeTestCase(redirectTarget, expectedAction, scenario):
     testDomain = 'testdomain{0}.test'.format(normRedirectTarget)
     # The micro DNS server can't tell us whether it has a record of the domain already, so we use a dictionary to avoid duplicates.
     # We remove any surrounding brackets that are common to IPv6 addresses.
-    dnsRecords[testDomain] = [redirectTarget.strip('[]')]
+    if redirectTarget:
+        dnsRecords[testDomain] = [redirectTarget.strip('[]')]

     # A GET request parameterized on the config and on the target.
     request_header = {
@@ -178,6 +181,9 @@ class ActionE(Enum):
     Reject = {'config':'reject', 'expectedStatusLine':'HTTP/1.1 403 Forbidden\r\n'}
     Follow = {'config':'follow', 'expectedStatusLine':'HTTP/1.1 204 No Content\r\n'}

+    # Added to test failure modes.
+    Break  = {'expectedStatusLine': 'HTTP/1.1 502 Cannot find server.\r\n'}
+
 scenarios = [
     {
         # Follow to loopback, but alternately reject/return others.
@@ -228,6 +234,9 @@ for scenario in scenarios:
             expectedAction = scenario[addressClass] if addressClass in scenario else scenario[AddressE.Default]
             makeTestCase(redirectTarget=address, expectedAction=expectedAction, scenario=scenario)

+    # Test redirects to names that cannot be resolved.
+    makeTestCase(redirectTarget=None, expectedAction=ActionE.Break, scenario=scenario)
+
 dns.addRecords(records=dnsRecords)

 # Make sure this runs only after local files have been created.

Rebased with the fix for HostDB lookup failure and test cases that cover that failure mode.
Previous commit was 9001a5dfdcdfc7dcca1a7a5d40a8d39fe7f1dbc4.

Addressed the review comment by moving the logic lower in the method but leaving it unchanged.
Here is the diff:
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 950501ef8..7c0e933d1 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -1607,37 +1607,6 @@ HttpTransact::OSDNSLookup(State *s)
   ink_assert(s->dns_info.lookup_success);
   TxnDebug("http_seq", "[HttpTransact::OSDNSLookup] DNS Lookup successful");

-  if (s->redirect_info.redirect_in_process) {
-    // If dns lookup was not successful, the code below will handle the error.
-    RedirectEnabled::Action action = RedirectEnabled::Action::INVALID;
-    if (true == Machine::instance()->is_self(s->host_db_info.ip())) {
-      action = s->http_config_param->redirect_actions_self_action;
-    } else {
-      ink_release_assert(s->http_config_param->redirect_actions_map != nullptr);
-      ink_release_assert(
-        s->http_config_param->redirect_actions_map->contains(s->host_db_info.ip(), reinterpret_cast<void **>(&action)));
-    }
-    switch (action) {
-    case RedirectEnabled::Action::FOLLOW:
-      TxnDebug("http_trans", "[OSDNSLookup] Invalid redirect address. Following");
-      break;
-    case RedirectEnabled::Action::REJECT:
-      TxnDebug("http_trans", "[OSDNSLookup] Invalid redirect address. Rejecting.");
-      build_error_response(s, HTTP_STATUS_FORBIDDEN, nullptr, "request#syntax_error");
-      SET_VIA_STRING(VIA_DETAIL_TUNNEL, VIA_DETAIL_TUNNEL_NO_FORWARD);
-      TRANSACT_RETURN(SM_ACTION_SEND_ERROR_CACHE_NOOP, nullptr);
-      break;
-    case RedirectEnabled::Action::RETURN:
-      TxnDebug("http_trans", "[OSDNSLookup] Configured to return on invalid redirect address.");
-      // fall-through
-    default:
-      // Return this 3xx to the client as-is.
-      TxnDebug("http_trans", "[OSDNSLookup] Invalid redirect address. Returning.");
-      build_response_copy(s, &s->hdr_info.server_response, &s->hdr_info.client_response, s->client_info.http_version);
-      TRANSACT_RETURN(SM_ACTION_INTERNAL_CACHE_NOOP, nullptr);
-    }
-  }
-
   if (DNSLookupInfo::OS_Addr::OS_ADDR_TRY_HOSTDB == s->dns_info.os_addr_style) {
     // We've backed off from a client supplied address and found some
     // HostDB addresses. We use those if they're different from the CTA.
@@ -1678,6 +1647,37 @@ HttpTransact::OSDNSLookup(State *s)
            "IP: %s",
            ats_ip_ntop(&s->server_info.dst_addr.sa, addrbuf, sizeof(addrbuf)));

+  if (s->redirect_info.redirect_in_process) {
+    // If dns lookup was not successful, the code below will handle the error.
+    RedirectEnabled::Action action = RedirectEnabled::Action::INVALID;
+    if (true == Machine::instance()->is_self(s->host_db_info.ip())) {
+      action = s->http_config_param->redirect_actions_self_action;
+    } else {
+      ink_release_assert(s->http_config_param->redirect_actions_map != nullptr);
+      ink_release_assert(
+        s->http_config_param->redirect_actions_map->contains(s->host_db_info.ip(), reinterpret_cast<void **>(&action)));
+    }
+    switch (action) {
+    case RedirectEnabled::Action::FOLLOW:
+      TxnDebug("http_trans", "[OSDNSLookup] Invalid redirect address. Following");
+      break;
+    case RedirectEnabled::Action::REJECT:
+      TxnDebug("http_trans", "[OSDNSLookup] Invalid redirect address. Rejecting.");
+      build_error_response(s, HTTP_STATUS_FORBIDDEN, nullptr, "request#syntax_error");
+      SET_VIA_STRING(VIA_DETAIL_TUNNEL, VIA_DETAIL_TUNNEL_NO_FORWARD);
+      TRANSACT_RETURN(SM_ACTION_SEND_ERROR_CACHE_NOOP, nullptr);
+      break;
+    case RedirectEnabled::Action::RETURN:
+      TxnDebug("http_trans", "[OSDNSLookup] Configured to return on invalid redirect address.");
+      // fall-through
+    default:
+      // Return this 3xx to the client as-is.
+      TxnDebug("http_trans", "[OSDNSLookup] Invalid redirect address. Returning.");
+      build_response_copy(s, &s->hdr_info.server_response, &s->hdr_info.client_response, s->client_info.http_version);
+      TRANSACT_RETURN(SM_ACTION_INTERNAL_CACHE_NOOP, nullptr);
+    }
+  }
+
   // so the dns lookup was a success, but the lookup succeeded on
   // a hostname which was expanded by the traffic server. we should
   // not automatically forward the request to this expanded hostname.

Branch has been squashed. Previous commit was bb21f28088861bbf02856514b4d2dfdeb6e921cd.


Build a Docker prereqs image for linux-amd64 longtest

Installing packages during CI from the distro can be slow and sometimes unreliable, so we should use an image with dependencies already installed. It should be able to run the full set of tests (longtest, see https://github.com/microsoft/go/issues/1), the image should be hosted in a public ACR, and it should be based on Ubuntu (our first target).
We might want to setup a repo like https://github.com/dotnet/dotnet-buildtools-prereqs-docker. If we do, we should consider having it auto-update sometimes, for base image changes and updates to any packages we use from the distro.

Created https://github.com/microsoft/go-infra-images a while ago.


problem on tls: unsupported protocol version 301'

Hi Support Team,
I am facing the problem on the tls issue
tls: server selected unsupported protocol version 301'
I have tried the v1 and v2 and facing the same issue
       hostConfig := ibclient.HostConfig{
		Host:     "<IP_ADDRESS>",
		Version:  "2.3.1",
		Port:     "443",
		Username: "admin",
		Password: "N1i2H3a,o.",
	}

	//authConfig := ibclient.AuthConfig{}
	transportConfig := ibclient.NewTransportConfig("false", 20, 10)
	requestBuilder := &ibclient.WapiRequestBuilder{}
	requestor := &ibclient.WapiHttpRequestor{}
	conn, err := ibclient.NewConnector(hostConfig, transportConfig, requestBuilder, requestor)
	if err != nil {
		fmt.Println(err)
	}

	defer conn.Logout()
	objMgr := ibclient.NewObjectManager(conn, "myclient", "")

	fmt.Println(objMgr.GetGridLicense())

Could you please give me some advice on it ?
BR
Robin

Hi @yidianyipie , Could you please try with either of authentication methods Password Based or Certificate Based ?
So you leave empty with the credentials, it will be not connecting to WAPI.


Cell's gradient color change in real time

Not an Issue but a complicated question.
is there any way to change all the cell's gradient color in real time? im making black/white themes and i found the only way to make changes to the color of gradient is to leave view controller or close/open app again, so the collection view is loading from start, but i have just few view controllers in app and all af them opens from collection view, and does not stops it so it doesnt need to update alot of information every time i open something. the theme change action is happens on main screen with cv so it will be good to have some animation to it too.

@diretix Do you have any sample project?
I can take a look at it and see how can i help you

I found a solution, but it could be better i think, i just add cell.awakeFromNib() in cellForItemAt indexpath as well as in cell's class i add
private var col = UIColor()
override func awakeFromNib()
{
    super.awakeFromNib()

    if Load(key: "theme") as! String == "white"
    {
        col = UIColor.white
    }else{
        col = UIColor.black
    }

    if let backgroundView = backgroundView
    {
        gradient.colors = [col.cgColor, UIColor.clear.cgColor]
        gradient.locations = [0.0, 1.0]
        gradient.frame = backgroundView.bounds
        backgroundView.layer.addSublayer(gradient)
    }
}

so when i come back to collection view i call reload data and gradient color changes.
it pretty okay for me, but i think there is a way to do it better.
sorry i cant add a sample project but if you want i can send you my full project, so you can see how i used collection view, maybe you can do the color change better.

It's more like a stackoverflow question, here is a similar one.
I will close the issue because it's not related to this package 😉.


Build Box2D at 100% Fail: convex_hull.cpp.o error

I am building Box2d by :

git clone it from https://github.com/erincatto/box2d
Use this commands

mkdir build && cd build \\
cmake -DCMAKE_INSTALL_PREFIX=/opt/box2dinstall -DBUILD_SHARED_LIBS=ON .. && make

It fails and I cannot do make install
This is the screenshot.

How to fix this?
Thanks

I already solved it, now worry. Thanks


OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E.

OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E.
we are facing the CCOD dashboard governance reporting issue not able to get the data while refreshing the report for some of our  customers.
ERROR.docx

Properties are extracted as a "Record" for future implementations you can remove the column, to avoid this problems because sometimes depending on your permissions it can fail


Feature request: folder aliases

Current behavior
Folders have a context menu item called Color added by Manila, allowing the user to select the folder color.
However, this option does not appear if the folder is an alias (a symbolic link to another folder)
Desired behavior
Alias type folders should also have a color option in their context menu

MacOS 12.2.1

+1

+1

+1

+1

+1

Yup.

+1


Bullets are not rendered

If i have an unordered or ordered list in my html markup, the bullets are not rendered by html2canvas. I think this is quite an important issue because this is a standard feature of html supported in all browsers since a long time ago.

Just curious if this is being considered, or if there is anything I can do to help move this feature along.

It is considered and will be implemented at some point. PR #486 was made for it, and I gave some feedback on it. Once those are resolved, it could get merged.

Any likelihood this will be solved in html2canvas in the near future?
I looked for "ul", "ol", "li" in the code and found nothing, yet 's are indented, so there must be some logic for it. Anyone that could point to where this would be located in the code, if it's now at all there?

It's a hack for sure, but I was able to support a bulleted
 in the PDF with this approach:
HTML

•Replace your income, with a {{ output.monthlyIncome | currency }} monthly check

•Pay down your mortgage to zero

•Pay down your debt to zero

•Pay 100% of your kids’ education in a public college or university

•Remain covered until your spouse/partner turns 65 or your youngest child turns 23, whichever comes first

LESS/CSS
#pdf-canvas ul {
	list-style: none;
	padding: 0;
}

#pdf-canvas ul li {
	margin: 0 0 0 35px;
	list-style: none;

	.bullet {
		display: inline-block;
		opacity: 0.85;
		font-size: 1.1em;
		text-indent: -22px;
	}
}

Where #pdf-canvas is the name of a hidden DIV with the PDF template in it. Hope this helps anyone else trying to do this.

I use TinyMCE for the editing, and users must not see any of the "inner workings", but there might be a way to extend so that a span is inserted.
Why doesn't it work with applying the bullet characteristics directly to ul li?

An other simple hack:
HTML
`
item 1
Item 2
`
SCSS
ul li { ul li {   list-style-type: none;   &:before {     content: '• ';     margin-left: -1em;   } } }

I wonder though, why can't this be solved in html2canvas?

My approach to by-pass this was to create a table with 2 columns and put • in the first column and the text in the second. It was the only way that it was rendered correctly

I tested right now, and HTML lists work fine in 1.0.0 alpha 10.

https://jsfiddle.net/boLxkgj8/264/ I can't render Bullet :( How could you do that

https://jsfiddle.net/boLxkgj8/264/ I can't render Bullet :( How could you do that

ok, you was not using the latest version, now it looks like it works:
https://jsfiddle.net/jeavhg05/4/

Can some share me HTML and JS used on for this JS. I am using same but PDF file is not created.
https://jsfiddle.net/jeavhg05/4/

ul li { list-style-type: none;}
ul li:before { content: '• '; margin-left: -1em; }
ol li { list-style-type: none;}
ol li:before { content: '- '; margin-left: -1em; }


Add carriage return after profile definition

Is your feature request related to a problem? Please describe.

Execute login command
Try to print the content of credentials file ( cat ~/.aws/credentials )

The last line of the file joins with terminal's current line.
This breaks the terminal.
I have to manually press Enter to fix the terminal.
Describe the solution you'd like
Add newline character in the end of profile definition.
Describe alternatives you've considered
cat ~/.aws/credentials && echo
Additional context

@bfanyuk Works as expected on zsh, but messes up on bash. I will add a new line character


Cannot disable localizer

Currently it is not possible to disable the localizer entirely. Even when localizer: false is passed to the bot settings a default localizer will be used. Don't know if this is by design and/or if not at least this would be something to discuss about 😉
Why I was stumbling upon this is because my app is always throwing the following warning and my bot doesn't need any i18n at the moment:
WARN: localizer::couldn't find directory: ./en

the localizer samples would definitely help.

I saw the warning as well and will remove them in the next release.  The localizer param is for passing in a custom localizer implementation so not a flag. You can safely ignore the warning for now.


Improve the Css of front page

please assign these task to me
i will improve the overall css of front page

You can assign that task to me...

please  assign the task to improve the styling of the  page


Multiple loan durations

Description
Allows for 5 tiers of loan duration depending on rate, to be used to allow for longer duration as rates increase
TESTING STAGE
Fully tested
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[X] Breaking change (fix or feature that would cause existing functionality to change) Requires additional lines in conf

Checklist:

[X] I have read CONTRIBUTING.md
[X] I fully understand Github Flow.
[X] My code adheres to the code style of this project.
[X] I have updated the documentation in /docs if I have changed the config, arguments, logic in how the bot works, or anything that understandably needs a documentation change.
[X] I have updated the config file accordingly if my change requires a new configuration setting or changes an existing one.
[X] I have tested the bot with no issues for 24 continuous hours. If issues were experienced, they have been patched and tested again.

Cool. Haven't tested it, but it looks like it should work.
It doesn't plugin to the notifications however, though I'm not sure how many people use that one.

Good point, I haven't tested it with notifications. But it reliably has kept me at 170% APR, so I've been pretty happy. Been running this code for the past 2 weeks.

Nice,

How do you think this effects your APR?
Couldn't this be a more flexible implementation with 2 arrays in config...
i.e
ndays = [4, 10, 30]
ndaysrate = [0.1%, 0.5%, 1%]
?

Well, it's crazy high and has never fallen below 130%, currently at 170%. I'd like to add some code that reserves a portion of funds until rates exceed cutoffs to add to this tiered system. But for now, this is pretty good with loans frequently exiting at low rates and being able to "jump" into higher rates and locking in for longer durations. For example, I have a large loan that got locked in at 0.4995% interest on 5/16 that's still accruing interest.

Sure, I'm not particularly great in python so I hacked it together this way, but that's a good idea.

Current stats:
0.37252% Day Avg.
0.26924% Day Eff.
98.27% Year
184.56% Year Comp.

That is impressive results, what gapbottom/top are you using?
There is an option already to preserve coins for higher rates:
http://poloniexlendingbot.readthedocs.io/en/latest/configuration.html#max-to-be-lent

Yes, it exists but I'd like to create several cutoffs (such as preserve 10% for above 0.5%). But for now this is pretty good.
gapbottom = 20, top = 300.

I was thinking about this the other day... what if loan duration could be dynamic based on the position of the rate within gaptop/gapbottom?
e.g.: Within the bottom % of gaptop/gapbottom, you want to maximise compounding, but as rates go higher, you may want to preserve those for a bit longer with a higher loan duration:
0-20% -> 2 days
20-40% -> 3 days
40-60% -> 5 days
60-80% -> 10 days
80-100% -> 21 days

Hey @kingo55 I was thinking something similar. But instead of having a pre-programmed rates, I'd want to implement rates based on the market history. For example, if the 1% interest rate last occured 10 days ago, set the length to the loan offer at 1% be be twice as long, 20 days.

Multiple loan times will be a great addition!

Just for info:
I work on a similar functionality to spreed duration, but calculate the steps by a linear function.
Ex.
xdaythreshold = 0.3
xdays = 60
xdayspreed = 3
This will increment the duration linear from 2 days at 0.1% (xdaythreshold/xdayspreed) to 60 days at 0.3%

Now that #505 was merged, is this PR (391) still applicable?

Not at current form.


fix(vue-app): fix router.push memory leak

Types of changes

[x] Bug fix (a non-breaking change which fixes an issue)

Description
set on router instance not prototype
closes #7479
closes #8522
Checklist:

[x] All new and existing tests are passing.

@washington-guedes It's difficult to say without more information, but you might be able to use a newer version of @nuxt/vue-app but remain on an earlier version of nuxt.


min-versions-to-keep behaviour inconsistent with documentation

Scenario and intent
I am using GH Packages for docker images. I am writing a very simple workflow with this action, targeting my docker image artifacts. My intent is to implement the retention policy pattern shown in this section of the readme.
Here is the workflow.job.step I am using:
      - uses: actions/delete-package-versions@v4
        id: delete-packages-web
        with:
          package-name: web
          package-type: container
          min-versions-to-keep: 3

Following from the readme, I do not supply the num-old-versions-to-delete:

By default, min-versions-to-keep takes precedence over num-old-versions-to-delete.

Expected behaviour
I expect as the Readme states: the Action will delete all except latest 3 versions of the package.
Actual behaviour
The action deletes all but the latest 1 version of the package. The resulting behaviour is what I would expect if  I had set  num-old-versions-to-delete: 1 and that parameter took precedence over min-versions-to-keep.

I believe the issue here is in fact the way our CI workflow publishes docker images. Using docker/build-push-action@v5 in our case results in one tagged artifact and two untagged artifacts for each release. These untagged artifacts seem to result from use of provenance: true

It seems this is a by-product of the nature of the way the build-push-action works and the . One untested strategy would be to first run this action with delete-only-untagged-versions then again with the desired retention policy


feat: GitHub Actions improvements (auto-release, better tests)

Additional check if assets.did file has the same content as the upstream one https://github.com/dfinity/cdk-rs/blob/main/src/ic-certified-assets/assets.did
Automatic releases when pushing to main (example)

Check and Test is supposed to fail until this #31 is merged

I took another stab at it:

split candid check into separate yml
use actions-rs/toolchain instead of manually installing rust toolchain (uses rust-toolchain.toml) (had to use forked version, let me know if how big of a no-no it is from security standpoint. I already emailed the author of actions-rs/toolchain asking to add more maintainers to the project)
make release workflow run only on merged pull request to main banch
split dfx install and wasm tasks in release workflow
shave few tasks from release workflow
use rust toolchain version from rust-toolchain.toml for workflow caching actions/cache

Thanks!
I've never set up branch protection rules myself, so I'm don't have a well-established feeling for how it works or what's the good naming convention or which candidates are a good pick for :required, so for now I'm just going to follow your suggestion to see how this plays out, but overall the idea looks sweet, tl;dr many thanks for suggestion:D.
Done


Adds version.parse to warn when cirq.version <= 0.13.1

checks if cirq is a high enough version to work with ionq when imported

@spich - can  you please describe a cirq-ionq / cirq installation scenario where this would be helpful?
When cirq-ionq is installed in a fresh Python environment it brings in cirq-core at the same version:
$ python -m venv /tmp/tionq
$ source /tmp/tionq/bin/activate
$ pip install cirq-ionq
$ pip list | grep cirq
cirq-core           1.1.0
cirq-ionq           1.1.0

The change in this PR would become effective in future releases of cirq-ionq, but cirq-ionq already requires a recent cirq-core (cirq-core defines cirq.__version__).

@spich - can you please describe a cirq-ionq / cirq installation scenario where this would be helpful?
When cirq-ionq is installed in a fresh Python environment it brings in cirq-core at the same version:
$ python -m venv /tmp/tionq
$ source /tmp/tionq/bin/activate
$ pip install cirq-ionq
$ pip list | grep cirq
cirq-core           1.1.0
cirq-ionq           1.1.0

The change in this PR would become effective in future releases of cirq-ionq, but cirq-ionq already requires a recent cirq-core (cirq-core defines cirq.__version__).

That's a great point! I think sending the version of Cirq with the API calls might make more sense... We can return warnings from there. Thanks


Document the component type/name identifier syntax

As a new user of the OpenTelemetry collector, it was quite confusing to see YAML field names/identifiers with forward slash characters (i.e. /) in the config file. While this is clearly allowed by the YAML spec, it was unclear what effect this naming convention would have in the context of the OpenTelemetry collector config file and process. As far as I know, the only place this naming convention is documented is in code.
The componentID struct was particularly helpful in demystifying the component identifier syntax, with the rest of identifiable.go providing helpful context.
// ComponentID represents the identity for a component. It combines two values:
// * type - the Type of the component.
// * name - the name of that component.
// The component ComponentID (combination type + name) is unique for a given component.Kind.
type ComponentID struct {
	typeVal Type   `mapstructure:"-"`
	nameVal string `mapstructure:"-"`
}

This PR proposes to explain what the items in the receivers, processors, exporters and/or pipelines sections are called (i.e. "components"), and that component identifiers have a naming convention (i.e. component[/name]).
I hope this helps! 😊

PS – I got here by clicking an "edit this page" link from this page on the OpenTelemetry documentation website. I have not yet reviewed any contributor guidelines since none were referenced in this workflow (from the "edit this page" link to submitting this PR from my browser on GitHub.com). Please let me know if I need to do a CLA dance and/or sign my commits and I'll be happy to do so. 🍻

Ah, of course as I reached the PR submission page there was a suggestion to review the contributors guide, and a helpful bot has flagged my PR accordingly. I'll work on that now. 👍


Create Destination for SAP API Management Service

Tutorials: https://developers.sap.com/tutorials/cp-apim-sales-tracker-create-destination.html
What does <yourP#> when creating the destination to https://<yourP#>trial-trial.apim1.hanatrial.ondemand.com ?
I tried with my SUser but it is returning the following error message when checking the connexion:
Connection to "API_Portal_Trial" established. Response returned: "404: Not Found"
Also in the next tutorial when trying to set the API_Portal_Trial destination for SAP Mobile Cards, I cannot see the destination created before.
I am running the tutorial on SAP BTP Trial and not on SAP Cloud Platform. Also this is the CF environment, not the Neo one. Maybe this is the reason why I cannot go further ?
Thanks in advance

This tutorial will soon be deprecated.  Thank you.


[Help] How to implement select folder in jcef ?

Hi, I am using jcef to build by app, I need to get a directory through the Select Folder dialog.
The Cefbrowser has runFileDialog method, but not found runDirectoryDialog ?
How to implement this function ?

Sadly, this is not possible using CEF at the moment. If you want this to be added, make sure to request it on the bitbucket repository of CEF. This here is just the maven build of the java bindings of CEF.
Alternatively you can still use JFileChooser to get what you wanted :)

@FriwiDev  thank you!


Allow customisation of timestamp revealing behaviour

[Current coverage][cc-pull] is 63.83%

Merging [#180][cc-pull] into [dev][cc-base-branch] will decrease coverage by 0.14%

@@                dev       #180   diff @@
==========================================
  Files            62         62
  Lines          3418       3418
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           2187       2182     -5
- Misses         1231       1236     +5
  Partials          0          0

Powered by Codecov. Last updated by [7cb528d...26a4a0e][cc-compare]
[cc-base-branch]: https://codecov.io/gh/badoo/Chatto/branch/dev?src=pr
[cc-compare]: https://codecov.io/gh/badoo/Chatto/compare/7cb528d927f77e1ae3f9f937183e5f5c648d1a0c...26a4a0e0c8af15578789e2695362b0f22db88c75?src=pr
[cc-pull]: https://codecov.io/gh/badoo/Chatto/pull/180?src=pr


Only one CPU with krogoth branch, massive tracebacks in dmesg

I built and flashed an angstrom build yesterday and I get only one cpu:
root@dragonboard-410c:~# cat /proc/cpuinfo
processor   : 0
BogoMIPS    : 38.40
Features    : fp asimd evtstrm crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part    : 0xd03
CPU revision    : 0

root@dragonboard-410c:~#

and
root@dragonboard-410c:~# uname -a
Linux dragonboard-410c 4.4.23+linaro #1 SMP PREEMPT Sat Oct 15 09:52:50 CEST 2016 aarch64 aarch64 aarch64 GNU/Linux

Full dmesg: http://sprunge.us/UUXb
The krogoth branch at this commit:
commit cd38876d03bbe25e5baa623574088f67aea324e9
Author: Nicolas Dechesne<EMAIL_ADDRESS>Date:   Tue Oct 11 22:34:25 2016 +0100

    linux-linaro-qcomlt_4.4: update with Linaro 16.09 release

    * merged 4.4.23
    * switch to PSCI by default: so it requires the latest bootloader with PSCI
      enabled

    Signed-off-by: Nicolas Dechesne<EMAIL_ADDRESS>

This is very likely a firmware issue. This commit is a big change since we
are switching the platform to PSCI firmware.. So you need to update the tz
partition with the latest file from 16.09 bootloader/rescue release.
Le 16 oct. 2016 08:56, "Koen Kooi"<EMAIL_ADDRESS>a écrit :

I built and flashed an angstrom build yesterday and I get only one cpu:
root@dragonboard-410c:~# cat /proc/cpuinfo
processor   : 0
BogoMIPS    : 38.40
Features    : fp asimd evtstrm crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part    : 0xd03
CPU revision    : 0
root@dragonboard-410c:~#
and
root@dragonboard-410c:~# uname -a
Linux dragonboard-410c 4.4.23+linaro #1 SMP PREEMPT Sat Oct 15 09:52:50 CEST 2016 aarch64 aarch64 aarch64 GNU/Linux
Full dmesg: http://sprunge.us/UUXb
The krogoth branch at this commit:
commit cd38876d03bbe25e5baa623574088f67aea324e9
Author: Nicolas Dechesne<EMAIL_ADDRESS>Date:   Tue Oct 11 22:34:25 2016 +0100
linux-linaro-qcomlt_4.4: update with Linaro 16.09 release

* merged 4.4.23
* switch to PSCI by default: so it requires the latest bootloader with PSCI
  enabled

Signed-off-by: Nicolas Dechesne<EMAIL_ADDRESS>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ndechesne/meta-qcom/issues/28, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFwv3Otoaz2-Wxiypf61lgFNyZtmNlWks5q0cqagaJpZM4KX6Bm
.

In 16.09 there are two tz mbn:

tz.mbn
tz-psci.mbn

Are you stating we should use tz-psci.mbn instead of tz.mbn?

Loading tz-psci.mbn instead of tz.mbn fixes the problem.  I now see four cores.


NO-ISSUE: Optimize build-base-branch RPM build target

Sync the target code with the pattern used in other similar targets.
Besides removing unnecessary file system operations, the new code may be more efficient when the repo is mounted over NFS (building in-place and avoiding a costly mv operation).

Note: even after the fix, the times may fluctuate due to network dependency, etc.

Before the fix
$ for _ in $(seq 3) ; do sudo rm -rf ~/go ~/microshift/_output ; sudo sync; echo 3 | sudo tee /proc/sys/vm/drop_caches ; (time make -C test/ build-base-branch) 2>&1 | tail -3 ; done
3
real    4m9.657s
user    10m6.212s
sys     0m47.177s
3
real    3m59.904s
user    10m56.316s
sys     0m49.832s
3
real    4m14.363s
user    10m30.233s
sys     0m49.803s

After the fix
$ for _ in $(seq 3) ; do sudo rm -rf ~/go ~/microshift/_output ; sudo sync; echo 3 | sudo tee /proc/sys/vm/drop_caches ; (time make -C test/ build-base-branch) 2>&1 | tail -3 ; done
3
real    1m7.871s
user    0m37.844s
sys     0m15.516s
3
real    1m5.006s
user    0m39.223s
sys     0m16.604s
3
real    1m9.395s
user    0m39.089s
sys     0m16.795s

/lgtm

/test e2e-aws-tests-bootc


Friends menu/button improvements

add a filter for playing players only to the Friends menu (just like the one for the button)
instead of the TV (or maybe in combination?) icon shown for playing friends, use the icon of the type of game they are playing (if available)

TV Icon replacement introduced in v2.3.78


Add simple JAX API microbenchmarks.

This is mostly to serve as an example of benchmarking using the Google Benchmark Python bindings. It requires an install of the google-benchmark PyPi package.

Can you include in the PR/commit description the output of running the benchmarks?

Can you include in the PR/commit description the output of running the benchmarks?

Done


cmd/compile: add OpAMD64CMPptr and friends?

amd64.rules contains a fair number of rules that are conditional on config.PtrSize, to support amd64p32. See CL 46870 for a recent example. To reduce duplication, I suggest we add ops whose lowering depends on pointer size. So for example, instead of:
(IsInBounds idx len) && config.PtrSize == 8 -> (SETB (CMPQ idx len))
(IsInBounds idx len) && config.PtrSize == 4 -> (SETB (CMPL idx len))

we would have only:
(IsInBounds idx len) -> (SETB (CMPptr idx len))

where CMPptr is treated as CMPQ for amd64 and CMPL for amd64p32. Similarly so for other such duplicated rules.
Opinions or objections, @randall77 @cherrymui?

Sounds ok to me. You are, however, trading verbosity in some places for verbosity elsewhere.
You're removing a IsInBounds rule, but then you need a CMPconstptr op, rules to generate that op, etc.
It's not clear to me that it is a net win.  If it is, go for it.

No recent progress, seems like this is not setting anyone's hair on fire, moving to unplanned.


[Move] ObjectV2

After a period of practice, we found that the original Object mode programming experience was not very good, so we designed ObjectV2 to refactor it.
Borrow Object
Allow objects to be borrowed directly from global storage; do not bind the reference lifetime to &mut Context. Because if we bind lifetime to &mut Context, we can not borrow two objects at the same time.

Orignial
New

context::borrow_object(&ctx,ObjectID): &Object<T>
object::borrow_object(ObjectID): &Object<T>

context::borrow_mut_object(&mut ctx,ObjectID): &mut Object<T>
object::borrow_mut_object(ObjectID): &mut Object<T>

This feature is finished in #1373
To prevent users from borrowing two mut references to the same Object at the same time, we count the object reference count at runtime. #1401

New Object
If creating a new object dependent on the context, the developer must pass the Context argument from the entry function to the internal implementation. We can provide a simpler object-creating API.

Orignial
New

context::new_object(&mut ctx,T): Object<T>
object::new(T): Object<T>

context::new_named_object(&mut ctx,T): Object<T>
object::new_named_object(T): Object<T>

Dynamic fields
Support Object Dynamic fields like SUI

#1321
Unify the Table and Object based on Object Dynamic fields

Hierarchical Object Storage
To support the Stackable State(Stackable L2/L3), we need to support Hierarchical Object Storage.

New Object based on parent object::new_child(parent: &mut Object<PT>, T): Object<T>

There was a convention before that only functions with mut context parameters can modify the state. In objectV2, is this convention deactivated?

We will deprecate the Context parameter.


perf!: migrate the repo to imperative patterns

Pull Request Test Coverage Report for Build 68
Details

108 of 171 (63.16%)  changed or added relevant lines in 15 files are covered.
4 unchanged lines in 4 files lost coverage.
Overall coverage increased (+0.2%) to 73.883%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/cmark_base/runs.mbt
7
8
87.5%

src/cmark_base/link.mbt
8
10
80.0%

src/cmark_html/html.mbt
13
15
86.67%

src/cmark/mapper.mbt
1
4
25.0%

src/char/text.mbt
6
10
60.0%

src/cmark/inline_struct.mbt
14
19
73.68%

src/cmark_base/raw_html.mbt
6
28
21.43%

src/cmark/inline.mbt
11
35
31.43%

Files with Coverage Reduction
New Missed Lines
%

src/cmark_base/leaf_blocks.mbt
1
92.31%

src/cmark/inline.mbt
1
41.3%

src/cmark/inline_struct.mbt
1
74.83%

src/cmark/block_struct.mbt
1
80.0%

Totals

Change from base Build 67:
0.2%

Covered Lines:
1372

Relevant Lines:
1857

💛  - Coveralls


Updated the text for Expand/Collapse section to reflect new search ta…

Updated the text for Expand/Collapse section to reflect new search table options
Updated image to reflect the same on both Expand/Collapse section and Copy message section

Purpose of this pull request
This pull request (PR) ...
Issue number:

Select the type of change:

[x] Minor Changes - Typos, formatting, slight revisions
[x] Update Content - Revisions and updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, and new packages for the site, Gatsby, React, etc

@hganapathy , thanks for your edits! It looks like something became corrupted with the PR. I've moved your changes to a new PR to ensure nothing broken gets merged: https://github.com/SumoLogic/sumologic-documentation/pull/1879.


Check if asset exists

Is there a way I can check if an asset exists (db or file?) and if it does, have the option to skip it? I have 2 gigs of files which otherwise get downloaded which I'm trying to void if the file already exists.

Currently, if you select Upload files from urls, there's no checking for existing assets, which indeed does cause some issues.
Fortunately, the latest master greatly improves this, and checks for the same asset (with the same filename in the folder its destined for) before trying to upload it. Just ensure you pick Keep original, and you should be good to go.


GridSpace and GridPlot fixes

Fixes three bugs related to grids:

The outer axes label ordering of the grid (which was in some cases wrong)
Indexing on a GridSpace with non-numeric keys
Disable zooming on the GridPlot outer axes

Looks good though maybe you would like to add a unit test for indexing with non-numeric keys?

Probably for the others too.

Tests are green. Merging.


Introduce Prompt customization into config

This PR adds filePrompt, folderPrompt, chatPrompt, contentType, and targetAudience into the config to make prompts more flexible.
Ideally, in the future, you could choose some preset for code, developer docs, or other kinds of repositories.
I've checked that the whole doc init and doc index process still works, and moved the original prompts into the default config.
I'm not super used to typescript so I may have made some antipatterns along the way 😅
Super excited to see this tool grow further.

They thanks so much for taking this on! Every looks good at first glance. I'll take a deeper look in the morning and try to get it merged.

They thanks so much for taking this on! Every looks good at first glance. I'll take a deeper look in the morning and try to get it merged tomorrow.

My pleasure! Thanks for open sourcing this :)

I'm adding a filter for not including /blob/master/ in links if the user doesn't want to, since I want to direct users to the hosted docs site instead of the github! give me a sec

kk done


[WFLY-16779]: Take advantage of ARTEMIS-3682.

removing the check to detect bridge deployment failure and uses the
returned value instead.

Jira: https://issues.redhat.com/browse/WFLY-16779
Signed-off-by: Emmanuel Hugonnet<EMAIL_ADDRESS>

Thanks @ehsavoie


Unable to click an element as it does not scroll above the webpage footer

Are you requesting a feature or reporting a bug?
Bug
What is the current behavior?
The webpage under test has a footer and the button to be clicked scrolls and comes behind the footer. Due to this, testcafe is unable to click on the button and the script fails.
Workaround used: Tried to use a client function with “ScrollBy” function. This works inconsistently. Works in one environment but does not work on another test environment
What is the expected behavior?
The button scrolls up automatically into the browser viewport above the webpages footer and testcafe is able to click the button
How would you reproduce the current behavior (if this is a bug)?
Since I am unable to share our application under test in our test environment.  testcafe script with an sample website with similar footer and similar issue is provided below.
Provide the test code and the tested page URL (if applicable)
Attached testcafe script has the details
Tested page URL:
Test code
===================================
Testcafe sample code:
import { Selector } from 'testcafe';
import { ClientFunction } from 'testcafe';
fixture `Automation Testing Started...`

.page `https://www.fwd.com.sg`;

  const browserscroll = ClientFunction(function() {
    //  window.scrollBy(0, 100);
    window.scrollBy(0,1000)

      //document.scrollIntoView(true)
  })

test('Test', async t => {

  await t.maximizeWindow();
  await browserscroll();
  //await t.wait(5000);
	await t.click("body > nav:nth-child(2) > div.nav-container.top-nav.container-fluid > div.navbar-collapse.collapse > div > button");
	await t.click("#productListModalWrapper > div > div > div > ul > li:nth-child(2) > div.frame-container > svg");
	await t.click("#quickquestions > form > div:nth-child(1) > div:nth-child(2) > div > div.input-group__input > i");
	await t.click("#app > div.menu__content.menu__content--select.menu__content--auto.menuable__content__active > div > ul > li:nth-child(1) > a > div");
	await t.click("#TI_GetQuotepage_Next_1");
	await t.click("#TI_GetQuotepage_Promo_Skip");
	await t.click("#TI_QuoteSummarypage_Premium_Buy_Bottom");
	await t.click("#TI_BuyEnhacements_Continue_Yes"); // FAILS TO CLICK THIS BUTTON AS IT APPEARS BEHIND THE FOOTER
	await t.click("#coverage-list > ul > li:nth-child(4) > section > div.coverage__checkbox > div > div.input-group__input > div");
	await t.click("#TI_BuyEnhacements_Next_Submit");
	await t.typeText("#holder-form > div:nth-child(7) > div.flex.spinner-input.xs12.sm7 > input", "100060");
	await t.click("#traveller-details > div > div.consent > div.consent__checkbox > div > div.input-group__input > div");

})

===================================
Specify your

operating system: Windows 10 pro
testcafe version: 0.19.2 and 0.20.0
node.js version: 8.11.2
*Browser version: 67.0.3396.99 (Official Build) (64-bit)
*NPM: 5.6.0

Hi @srijitdas8, I've reproduced the problem.

Hi Guys....Any luck with the issue. Appreciate your help...Thanks

Hi @srijitdas8, I'm working on this.

Hi @srijitdas8
We've optimized the scrolling mechanism in context of https://github.com/DevExpress/testcafe/issues/2450 . It should also fix the current issue. Could you please check the issue with the latest (0.21.1) testcafe version?

hi @AlexKamaev, since upgrading from version 0.20.5 to 0.21.1 I suddenly started experiencing the same issue as #2450. This seems to be a new issue as of the newer versions, because on version 0.20.5 this was not a problem. In 0.20.5, it would scroll to avoid the fixed element, but I don't see that same scrolling behavior happening in 0.21.1.

Hi @edenadler
Would you please share your test page and test file? Could you also clarify in which browser you can reproduce the issue?

Hi @AlexKamaev. I'm not able to share the test page and file, but I found a solution to the problem. The problem was that it is only scrolling horizontally but not vertically. I can submit a pull request for it. Since #2450 is already closed, let me know what ID I should submit it with.

I'm happy to hear that you solved the issue. If you think that the issue is connected with #2450 you can submit your PR with its ID. I'll take a look at your PR and review it, otherwise you are free to open the separate issue and push there.

@AlexKamaev PR submitted https://github.com/DevExpress/testcafe/pull/2812

Thanks, I'll take a look

I've reviewed the PR and found that you toggle scrollDirection on every step of the cycle. However, the idea of the algorithm is to move horizontally from the left to the right and try to detect that the element is visible. If the element is not visible on the whole horizontal line, then the algorithm increases the vertical margin and so on.
If you cannot share a real page of your project, could you please provide us with a simple example based on your real page to demonstrate the issue?

I'm closing this since there was no activity here for a long time. Feel free to reopen the issue if it's still actual.

any update for this issue? i don't think it's solve. I face the same issue

@juliusgonawan Could you please clarify what TestCafe version you are using? If you can reproduce the issue with the latest version, could you share your test project and code?

We are also experiencing a similar issue. Tests started failing after we introduce a sticky footer.
When I run tests in UI mode and scroll manually when it reaches to the end of screen size, tests are working fine. But without the manual scrolling and in headless mode, it doesn't scroll after filling first elements appear on the screen and tests start failing.
Version: 0.23.1

@eaorak, could you please provide an example of a webpage and test code I could use to reproduce this behavior.
I've tried testing a random website with a sticky footer with TestCafe v0.23.2. When I run my test in the UI mode, TestCafe seems to scroll to an element behind the footer automatically, I didn't have to scroll manually within a client function.
As to the headless mode, I haven't found good content that would allow me to ensure that TestCafe scrolls down correctly and clicks the correct element.
So, it would be of great help if you send a reproducible example.

I am having similar issue here - clientFunction scrollby does not work for me, but I can get by from doing either resizeWindow or call hover with offset but should not be the permanent solution though.

We are also experiencing a similar issue and have included an example file with a test below:
example.txt
test('Unable to click element subsumed by fixed footer', async (t) => {
	await t
		.resizeWindow(1500, 1000)
		.click('#food-select')
		.click('#food-select option:nth-child(2)')
		.click('#vehicle-select')
		.click('#vehicle-select option:nth-child(2)');
});

Specify your

operating system: Windows 10
testcafe version: 1.1.0
node.js version: 10.11.0
browser version: 75.0.3770.80 (Official Build) (64-bit)

Happy to provide additional information if helpful.

@tbcoyle
I was not able to reproduce the issue in your example in Chrome, but I managed to reproduce it in Firefox. I'll reopen the issue for further research.
I greatly appreciate your providing the sample.

@AlexKamaev
Thank you for investigating. It is odd that the issue seems to be reproducible only in Firefox, as I am using Chrome. Perhaps there is an issue with my example file.
Please see below another example on a live site (note - I am running with "skipJsErrors": true):
import {Selector as $} from 'testcafe';

fixture`Testcafe 2601`
	.page`https://www.kcrw.com`;

test('Case A - Click fails - target element is within window but fully subsumed by fixed footer', async (t) => {
	const TARGET_INDEX = 4; // svg.icon-more is WITHIN window for 4th index

	await t
		.resizeWindow(1500, 800)
		.click('a.logo-link')
		.click('#nav-playlist')
		.click($('div.track.clearfix:not(.episode_Break)').nth(TARGET_INDEX).find('svg.icon-more'));

	await t
		.wait(2000)
		.expect(await $('div.track.clearfix.expanded').count)
		.eql(1, 'Successfully clicked the more-info arrow and expanded row');
});

test('Case B - Click succeeds - target element is below window and scroll occurs successfully', async (t) => {
	const TARGET_INDEX = 5; // svg.icon-more is BELOW window for 5th index

	await t
		.resizeWindow(1500, 800)
		.click('a.logo-link')
		.click('#nav-playlist')
		.click($('div.track.clearfix:not(.episode_Break)').nth(TARGET_INDEX).find('svg.icon-more'));

	await t
		.wait(2000)
		.expect(await $('div.track.clearfix.expanded').count)
		.eql(1, 'Successfully clicked the more-info arrow and expanded row');
});

Here is what I see for Case A:

Testcafe navigates to page
Testcafe "Waiting for element to appear..." message shows up on the shadow ui bar
Testcafe waits for specified timeout period
Testcafe clicks the position on the fixed footer corresponding to the target element's position on the page

The issue in this example is that Testcafe should have scrolled before clicking in step 4. With Case B, you can see that Testcafe does indeed scroll before clicking, which is the intended behavior. The difference between Case A and Case B is simply that in Case A the target element is contained within the current window (but hidden beneath the fixed footer), whereas in Case B the target element is below the window.
Given the above, I would suspect that the mechanics of scrolling is working properly - the issue may be with deciding under what conditions a scroll should occur.
I did a little more investigating and found that the issue appears to have been introduced between Testcafe v0.22.0 and v0.23.0. I am seeing the test for Case A passing in v0.22.0 and failing in v0.23.0.
Please let me know if I can provide any additional information - we are motivated to be helpful as we are stuck in v0.22.0 for now.

@tbcoyle
Thank you for another example. I was able to reproduce the issue in Chrome. I hope to fix it in the near future.

@tbcoyle
I researched both your examples and found that they have different causes. So I created a separated ticked for this one https://github.com/DevExpress/testcafe/issues/2601#issuecomment-502809500
Please refer to it https://github.com/DevExpress/testcafe/issues/3924

@AlexKamaev I am surprised! I have the same problem in Chrome, Firefox and Opera. It only works in Edge and Safari. Page doesn't scroll to element and tests are always failed.
This is a basic function. How can this not work?

@Krappt
If your scenario is the same as @tbcoyle has, this means that page markup has some specifics, which break our calculations. I'm working on this right now, so I hope to provide a fix soon.


HRTB WF ambiguity

pub struct Bar
where
    for<'a> &'a mut Self:;

fn main() {}

Errors out in ambiguity:
error[E0282]: type annotations needed
 --> <source>:5:13
  |
5 |     for<'a> &'a mut Self:;
  |             ^^^^^^^^^^^^ cannot infer type for mutable reference `&'a mut Bar`
  |
note: required by a bound in `Bar`

This happens when checking that Bar is WF... so what's going on there?!

opened it as https://github.com/rust-lang/rust/issues/109764. should change the test to have revisions and be known-bug with the new solver


BR_GetMediaTrackByGUID: support any project tab (not just the current one)

reported by X-Raym via Slack:
https://app.slack.com/client/T0HQ3KQUQ/C0XA86FML/thread/C0XA86FML-1605548134.190000
BR_GetMediaTrackGUID() doesn't seem to work for tracks in background projects either (as doesn't native GetTrackGUID()), but it seems to be a REAPER API bug, as it doesn't seem to evaluate the track pointer as valid (see pic).
I've added a note in the API doc, we could also (additionally) mark it as deprecated (in favour of the native GetTrackGUID()?

reaper.Undo_BeginBlock()
proj = reaper.EnumProjects(1) -- second tab
t = reaper.GetTrack(proj, 3)
r, n = reaper.GetTrackName( t )
validate = reaper.ValidatePtr2(proj,t, 'MediaTrack*')
GUID_GetTrackGUID = reaper.GetTrackGUID(t)
GUID = reaper.BR_GetMediaTrackGUID (t)
retval, GUID_MediaTrackInfo = reaper.GetSetMediaTrackInfo_String( t, "GUID", '', false )

a_track_by_GUID = reaper.BR_GetMediaTrackByGUID( proj, GUID )

reaper.Undo_EndBlock("a", -1)

:white_check_mark: Build sws 400-master completed (commit https://github.com/reaper-oss/sws/commit/254dcd3cb3 by @nofishonfriday)

Windows 64-bit

build/BuildUtils/SWS_Template.ReaperLangPack
build/BuildUtils/whatsnew.html
build/reaper_sws-x64.pdb
build/sws-<IP_ADDRESS>-Windows-x64-br-getmediatrackbyguid-support-any-project-tab-254dcd3c.exe

Windows 32-bit

build/BuildUtils/SWS_Template.ReaperLangPack
build/BuildUtils/whatsnew.html
build/reaper_sws-x86.pdb
build/sws-<IP_ADDRESS>-Windows-x86-br-getmediatrackbyguid-support-any-project-tab-254dcd3c.exe

Linux x86 64-bit

build/sws-<IP_ADDRESS>-Linux-x86_64-br-getmediatrackbyguid-support-any-project-tab-254dcd3c.tar.xz

Linux x86 32-bit

build/sws-<IP_ADDRESS>-Linux-i686-br-getmediatrackbyguid-support-any-project-tab-254dcd3c.tar.xz

Linux ARM 64-bit

build/sws-<IP_ADDRESS>-Linux-aarch64-br-getmediatrackbyguid-support-any-project-tab-254dcd3c.tar.xz

Linux ARM 32-bit

build/sws-<IP_ADDRESS>-Linux-armv7l-br-getmediatrackbyguid-support-any-project-tab-254dcd3c.tar.xz

BR_GetMediaTrackGUID() doesn't seem to work for tracks in background projects either (as doesn't native GetTrackGUID()), but it seems to be a REAPER API bug

This comes from the ValidatePtr2 check at sws_utils.cpp:280. BR_GetMediaTrackGUID could be fixed by passing the track's project (P_PROJECT) to TrackToGuid.

BR_GetMediaTrackGUID could be fixed by passing the track's project (P_PROJECT) to TrackToGuid.

That's a nice idea, thanks, but - GetMediaTrackInfo_Value() returns a double, how do I convert it to a ReaProject (no successs so far what I tried)?

ReaProject *proj = static_cast<ReaProject *>(GetSetMediaTrackInfo(track, "P_PROJECT", nullptr));

This would fix the function itself not supporting tracks from background projects. The REAPER-side validation issue of "expected MediaTrack*" will remain though (I didn't notice that before).
In my opinion this function should be deprecated in favor of GetSetMediaTrackInfo_String.

:white_check_mark: Build sws 401-master completed (commit https://github.com/reaper-oss/sws/commit/1747956132 by @nofishonfriday)

Windows 64-bit

build/BuildUtils/SWS_Template.ReaperLangPack
build/BuildUtils/whatsnew.html
build/reaper_sws-x64.pdb
build/sws-<IP_ADDRESS>-Windows-x64-br-getmediatrackbyguid-support-any-project-tab-17479561.exe

Windows 32-bit

build/BuildUtils/SWS_Template.ReaperLangPack
build/BuildUtils/whatsnew.html
build/reaper_sws-x86.pdb
build/sws-<IP_ADDRESS>-Windows-x86-br-getmediatrackbyguid-support-any-project-tab-17479561.exe

Linux x86 64-bit

build/sws-<IP_ADDRESS>-Linux-x86_64-br-getmediatrackbyguid-support-any-project-tab-17479561.tar.xz

Linux x86 32-bit

build/sws-<IP_ADDRESS>-Linux-i686-br-getmediatrackbyguid-support-any-project-tab-17479561.tar.xz

Linux ARM 64-bit

build/sws-<IP_ADDRESS>-Linux-aarch64-br-getmediatrackbyguid-support-any-project-tab-17479561.tar.xz

Linux ARM 32-bit

build/sws-<IP_ADDRESS>-Linux-armv7l-br-getmediatrackbyguid-support-any-project-tab-17479561.tar.xz

Thanks for your work on this !
I second the use of GetSetMediaTrackInfo_String, GetTrackGUID doesn't work with other project tab.
For info, the BR_GetMediaItemByGUID function seems to works.


Can't debug WASM with code behind components

Describe the bug
When using RadzenButton, no break points are being hit when using a code behind (ie. MyComponent.razor.cs) instead of having the C# code directly in the razor file in Blazor WASM.
To Reproduce
Steps to reproduce the behavior:

Create MyComponent.razor and add the following code to a razor file:
<RadzenButton @onclick="IncrementCount" Text="@CurrentCount.ToString()"></RadzenButton>
Create MyComponent.razor.cs, make it partial
Add the following code to MyComponent.razor.cs

public int CurrentCount { get; set; } = 1;

public void IncrementCount(MouseEventArgs e)
{
    CurrentCount++;
}

Set a break point in IncrementCount
Debug the wasm app and navigate to a page containing your component
Click the Button
Note that the breakpoint is not being hit
Change the code in the razor file to the following
<button @onclick="IncrementCount">@CurrentCount.ToString()</button>
Debug, click the button, note that the break point is hit

Expected behavior
I would expect to be able to hit a break point using Radzen components when using a code behind cs file.
Desktop (please complete the following information):

OS: Windows 10 Pro
Browser Edge
Version 88.0.705.50
Visual Studio 2019 16.8.4

Additional context
I also tried in Visual Studio 2019 Preview.

Try with Click as in our online demo.
<RadzenButton Click=@IncrementCount />

Try with Click as in our online demo.
<RadzenButton Click=@IncrementCount />

I thought I did try that but I will try it again and let you know.

That did it. It appears that there is quite a delay between when the app loads and when the debugger is ready to hit a breakpoint!


searching in python

Add Searching algorithm in python

make it easy to understand for beginners

Two searching algorithms

binary search
linear search

thank you

pull #65

PR merged


Add more translations (e.g. French, Turkish)

Current Implementation

Currently only German (and English, kind of?) are supported.
Suggested Enhancement

We should add the most spoken languages for immigrants (Turkish, Arabic) and also languages for our neighbor countries who should use the app when they come to Germany (French, Dutch, Polish).
We should probably add support for a Translation Management System like Lokalise or Transifex (which both are free for open source projects) to make contributions here easier (for example I could ask my wife who's not a developer to provide Turkish translations then). I could set this up myself if you agree.
Expected Benefits

Immigrants will be able to understand the app in their native language. This is especially important because they might not know as much about the latest news as native speakers, so we should help them within the apps at least.
Also the borders in Germany will not be closed and people are entering Germany and those people should be able to use this app as well because they also come in contact with people in Germany.

How about Danish?

@WiseWomanVP Sure, of course the languages I mentioned are just examples. We should as many as possible, I'd say if you are willing to provide them in Danish, it shouldn't be a problem to add them once a translation manager is configured.

A small update from our side: Other, officially supported languages beyond English and German will most certainly come much earlier than expected, not for the first version, but straight afterwards.
Once the final list of officially supported languages (you won't be disappointed most certainly ;)) is there, we will publish that list and also ask you all if there are additional ones which you would like to have supported and could translate and choose one or two to kick-start and work on a community translation process.
The point is that we still have quite some things to clarify as many UI texts and especially privacy notice, EULA and related things are legally binding documents, so they need to be 100% correct. But I'm quite confident that we will find a solution...
More updates will follow as soon as we have them. Thanks, colleagues!
Mit freundlichen Grüßen/Best regards,
SW
Corona Warn-App Open Source Team

Need someone for Turkish translation? .. :)

I know a friend who knows Arabic and I'm fluent in Vietnamese. I guess you could add more locales by simply adding a values-[YOUR LOCALE]/strings.xml to Corona-Warn-App/src/main/res/. Copy and paste the contents of Corona-Warn-App/src/main/res/values-de/strings.xml to your strings.xml and edit the copy.

@pr1metine while the way with "values-(locale)" is correct, I would assume
that SAP/Telekom will use internal processes for the initial translations
and review. After these internal processes have taken place, the
translations will be added to the app and a community text review like
https://github.com/corona-warn-app/cwa-app-android/issues/332 will take
place.
Please note that these are only assumptions - however, a similar process
was followed for German and English.
On Mon, 15 Jun 2020, 08:43 Thanh<EMAIL_ADDRESS>wrote:

I know a friend who knows Arabic and I'm fluent in Vietnamese. I guess you
could add more locales by simply adding a values-[YOUR LOCALE]/strings.xml
to Corona-Warn-App/src/main/res/. Copy and paste the contents of
Corona-Warn-App/src/main/res/values-de/strings.xml to your strings.xml
and edit the copy.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/corona-warn-app/cwa-app-android/issues/86#issuecomment-643935824,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAM6YFDHCREPI7QSOQ6CFTDRWW7KNANCNFSM4NQA6KQQ
.

For me applications is shown in English language even though Languages settings has "Russian" and "Deutch" (exactly in that order). I assume that app picks first language from that list and falls back to English. Is there a workaround to see app in German, besides moving "Deutsch" to the 1st place?

so at the moment, are user-contributed translations for more exotic languages welcome? they could be submitted as merge request changes of the strings.xml

You should wait until they release the list of all officially supported ones.

@Freundschaft you'd also need to translate the EULA and other legal stuff.

Hi I could Contribute with Albanian language - I know English, German and Albanian 👌 is there some text resource list for the entire app? are there images which has text? ping me if interested 😊

Unfortunately, we still don't have a final list of upcoming languages, but you certainly heard the announcement which was made on the release press conference last week. As it turns out, also the management of additional languages is sightly more complicated than originally expected (once again the legal stuff). So there are no additional updates so far.
To show that these additional languages will definitely come in one of the next releases, but can't be implemented directly, we move this issue to the cwa-backlog repository.
The issue will move back to the development repository once the agreement with the contracting parties has been reached that it's due to be implemented shortly.
Mit freundlichen Grüßen/Best regards,
SW
Corona Warn-App Open Source Team


Add slot option to form element

Makes is easy to add hidden fields

Gday @keevitaja
Thanks for this idea, could you possibly contribute some documentation so that people know how to use this feature?

Hi!
I am not sure if it deserves a dedicated section in the docs, but perhaps this would work:
    <dropzone id="myVueDropzone" url="https://httpbin.org/post" v-on:vdropzone-success="showSuccess">
        <!-- Optional parameters if any! -->
        <input type="hidden" name="token" value="xxx">
    </dropzone>

Hey @keevitaja ,
It's really useful feature when we are using multiple dropzone components on same page / Vue, Also wants to pass tokens and other stuff.
Let's add docs in README.

Thanks @keevitaja . 👍