refactor

This is a code refactor(with personal taste) PR.

fix https://github.com/Ulyssedev/Rust-undetected-chromedriver/issues/5
add mac aarch64
remove all unwraps
cargo fmt and cargo clippy
favour tracing over println!

Hey, thanks a lot for contributing, the changes are looking great!
I have a concern regarding the renaming of the chrome function to chrome_driver, the Chrome trait to ChromeDriver, and the new function to web_driver. While consistency is important, these changes might impact existing codebases that use this crate. Could you please provide more context on the reasoning behind these naming changes?
Other than that, the refactor looks promising and will be merged soon, thanks again!

renaming of the chrome function to chrome_driver

fn chrome is actually returning a WebDriver and it is not concise of what it is about.

the Chrome trait to ChromeDriver

Similar to above, the trait is actually about chrome driver, not Chrome.

and the new function to web_driver

For some reason I cannot reproduce the problem on my laptop which I had this morning on a different computer.
But I can illustrate the problem here
But in generally, I believe chrome, chromedriver and webdriver are really confusing. This library mainly focus on chrome driver only and of course thrityfour::WebDriver is more than just chrome driver. I do have the tendency to make it consistent, maybe just use chromdriver at all or stick to webdirver but I have no preference at this moemnt.
I admit I didn't have backward compatability in my mind for too long but I thought we were still in the early stage and the Chrome trait was just less than 24 hours old.
Please feel free to request changes.


Comments in IntelliJ, can we have line breaks please, the comments are rather difficult to read!

Using the latest Dart and IntelliJ as of 13/1/2021

Documentation comments follow markdown conventions. To have two separate paragraphs, add a blank line between them:
/// stuff1
///
/// stuff2
class MyClass {}

Documentation comments follow markdown conventions. To have two separate paragraphs, add a blank line between them:
/// stuff1
///
/// stuff2
class MyClass {}


Suggestion: Allow BondTypeAliasConverter to sit in the namespace, where the alias was defined

In issue #279, there was a discussion about allowing BondTypeAliasConverters to be re-used in various places.
In our scenario, I am trying to make a central BondExtensions.bond with a few type aliases like decimal = blob and DateTime = int64.
Now, the converter cannot sit in the assembly/namespace of DateTime or decimal. So therefore, even though, I can import my BondExtensions.bond, I cannot really use it, because the converter is missing and needs to be copy&pasted to every namespace.
In this issue, you requested a design proposal, how to add the support. How about either one of those:

Allow the c# bond reflection code to find any public static method on the class, not just the ones specifically defined in the class, but also inherited ones. The BondTypeAliasConverter need not be a static class. This is already true today. So by finding also inherited members, we can implement the converter by something like:

public class BondTypeAliasConverter : BondExtensions.BondTypeAliasConverter {}

without code duplication.

Allow the BondTypeAliasConverter to sit also in the namespace of where the alias was declared as opposed to used, i.e. BondExtensions.

Feedback welcome.

We appear to have missed this issue. Sorry about that.
I think we should do both, but independently.
The first one is relatively easy to implement. It's some adjustments to the code that resolves the convert method, additional test cases, and updated documentation.
I don't see how to implement the second one without some additional metadata on the fields. The namespace in which the converter is defined is erased by the time the C# code is generated. Conceptually, something like this would be needed:
[Schema]
class Foo
{
    [Id(0)]
    [Type(string)]
    [AliasNamespace("BondExtension")]
    DateTimeOffset ConvertedField { get; set; }
}

But, if we're going to add more metadata, it feels cleaner to just have an attribute like [Converter(typeof(TheConverterType))].
[Schema]
class Foo
{
    [Id(0)]
    [Type(string)]
    [ConverterType(typeof(TheConverterType)]
    DateTimeOffset ConvertedField { get; set; }
}

and this would be generated by something like gbc c# --using=DateTime=DateTimeOffset:TheConverterType. Let's call that strawman syntax for now.
Thoughts?


Phalkethoh datasets

Description
this modifies some of the curation scripts to provide different variations of the phalkethoh dataset, including removing high force conformers
Status

[x] Ready to go

this made minimal changes, only generating different variants of the phalkethoh dataset.  I'm going to just merge it.


Datepicker in measurement form does not work

This is related to #878. The form's JS is needed, but when inserted, the layout is broken.

This issue is true for the current system in production, but seems to be no longer an issue with the current develop branch.
I'm about to release it as new version 0.92.1. @21121995 , before you dig more deeply into this, please try the current develop branch or wait if this is still a problem when the new release is in production.

After installing the new version 0.92.0, the datepicker actually works. It does not appear when clicking on the date itself,
but I think that's okay for now. Closing.

okay
On Fri, Dec 16, 2022 at 12:20 PM Michael Röttger @.***>
wrote:

After installing the new version 0.92.0, the datepicker actually works. It
does not appear when clicking on the date itself,
but I think that's okay for now. Closing.
—
Reply to this email directly, view it on GitHub
https://github.com/ContactEngineering/TopoBank/issues/879#issuecomment-1354586502,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHBOVGKAD32XPVM4TIZJDFLWNRGA3ANCNFSM55WNTE6Q
.
You are receiving this because you were mentioned.Message ID:
@.***>


Update byos.md

Generation 2 is supported on Azure for 6 + months now

@mathapli : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@mathapli: I'm sorry - only the author of this article, @asinn826, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@asinn826, you can only sign off in the main PR conversation, not in review comments.

Hi @mathapli - This pull request was opened in the public repo. PMs should work in the private repo, per the Microsoft Docs contributor guide. Would you make future content updates in the private repo? Thank you!


Bug bounty test - PLEASE DO NOT APPROVE. jxprgz

Bug bounty test - PLEASE DO NOT APPROVE. jxprgz

Spam pull request


Fix deployment scripts

Description
Modifies the deployment scripts so that they can be run locally on hardhat.
These deployment scripts don't correctly deploy markets and the comptroller. They are meant to be used locally only. I added skips for the scripts that are not production ready

deployments.get doesn't seem to be working. For example I get this error: Error: No deployment found for: AccessControlManager

How are you seeing this error? I can yarn hardhat deploy and didn't see any issues


Accessing PropTypes via the main React package is deprecated

https://github.com/souhe/reactScrollbar/issues/93

Hm...
$ npm run test

><EMAIL_ADDRESS>test ***/reactScrollbar
> karma start karma.config.js --single-run --browsers PhantomJS

START:
07 07 2017 21:56:03.461:INFO [karma]: Karma v1.7.0 server started at http://<IP_ADDRESS>:9876/
07 07 2017 21:56:03.467:INFO [launcher]: Launching browser PhantomJS with unlimited concurrency
07 07 2017 21:56:03.573:INFO [launcher]: Starting browser PhantomJS
07 07 2017 21:56:05.504:INFO [PhantomJS 2.1.1 (Windows 7 0.0.0)]: Connected on socket dwAPRufX95Hy6Sc-AAAA with id 48787256
PhantomJS 2.1.1 (Windows 7 0.0.0) WARN: 'Warning: ReactTestUtils has been moved to react-dom/test-utils. Update references to remove this warning.'
ERROR: 'Warning: Shallow renderer has been moved to react-test-renderer/shallow. Update references to remove this warning.'
  ScrollArea component
    √ Should render children and both scrollbars
    √ Should render with tabindex set
    √ Could render only vertical scrollbar
    √ Could render only horizontal scrollbar
    √ Should change content element class when contentClassName prop is used
    √ Should have proper element style when contentStyle prop is used
    √ Should have proper scrollbars styles
    √ normalizeTopPosition() should returns proper value
    √ normalizeLeftPosition() should returns proper value
    √ handleWheel method work properly when scrolling down
    √ handleWheel method work properly when scrolling up and actual topPosition is 0
    √ handleWheel method work properly when scrolling down more then content height
    √ handleWheel method work properly when scrolling right
    √ handleWheel method work properly when scrolling left and actual leftPosition is 0
    √ handleWheel method work properly when scrolling right more then content height
    √ handleWheel method should scroll down on scrollRight wheel event when revertWheelAxes prop is set to true
    √ handleWheel method should scroll down on scrollRight wheel event when revertWheelAxes prop is set to true
    √ handleKeyDown method works properly when pressing key down
    √ handleKeyDown method works properly when pressing key right
    √ handleKeyDown method works properly when pressing key page down
    √ handleKeyDown method should not scroll if input element is selected
    √ scrollBottom() method should work when content is smaller then container
    √ scrollBottom() method should scroll to bottom
    √ scrollBottom() should be impossible when there is disabled vertical scroll
    √ scrollRight() method should work when content is smaller then container
    √ scrollRight() method should scroll to right
    √ scrollRight() should be impossible when there is disabled horizontal scroll
    √ scrollLeft() method should scroll to left
    √ scrollTop() method should scroll to top
  ScrollBar component
    √ Vertical should have proper class
    √ Vertical should have proper container styles
    √ Vertical should have proper scrollbar styles
    √ Horizontal should have proper class
    √ Horizontal should have proper container styles
    √ Horizontal should have proper scrollbar styles
    √ ScrollBar should be in proper position
    √ ScrollBar should have proper size
    √ Should propagate onMove event after move vertical scrollbar
    √ Should propagate onMove event after move horizontal scrollbar
    √ Should propagate onMove event multiple times
    √ Should be possible to set min scrollbar size
    √ Method calculateFractionalPosition should work properly for realSize: 300, containerSize: 100, position: 0
    √ Method calculateFractionalPosition should work properly for realSize: 300, containerSize: 100, position: 200
    √ Method calculateFractionalPosition should work properly for realSize: 300, containerSize: 100, position: 200
    √ Method calculateFractionalPosition should work properly for realSize: 160, containerSize: 80, position: 20
    √ Position of scrollbar should be proper when minScrollBarSize is set
    √ vertical scrollbar container click should move scrollbar
    √ vertical scrollbar container click should move scrollbar when minScrollbar size is set
    √ horizontal scrollbar container click should move scrollbar
    √ horizontal scrollbar container click should move scrollbar when minScrollbar size is set
  utils
    positiveOrZero
      √ should return the same value for positive
      √ should return 0 for 0 as argument
      √ should return 0 for for negative argument value
    modifyObjValues
      √ should return object with modified all keys
      √ should return the same object when no second argument
    isReact13
      √ should return true for React 0.13

Finished in 0.021 secs / 0.098 secs @ 21:56:05 GMT+0300 (Московское время (зима))

SUMMARY:
√ 56 tests completed

@mishantrop hey, thanks for your work but I cannot merge it. The build is failing, there are too many changes (almost everything is changed) for one PR. You even changed example app link and copyrights.

Of course, my pull request was a little bit smaller a half year ago.
Anyway, thanks for your work too. I just trying to maintain this component for some project, because your one is outdated.

Right, it is a little bit outdated. I have a plans update this lib to make it works better :) I'm starting today!


LSP-SAMPLE broken

The LSP-SAMPLE appears to be broken. When downloading sample and running npm run compile you get various errors. Errors can be fixed by adding 'DOM' to the 'lib' in the client and server 'tsconfig.json'. Additionally you have to run npm install<EMAIL_ADDRESS>--saveDev for everything to work.

I updated the dependencies and tested the extension and it works for me now. See https://github.com/microsoft/vscode-extension-samples/pull/826


19.09 Release issues

DATA PIPELINE

[x] Issue with the name of the temporary file
Info: The issue was related with the temporary file and the delete option set to False.
State: FIXED
[x] Anydbm fails when the key is unicode
Info: issue related with py3 and py2 (string vs unicode)
State: FIXED
[x] Elastic Search returns 10000 hits by default. (raised by Search step)
Info: Elastic search DSL uses extra to add the field track_total_hits
Eg. extra(track_total_hits=True)
State: FIXED (tbc)
[x] Uniprot_ids not complete in OT:
Info: https://github.com/opentargets/platform/issues/701
State: FIXED
[ ] Duplicated labels in facets:
https://github.com/opentargets/platform/issues/729
State: Progress

REST API

[x] Besthit endpoint result was wrong
State: FIXED
[x] Stats main page wrong
Added a new query (elastic search stats. track_total_hits is not precise)
State: FIXED
[x] Elastic Search returns 10000 hits by default.
** Different endpoint evidence
Info: the solution is add track_total_hits
Status: FIXED (tbc)
[x] Fix free text search
The query was not working with ES7 (fixed with MC)
Status: FIXED (tbc)
[x] The association and evidence dumps contain only 10000 entries
Info: Missing track_total_hits
Status: FIXED (tbc)
[ ] DrugEvidence issue:
Info: https://github.com/opentargets/platform/issues/682#issuecomment-528287215
Adam is fixing it
Status: Progress

INFRASTRUCTURE

[x] ES7 Snapshot not created. Issue with IP/DNS docker image
https://github.com/opentargets/platform/issues/663
Info: Moved the curl POST in the mcp script
Status: FIXED (tbc)

Ticket closed as #682 and #729 have been moved to the 19.11 release milestone


Logging error with reason normal

Environment

VerneMQ Version: 1.11.0
OS: Ubuntu 18.04
Erlang/OTP version (if building from source): NA
VerneMQ configuration (vernemq.conf) or the changes from the default
`Configuration

accept_eula = yes
allow_anonymous = off
allow_register_during_netsplit = on
allow_publish_during_netsplit = on
allow_subscribe_during_netsplit = on
allow_unsubscribe_during_netsplit = on
allow_multiple_sessions = off
coordinate_registrations = off
retry_interval = 20
max_client_id_size = 100
max_inflight_messages = 1
max_online_messages = 50000
max_offline_messages = 0
max_message_size = 0
upgrade_outgoing_qos = off
max_message_rate = 10
max_drain_time = 20
listener.max_connections = infinity
listener.nr_of_acceptors = 20000
listener.http.default = <IP_ADDRESS>:8888
listener.ws.default = <IP_ADDRESS>:9001
listener.tcp.default = <IP_ADDRESS>:1883
listener.tcp.allowed_protocol_versions = 3,4,5
listener.vmq.clustering = <IP_ADDRESS>:44053
systree_enabled = on
systree_interval = 20000
graphite_enabled = off
shared_subscription_policy = random
plugins.vmq_passwd = on
plugins.vmq_acl = on
plugins.vmq_diversity = off
plugins.vmq_webhooks = on
plugins.vmq_bridge = off
metadata_plugin = vmq_plumtree
vmq_acl.acl_file = /etc/vernemq/vmq.acl
vmq_acl.acl_reload_interval = 10
vmq_passwd.password_file = /etc/vernemq/vmq.passwd
vmq_passwd.password_reload_interval = 10
log.console = file
log.console.level = info
log.console.file = /vernemq/logs/console.log
log.error.file = /vernemq/logs/error.log
log.syslog = off
log.crash = on
log.crash.file = /vernemq/logs/crash.log
log.crash.maximum_message_size = 64KB
log.crash.size = 10MB
log.crash.rotation = $D0
log.crash.rotation.keep = 5
nodename = VerneMQ
erlang.async_threads = 1024
erlang.max_ports = 524288
leveldb.maximum_memory.percent = 60
erlang.distribution.port_range.minimum = 9100
erlang.distribution.port_range.maximum = 9109
erlang.schedulers.compaction_of_load = true
erlang.schedulers.utilization_balancing = true

`

Cluster size/standalone: 5

Actual behaviour
We see below logs on VerneMQ in console and crash log as CRASH REPORT, in exited with reason: normal is given and the same is printed in error logs, are we missing something here or there is issue with logging.
`
2021-04-12 16:15:52.135 [error] <0.19583.2227> CRASH REPORT Process <0.19583.2227> with 0 neighbours exited with reason: {normal,{gen_fsm,sync_send_event,[<0.21084.2227>,{add_session,<0.19583.2227>,#{allow_multiple_sessions => true,cleanup_on_disconnect => true,is_plugin => false,max_drain_time => 20,max_msgs_per_drain_step => 100,max_offline_messages => 0,max_online_messages => 50000,queue_deliver_mode => fanout,queue_type => fifo}},infinity]}} in gen_fsm:sync_send_event/3 line 255
2021-04-12 16:21:37.034 [error] <0.8572.2223> CRASH REPORT Process <0.8572.2223> with 0 neighbours exited with reason: {normal,{gen_fsm,sync_send_event,[<0.29295.2228>,{add_session,<0.8572.2223>,#{allow_multiple_sessions => true,cleanup_on_disconnect => true,is_plugin => false,max_drain_time => 20,max_msgs_per_drain_step => 100,max_offline_messages => 0,max_online_messages => 50000,queue_deliver_mode => fanout,queue_type => fifo}},infinity]}} in gen_fsm:sync_send_event/3 line 255
2021-04-12 16:22:25.692 [error] <0.29009.2228> CRASH REPORT Process <0.29009.2228> with 0 neighbours exited with reason: {normal,{gen_fsm,sync_send_event,[<0.17946.2229>,{add_session,<0.29009.2228>,#{allow_multiple_sessions => true,cleanup_on_disconnect => true,is_plugin => false,max_drain_time => 20,max_msgs_per_drain_step => 100,max_offline_messages => 0,max_online_messages => 50000,queue_deliver_mode => fanout,queue_type => fifo}},infinity]}} in gen_fsm:sync_send_event/3 line 255
2021-04-12 16:25:06.330 [error] <0.15069.2229> CRASH REPORT Process <0.15069.2229> with 0 neighbours exited with reason: {normal,{gen_fsm,sync_send_event,[<0.10276.2230>,{add_session,<0.15069.2229>,#{allow_multiple_sessions => true,cleanup_on_disconnect => true,is_plugin => false,max_drain_time => 20,max_msgs_per_drain_step => 100,max_offline_messages => 0,max_online_messages => 50000,queue_deliver_mode => fanout,queue_type => fifo}},infinity]}} in gen_fsm:sync_send_event/3 line 255
`

@pijain
interesting, you might hit an intentional exit here while adding sessions to a queue, related to the "allow_multiple_sessions" feature. Note that this feature is fully deprecated as it has introduced various issues, i.e. you should not use it. Is there a specific reason you are trying to use it?
 :point_right: To use the VerneMQ binary packages commercially, you'll need a paid subscription with us. If you have to set accept_eula=yes to make VerneMQ start, you are using a binary package.


[Request] removeAttr :)

Hello and thank you for repairing the previous bug, I want to know if is possible to remove an attribute from an html element, because of the selected and checked attrs.
Note : I already did $$('#elemID').attr('disabled', false); but this is not working.
Thank you :)

$$('#elemID').attr('disabled', 'false')


Added the dockerfile to run the bridge

See issue #5

Awesome. How big becomes this image in MB?

50 MB @johanstokking


[NewtonVR] Critical Error: Oculus / SteamVR not setup properly or no headset found.

Hello! Done everything as in documentation, and first time it's works well, but after few days of work, it's stopped working.
This Debug.log appeares:
[NewtonVR] Version : 1.24. Did not find supported VR device. Or no integrations enabled. UnityEngine.Debug:Log(Object) NewtonVR.NVRPlayer:DetermineCurrentIntegration(Boolean) (at Assets/NewtonVR/NVRPlayer.cs:276) NewtonVR.NVRPlayer:SetupIntegration(Boolean) (at Assets/NewtonVR/NVRPlayer.cs:203) NewtonVR.NVRPlayer:Awake() (at Assets/NewtonVR/NVRPlayer.cs:178)
And this Debug.logError appeares also:
[NewtonVR] Critical Error: Oculus / SteamVR not setup properly or no headset found.
Also it's stopped working with the same error in the example scene.
Please Help, any ways to fix it? thank you!

Alrgith, found solution of this issue. All it's coused by XR settings ( in my case ). Go to the > File > Build Settings > Player Setting > XR Settings and delete none, leave only OpenVR SDK.
Image : https://imgur.com/a/HISpy


escape_shell_value doesn't support Chinese value of environment variable

hi @dhh, we have some Chinese environment variable values placed in .env, such as text message template. When I deploy my app with mrsk, I noticed Chinese string becomes to unreadable chars, then passing this value to docker env and load to Rails, Rails can't get the same string as value in .env
Dig into code, I found  escape_shell_value calls String#dump, I don't know if generated quotes " by String#dump are important, can we escape to safe shell with Shellwords.escape  ,  it seems Shellwords  should return safe string as its design.
  def escape_shell_value(value)
    value.to_s.dump
      .gsub(/`/, '\\\\`')
      .gsub(DOLLAR_SIGN_WITHOUT_SHELL_EXPANSION_REGEX, '\$')
  end

╰─⠠⠵ irb -r'mrsk'
irb(main):001:0> Mrsk::Utils.escape_shell_value("中国")
=> "\"\\u4E2D\\u56FD\""
irb(main):002:0> require 'shellwords'
=> false
irb(main):003:0> Shellwords.escape('中国')
=> "\\中\\国"
irb(main):004:0>

I have made some change to this function here https://github.com/mrsked/mrsk/compare/main...xiaohui-zhangxh:feature/escape-shell-value-with-shellwords
After switched to Shellwords there are many tests are failed due to the quotes(") issue, we have to fix those tests.

Do open a PR 👍

Do open a PR 👍

done

1.0 has been changed to pushing env to server, so there is no issue with shell args, closing this.


Remove Version class serialization code

Version is not the document version but the software version. It has completely
different semantics and uses a int instead of a long.

Afaik this bug would only occur if the current documents version will exceed the integer range, so I'm not quite sure how critical this bug is. But I agree, adding a streaming test would prevent introducing similar bugs in future.

@mfussenegger Yes, this break serialization backwards-compatibility. Will add a note. I've extended ShardUpsertRequestTest#testStreaming.
@seut Yes, for version numbers above Integer.MAX_VALUE, it will create negative version numbers after serialization.

@mxm looks good but the changes entry must be rephrased then. also we should document this behaviour.

@seut Should be good now.

Sorry, didn't get that. Added the test.
On Wed, May 23, 2018 at 2:54 PM, Sebastian Utz<EMAIL_ADDRESS>wrote:

@seut requested changes on this pull request.
In sql/src/test/java/io/crate/execution/dml/upsert/
ShardUpsertRequestTest.java
https://github.com/crate/crate/pull/7295#discussion_r190233817:

@@ -88,4 +94,16 @@ public void testStreaming() throws Exception {
assertThat(request, equalTo(request2));
}

@Test
public void testInvalidVersionNumberInItem() {

   expectedException.expect(IllegalStateException.class);

   expectedException.expectMessage("Item with id '1' and version<PHONE_NUMBER>854775807 has exceeded " +

                                   "the maximum version number of<PHONE_NUMBER>");

   new ShardUpsertRequest.Item(

       "1",

       null,

       null,

       Long.MAX_VALUE);

}

as said, I think testing the validation on item.version(long) is (more)
important, can you please add it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/crate/crate/pull/7295#pullrequestreview-122568930,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAzGZeD-kUlR1_mjv_rl9Igw723upPYhks5t1VwTgaJpZM4UINdx
.


[Event Request] Table 5901 "Service Item Line" - OnAfterCheckWarranty

Describe the request
Please add event OnAfterCheckWarranty in procedure CheckWarranty
procedure CheckWarranty(Date: Date)
var
    WarrantyLabor: Boolean;
    WarrantyParts, IsHandled : Boolean;
begin
...
if ServLine.Find('-') then
    repeat
        if ServLine.Type = ServLine.Type::Item then begin
            if ServLine."Warranty Disc. %" <> "Warranty % (Parts)" then
                ServLine.Validate("Warranty Disc. %", "Warranty % (Parts)");
            if WarrantyParts then begin
                ServLine.Warranty := WarrantyParts;
                ServLine.Validate("Fault Reason Code");
                ServLine.Validate(Warranty);
            end else begin
                ServLine.Warranty := false;
                ServLine."Exclude Warranty" := false;
            end;
        end;
        if ServLine.Type = ServLine.Type::Resource then begin
            if ServLine."Warranty Disc. %" <> "Warranty % (Labor)" then
                ServLine.Validate("Warranty Disc. %", "Warranty % (Labor)");
            if WarrantyLabor then begin
                ServLine.Warranty := WarrantyLabor;
                ServLine.Validate("Fault Reason Code");
                ServLine.Validate(Warranty);
            end else begin
                ServLine.Warranty := false;
                ServLine."Exclude Warranty" := false;
            end;
        end;
        ServLine.Modify();
    until ServLine.Next() = 0;

  OnAfterCheckWarranty(Rec, xRec, Date);
end;

Event definition:
[IntegrationEvent(false, false)]
local procedure OnAfterCheckWarranty(var ServiceItemLine: Record "Service Item Line"; var xServiceItemLine: Record "Service Item Line"; Date: Date)
begin
end;

Additional context
We need to do an additional check after the warranty check
Internal work item: AB#555539

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


Search show obey the current view (untranslated only or all)

Right now it will force show translated without user control or notice.
Maybe add a checkbox in the search view with also check translated and if that is on then toggle it on for the translation view.

What about a different approach, maybe showing first the translated strings and then those missing a translation? Just like in the "Discover", installed applications show up first and then those which aren't installed.
My main idea was to use the search to find typos, and that's why it should (in my opinion) show all the strings, despite the setting being used.

Yes, not sure if I have a better idea though
/closing for now


Update direct3d-11-advanced-stages-compute-shader.md

Hi, I think to access groupshared memory, we should use SV_GroupThreadID instead of SV_DispatchThreadID.

@peerlessbloom : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Broken link fixed

Fixed a broken link referring to PodReadinessGate

CLA is signed.

Thanks for contributing @mkuger .
I plan to close this PR. It would be helpful to create this change in kubernetes/kubernetes.
/kind cleanup
/close


SQLite cannot use an empty slice for NOT IN

Version
1.26.0
What happened?
When using NOT IN & SQLite, if you pass it an empty slice, it will never match. This is because of:
query = strings.Replace(query, "/*SLICE:userIDs*/?", "NULL", 1)

The replacement to NULL will never be true.
E.g.:
# No Results
select "example" as example WHERE example NOT IN (NULL);

# Results
select "example" as example WHERE example NOT IN ();

Relevant log output
No response
Database schema
No response
SQL queries
No response
Configuration
No response
Playground URL
https://play.sqlc.dev/p/1e688f1a8a0033e2e2bbbc3c0621e541cd11ef25a8ccd20aedcdd36d918892fa
What operating system are you using?
macOS
What database engines are you using?
SQLite
What type of code are you generating?
Go

Still an issue for 1.27.0.


File not found layout-components-xxx-vue.js

I have the following js errors in my browser:
File not found: /layout-components-AppEventbar-vue.4dd61a39707f32e43959.hot-update.js
in the html source I can see the following lines:
<link href="/layout-components-AppEventbar-vue.4dd61a39707f32e43959.hot-update.js" rel="prefetch"><link href="/layout-components-AppEventbar-vue.js" rel="prefetch"><link href="/layout-components-AppFooter-vue.js" rel="prefetch">...
Should I worry about those errors? Is the any way to supress them?
Please let me know if you need my code examples but as far the code is mostly same as your examples.
Thanks.

Not sure if I fixed but errors disappeared since I corrected layout names:
File: /layouts/layout-auth.vue
<script lang="ts">
export default { name: "auth" };
</script>

File: /layouts/layout-loading.vue
<script lang="ts">
export default { name: "loading" };
</script>

File: /layouts/layout-default.vue
<script lang="ts">
export default { name: "default" };
</script>

File: App.vue
<template>
  <div id="app">
    <vue-extend-layouts path="layouts" loading="loading" prefix="layout-" />
  </div>
</template>

File: /modules/LayoutsModule.ts
const state = {
	layout: "loading"
};
const getters = {
	layout(state) {
		return state.layout;
	}
};
const mutations = {
	SET_LAYOUT(state, payload) {
		state.layout = payload;
	}
};
export const layouts = {
	namespaced: true,
	state,
	getters,
	mutations
};

Thanks Alan.

Thanks for using

Thanks for making a greate stuff Alan.


[5.7] No need to set variables and just return them.

No need to set variables and just return them.

@lucadegasperi @GrahamCampbell Can we add return_assignment to StyleCI and ensure these changes via CS?


Wrong GPG Key used for signed commits

I have multiple gpg keys configured for multiple git(hub) accounts.
I've set additionally the signingkey in the individual repo config but this didn't help.
Committing with the commandline works fine and uses the correct key.

That's odd, it is supposed to take the repo.signingkey from the repository configuration, escalating to global settings if it does not exist. I'm going to check if I can reproduce this.

After a bit of debugging I came to the result, that this line has the correct key for signing:
https://github.com/geluk/pass-winmenu/blob/87c5dd16e500acf817d9db9f73d36a2059eef8c9/pass-winmenu/src/ExternalPrograms/Git/Git.cs#L120
But the determined key is never used in the Sign method:
https://github.com/geluk/pass-winmenu/blob/87c5dd16e500acf817d9db9f73d36a2059eef8c9/pass-winmenu/src/ExternalPrograms/Gpg/GPG.cs#L83-L89
Maybe that's the problem that the specified key isn't used?

Thanks for looking into it! You're absolutely right, I am not sure how I missed that when I wrote it. It works fine when GPG happens to select the correct key, which I suppose is why no one has discovered this earlier.

This is also fixed, thank you!


permission denied

got this error starting setup:
$ http:///var/run/docker.sock/v1.17/build?dockerfile=Dockerfile&rm=1&t=sabnzbd: dial u nix /var/run/docker.sock: permission denied
all I had to to do was add htpcd user to docker group
$ sudo usermod -a -G docker htpcd
started to run after that

Official solution here: https://docs.docker.com/installation/ubuntulinux/#optional-configurations-for-docker-on-ubuntu
Closing this issue as it's a Docker configuration issue, and doesn't actually have anything directly to do with Hearth.


[Model Compression] Add replace module

Description
Model compression add replace module.

Add replace_instancenorm2d module
Add replace_pixelshuffle module

Checklist

[ ] test case
[ ] doc

How to test

test replace_instancenorm2d module，reproduce issue Has not supported replacing the module: InstanceNorm2d #4387.
test replace_pixelshuffle module，reproduce issue RuntimeError: Has not supported replacing the module: PixelShuffle #4301.

@littlelittlehorse looks good. suggest to add ut for them, you can discuss how to write the ut with @zheng-ningxin


I didn't see Polish lang in MASS

What version of Music Assistant has the issue?
2022.7.0b6
The problem
I didn't see polish lang only emglish
How to reproduce
Add some think :)
Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2022.7.0b2
What type of installation are you running?
Home Assistant Supervised
On what type of hardware are you running?
Linux

Do you mean the MA interface itself ? Can you create a screenshot what you mean?

We just released your translation as part of beta7. Could that be the issue?

I've quickly looked at it and it seems there's an error in the Polish language file.
orjson.JSONDecodeError: expected `,` or `}` at line 81 column 7: line 81 column 7 (char 3707)

I've quickly looked at it and it seems there's an error in the Polish language file.
orjson.JSONDecodeError: expected `,` or `}` at line 81 column 7: line 81 column 7 (char 3707)

This is now OK, I upload good file for config.
I'm talking about UI of MASS.

I don't have any file in /translations/frontend. I check if I get ones more it will get in.

translations get packaged into the release so you won't see them as such.
That said, I now see that I forgot to link the polish language file. Will be fixed in next release, thanks!

still english inf frontend, in config there is polish - v2022.08b (HA and MASS)

Clear your browser cache
Sometimes you need to set language to english forced and then back to another language

second help, thx!


Fix for SR-8629 & issue #828

In SR-8629, Ankit Aggarwal recommends renaming "SQLite-Bridging" to "SQLiteObjc" in order for swift package generate-xcodeproj to create a buildable .xcodeproj
Here is the link: https://bugs.swift.org/browse/SR-8629
Here is the issue that this fixes. https://github.com/stephencelis/SQLite.swift/issues/828

closed in favor of https://github.com/stephencelis/SQLite.swift/pull/926

closed in favor of https://github.com/stephencelis/SQLite.swift/pull/926


Added some helper methods to the response and added tests for those methods

Thanks, but I don't think these methods are necessary for Guzzle's response objects.

Sounds good, they were helper methods that were used in the Zend/HTTP/Response that we used quite a bit so I was hoping to get them into Guzzle since we were looking to switch over to that soon.
http://framework.zend.com/manual/current/en/modules/zend.http.response.html


Non-matter Device How can I Notify the bridging device of a status change? (CON-323)

examples/blemesh_bridge
In this example, how will the Matter bridging device be notified if the child device changes its state by a button

such as the example of a light, the key is pressed to inform the data. But in the blemesh_bridge example, if the state of the child device changes, then how do I notify the APP of the data.

Hi, in the blemesh_bridge example, there is no implement to get the state changes of the bridged device(Non-Matter).
In a Matter bridge device, a similar API(As you mentioned) is still used to update the state of the bridged device.

Hi, in the blemesh_bridge example, there is no implement to get the state changes of the bridged device(Non-Matter).
In a Matter bridge device, a similar API(As you mentioned) is still used to update the state of the bridged device.

like temperature_measurement ，I need to update the value of the matter system, what api do I need to call
I tried to update like this, but the data read out using chiptool is still null
attribute::update(ep_temp,TemperatureMeasurement::Id,TemperatureMeasurement::Attributes::MeasuredValue::Id,&val);

@InfiniteYuan

@mahavirj

Sorry, I got the endpoint number wrong


Create the page for Alumni details

Frontend Part

[ ] Create the route to show the details of alumni
[ ] Create My profile section for Alumni instead of My post in User dropdown
[ ] Get all the imp info of alumni through the form and add them into that page

Backend Part

[ ] Create the controllers for admin to get his profile details and update it like sociall handles
[ ] Create the APIs for admin

Frontend Part

[x]  Create the route to show the details of alumni
[x]  Create My profile section for Alumni instead of My post in User dropdown
[x]  Get all the imp info of alumni through the form and add them into that page

Backend Part

[x]  Create the controllers for admin to get his profile details and update it like sociall handles
[x]  Create the APIs for admin


does this lib support the latest api changes?

instagram recently changed its api, does this lib work well with the changes?

It's working fine here.
But we use Instagram's private API, not these ones: https://www.instagram.com/developer/endpoints/


set _started before reporting

I'm using [Bugsnag startBugsnagWithConfiguration:config];
When starting Bugsnag, several sessions are not sent to the server, and instead this is logged many times:
Ensure you have started Bugsnag with startWithApiKey: before calling any other Bugsnag functions.

This seems to be due to _started not being set yet when willEnterForeground is called.
Moving the _started value change fixes the issue and correctly reports existing session data.

Thanks for the detailed report and PR @ghazel - this changeset should address the immediate issue. We're planning on adding some black box tests to improve our coverage of session tracking functionality before making changes in this area, so we may end up adding them onto this PR.

Was this ever fixed?  I'm still getting this error message in console.  I have the latest version of Bugsnag (6.25.2) installed using SPM.

Hi @samsiner, would you mind writing in to us<EMAIL_ADDRESS>with some more details about your project setup. In order to help us investigate, could also include some screenshots or code snippets of your Bugsnag configuration code along with which Bugsnag project this relates to that would be great. Thanks.


dlib face recognition on android

Hi Davis,
We coding the app on android "Face Recognition" and everything work fine except the  value of face
descriptor are missing when compare with the value from "dnn_face_recognition_ex.cpp" or
"face_recognition.py" from your example programs. I used Dlib v.19.6.  How I fixed it? If you want see more info, please let me know. Thanks.
(on android, we process from the same image but different values, I think it should be the same value that process from face_recognition.py )

@xjohnxjohn
try using
https://github.com/axmadjon/ComputerVision
ya worked on this project and customized it
https://tech.pic-collage.com/face-landmarks-detection-in-your-android-app-part-1-2c4431eaa3d9
https://github.com/boyw165/my-dlib-experiment
http://slides.com/boywang/face-landmarks-in-your-android-app/fullscreen#/

Thx, axmadjon. Please read the issue at https://github.com/axmadjon/ComputerVision


Remove DTK log and create medInria log system

DTK log don't work fine inside medInria.
Frequently crash when when close medInria.
With the goal to simplify medInria and standardization of different log system (ITK, VTK, DTK, Qt), we want build a uniqueand dedicated medInria log system.

Log system done in https://github.com/medInria/medInria-public/pull/361


Configure SSL/TLS for TBMQ

Component

Installation

Description
Configuring SSL from port 80 to 443 and passing to proxy via 8083 results in 404 response or "not authorised" when logging in.
I am using NGINX. Should this work? Should I be using HAProxy instead?
Environment

OS:  ubuntu 24.04 lts on AWS
TBMQ: version release-1.4.0 as available on your site
BRAVE Version 1.71.114 Chromium: 130.0.6723.58 (Official Build) (64-bit)](https://brave.com/latest/)

Thanks in anticipation.
Grant

Hi @grantapeck,
Thank you for reaching out. In general, it should be possible to configure SSL from port 80 to 443 and pass it through a proxy via port 8083 using NGINX. However, we have not conducted any specific tests with NGINX in this configuration, so I can't provide concrete guidance on this setup.
That said, we have tested a similar setup using HAProxy, which worked well for us. You might want to consider using HAProxy instead. Here’s a link to more details on configuring this setup with HAProxy: https://github.com/thingsboard/tbmq/tree/main/docker.
Please feel free to reach out if you have any further questions or need additional assistance.
Best regards!

Hey @dmytro-landiak,
Thank your for your response.
I'm new to linux, server admin, and definitely all the things thingsboard so my apologies for this question. . . effectively I'm a newbie.
Will this procedure for installing HAProxy work on the tbmq server: https://thingsboard.io/docs/user-guide/install/pe/add-haproxy-ubuntu/ so the ui is redirected across https?
I sense I'm missing the point.
I have successfully used nginx on the thingsboard (I am using two different servers) and it's working aok.
Thanks in anticipation.
Grant

hey @grantapeck!
Yes, please follow the link I provided to set up HAProxy. However, keep in mind that the link covers installing HAProxy directly on an Ubuntu machine rather than in a Docker container.
Since TBMQ is deployed in Docker, it’s generally recommended to install HAProxy in Docker as well for consistency and easier management. You can use the .cfg file in the TBMQ repository as a starting point, as it’s tailored for TBMQ’s specific configurations.
Let me know if you need any further guidance!


'css!' plugin name expands to full path when building with r.js

After r.js build empty css defines are stored with their full path to 'css!' plugin. This cause the undefined module problem. The code builded from example illustrates this issue very well:
// -> 'require-css/css!style/style' here, need 'css!style/style'
define('require-css/css!style/style',[],function(){});
define('require-css/css!components/component',[],function(){});
define('components/component',['css!./component'], function() {
  return {component: 'is here'};
});

// -> when here is the shorten call: 'css!style/style'
define('app',['css!style/style', 'components/component'], function(component) {
  return 'uses the component!';
});

The problem is in the css-builder.js , cssAPI.write(...) invoking with full pluginName: 'require-css/css'. I think r.js has a problem with 'pluginBuilder' option. For the quick fix you can ignore pluginName variable and put 'css!' instead:
write.asModule('css!' + moduleName, 'define(function(){})');

@mbektimirov's solution worked for me!
Excellent!


updated the Inferno implementations

I noticed that the color-picker had a funky Inferno implementation, this updates it. Runs a lot better locally for me now. I also opted to use noNormalize in places as an optimization technique where I knew it was safe.

Hey Dominic, thanks for reviewing the benchmarks and thank you for the PR. It's interesting to see how the optimization flags impacted the performance (putting Marko and Inferno mostly on par with a very slight edge for Inferno in latest Google Chrome from my quick testing). That also gives me some ideas on how we can further optimize the Marko VDOM since we are also do tag name normalization (assuming that is what noNormalize means). With that said, I'm kind of torn on this one...
I definitely have no objections with your changes to switch to the functional component for Footer.jsx and the change to make use of linkEvent. 👍
I do, however, have objections with the changes to introduce the undocumented noNormalize and hasKeyedChildren attributes (at least I could not find any documentation, but please correct me if I am wrong). To me, this feels like an attempt to game the benchmark since it would be outside standard practice of Inferno users. Even if those flags were documented, I feel like very few, if any, devs would use them. If the Inferno JS transform applied these optimizations automatically then I would have zero objections.
Removing the noNormalize and hasKeyedChildren attributes keeps the results roughly the same as what we published (although I would need to test further in other browsers).
Is it okay if I merge your change but remove the noNormalize and hasKeyedChildren attribute. Does that seem fair?

@patrick-steele-idem I don't work on Inferno like I used to, but I did state that we should document these parts – I can get the team to prioritise that. noNormalize stops Inferno from recursively scanning all children and making them React compatible, as most people coming to Inferno will simply switch their React apps over. Thus why it's quite slow, it's basically a mini compatibility layer.
Inferno never used to do this, thus why in benchmarks from before Christmas, Inferno was about 2-3x faster than it currently is now, simply because of normalization (it's got nothing to do with DOM nodes or even the DOM). I expect it can be removed from Inferno, there was already a task to do this, but given I now work full-time on the React – I haven't been able to work on this task.

Thanks for the details @trueadm.
I'm going to merge your changes, but remove the undocumented noNormalize and hasKeyedChildren attributes that you added. I am happy to update the results once the Inferno team makes changes to remove the normalization from Inferno so please encourage them to open an issue. I'm going to hold off on updating results right now since it is a tedious process to update the results since I have to manually run the benchmark in all browsers and devices. As I mentioned above, your other changes that I will merge in seemed to have no noticeable impact on the benchmark.

@patrick-steele-idem That's fair. Hopefully, @havunen can pick up this in the future and get this change made. Thanks!

As per request, I have improved docs.
https://infernojs.org/docs/guides/benefits/list-rendering
https://infernojs.org/docs/guides/optimisations

Hey @Havunen, the docs look good, but I still don't think it be normal practice to add those special attributes that provide hints to Inferno. For this benchmark, I only want to measure the performance  without the user having to specify any special (and possibly problematic) attributes (except key which is critical for keyed matching). If you are able to update the Inferno babel transform to add those hints automatically based on the static code then I would have no problem updating the results. Alternatively, if normalization can be safely disabled globally then I would be fine with that as well.


Min/Max Support

This PR adds the following functionality

When reading a VSS JSON file min/max values are read and stored as well.
When requesting metadata you also get min/max metadata
When setting a datapoint min/max check is performed (min <= value <= max)

Some tests have been performed using a custom VSS JSON file.
Possibly improvement/discussion areas

Right now only a single test case added (in v2, for metadata), we should better test also for other types
We should at least add some tests for min/max checks as well.

But content is AFAIK feature complete, so feel free to do an early review

I have now added some test cases, but they do not cover all possible VSS/Databroker Datatypes. We have quite much duplication in code (and tests) due to the strong type checks in Rust, so not that easy to reuse. I think the level of tests are quite reasonable now.


feat tools: bucket replicate allows to filter multiple compaction and…

Just bumped into this when migrating from one S3 to Swift.
Is this how you imagined it @bwplotka ?
Didn't want to change the defaults even though I'd maybe prefer to replicate all the data by default and make the filtering as blacklist instead of whitelist. But maybe my use-case is different.

[x] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes
thanos tools bucket replicate now allows repeated flags for compaction and resolution levels
Verification
tested it locally

Also I was thinking about moveing to duration with the resolution?
--resolution=5m instead of --resolution=300000


Refactor: consolidate TestFile property definitions, eliminate "descriptor"

@jugglinmike this now preserves frontmatter, as we discussed offline.

Also, persisting the frontmatter in the generated tests is more than a refactoring. I've made a special note of this in the relevant commit--hope you don't mind!
Merge to master with the following commits:
commit 17d0e4974910b3bee474fc7a8e67c3b3c6b4555e
Author: Rick Waldron<EMAIL_ADDRESS>Date:   Thu Apr 18 09:45:23 2019 -0400

    Eliminate extractBody() operation, consolidate Test262File and TestFile classes

    Test262's interpreting guidelines do not sanction the removal of YAML
    frontmatter.

commit 8ec16713bf5f96c2a00bd0d731acb95734d7436f
Author: Rick Waldron<EMAIL_ADDRESS>Date:   Wed Apr 3 10:43:38 2019 -0400

    Refactor: consolidate TestFile property definitions, eliminate "descriptor"


Controller module sometimes segfaults

Some output from @PiiDish
    /usr/include/c++/11.1.0/bits/std_function.h:292 _M_invoke
    /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82 execute_native_thread_routine
Controller - Command Filter (╯°□°）╯︵ ┻━┻  std::runtime_error Segmentation Fault
    /home/nubots/NUbots/module/support/SignalCatcher/src/SignalCatcher.cpp:55 module::support::sigsegv(int)
    /home/nubots/NUbots/module/behaviour/Controller/src/Controller.cpp:140 operator()
    /usr/local/include/nuclear_bits/util/apply.hpp:48 apply<const module::behaviour::Controller::Controller(std::unique_ptr<NUClear::Environment>)::<lambda(const message::behaviour::ServoCommands&)>&, 0, std::shared_ptr<const message::behaviour::ServoCommands> >
    /usr/local/include/nuclear_bits/util/apply.hpp:55 apply_relevant<const module::behaviour::Controller::Controller(std::unique_ptr<NUClear::Environment>)::<lambda(const message::behaviour::ServoCommands&)>&, std::shared_ptr<const message::behaviour::ServoCommands> >
    /usr/local/include/nuclear_bits/util/CallbackGenerator.hpp:110 operator()
    /usr/include/c++/11.1.0/bits/invoke.h:61 __invoke_impl<std::unique_ptr<NUClear::threading::ReactionTask>, NUClear::util::CallbackGenerator<NUClear::dsl::Parse<NUClear::dsl::word::Trigger<message::behaviour::ServoCommands>, NUClear::dsl::word::Sync<module::behaviour::Controller> >, module::behaviour::Controller::Controller(std::unique_ptr<NUClear::Environment>)::<lambda(const message::behaviour::ServoCommands&)> >::operator()(NUClear::threading::Reaction&)::<lambda(std::unique_ptr<NUClear::threading::ReactionTask>&&)>&, std::unique_ptr<NUClear::threading::ReactionTask, std::default_delete<NUClear::threading::ReactionTask> > >
    /usr/include/c++/11.1.0/bits/invoke.h:116 __invoke_r<std::unique_ptr<NUClear::threading::ReactionTask>, NUClear::util::CallbackGenerator<NUClear::dsl::Parse<NUClear::dsl::word::Trigger<message::behaviour::ServoCommands>, NUClear::dsl::word::Sync<module::behaviour::Controller> >, module::behaviour::Controller::Controller(std::unique_ptr<NUClear::Environment>)::<lambda(const message::behaviour::ServoCommands&)> >::operator()(NUClear::threading::Reaction&)::<lambda(std::unique_ptr<NUClear::threading::ReactionTask>&&)>&, std::unique_ptr<NUClear::threading::ReactionTask, std::default_delete<NUClear::threading::ReactionTask> > >
    /usr/include/c++/11.1.0/bits/std_function.h:292 _M_invoke
    /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82 execute_native_thread_routine

If someone who has seen it can give some more info that would be good, particularly on how to reproduce the seg fault. Is it only in Webots?
@PiiDish @Crafty15

@PiiDish @Crafty15 is this still a thing or was it just user error?

@PiiDish @Crafty15 is this still a thing or was it just user error?

I can't remember if we came to a conclusion as to the cause. But it hasn't popped up for a long time.

I haven't encountered it again. As far as I know, it's been righted

Unlikely to be an issue - and Controller will be removed soon in favour of The Director.


[Marvell BYOC]: Marvell AI Accelerator Integration - Phase 1

Summary
This PR adds support for partitioning and compiling the Marvell BYOC target along with initial integration with tvmc. Support for the runtime (simulator based & hardware) and other features (int8) will be added in phases as described in the pre-RFC post: https://discuss.tvm.apache.org/t/prerfc-byoc-integrating-marvell-ml-ai-accelerator-to-the-tvm-byoc-framework/16155.
Please see the pre-RFC for a detailed description of the design and roadmap going forward.
Building
We have introduced a new cmake flag:
USE_MRVL=ON/OFF
This flag enables Marvell BYOC codegen and is required for using the Marvell BYOC functionality, running unit tests, etc.
Usage
The tvmc interface for Marvell BYOC will be similar to other composite targets.
The below command is an example of cross-compilation of an ONNX model for an Octeon target.
python3 -m tvm.driver.tvmc compile
--target="mrvl, llvm"
--target-llvm-mtriple=aarch64-linux-gnu
--target-llvm-mcpu=neoverse-n2
--target-mrvl-num_tiles=4
--cross-compiler aarch64-linux-gnu-gcc
--output model.tar
model.onnx
Supported operators will be partitioned and compiled for the MLIP and the remaining operators will be compiled for the ARM Neoverse cores using the default LLVM target.
TVM Python API based compilation is also supported, please refer to the doc added as part of this PR for details.

cc @Hzfengsy @vinx13

LGTM. BTW, as we are moving to TVM Unity / Relax, would be great if you could consider supporting MRVL for unity flow for emerging needs (e.g. LLMs)

Thanks @Hzfengsy. We are closely following TVM Unity / Relax development and it is part of our future roadmap. We will work on it once we complete the initial Relay flow support.


page for cloudformation.yaml is not found

Below page https://karpenter.sh/docs/getting-started/cloudformation.yaml is not found. So I cannot run below command in getting started guide
TEMPOUT=$(mktemp)
curl -fsSL https://karpenter.sh/docs/getting-started/cloudformation.yaml > $TEMPOUT
&& aws cloudformation deploy
--stack-name Karpenter-${CLUSTER_NAME}
--template-file ${TEMPOUT}
--capabilities CAPABILITY_NAMED_IAM
--parameter-overrides ClusterName=${CLUSTER_NAME}

Thanks for calling this out. We'll try to resolve this before the next release.


2022 feedback and issues to fix

Notes during course

[x] add to regression notebook some more info on metrics
[x] rm metrics_dict from lasso call

Deep regression:

[x] output layer, activation function, mention about activation none is equal to linear (from slides)
[x]  some non-helpful comments leftovers; eg output layer; (could still be improved but main point fixed)
[x]  make possible to train in multiple steps; split definition and fitting;
[ ] make possible to plot all history
[x] plot description; could be better
[ ] Neurons, Nodes, perceptrons; use same as in rest of material
[ ] Add separate input layer
[ ] Add image of Network

Deep classification:

[ ]  one comment missing in end of box 3 (or so?)
[ ]  more info on why one-hot encoding of labels is needed
[ ]  gradient boost filename wrong → fails for last plotting

CNN:

[ ] readme: first time HPC mention; replace with supercomputer?
[ ]  batch jobs: was 2 seconds, should be 2 minutes: 00:02:00 instead of 00:00:02
[ ]  mistake fixing in sbatch scripts: Rather than fixing multiple files (hard to follow), it could also be overwritten in the command line call (same for everyone)
[ ]  "if mistake" in CNN?
[ ]  make some commands from multiclass comments in second to last notebook
[ ]  ntask and srun combination, can it be left out completely?

Outro

[ ] outro could be more ordered and link list more focused

Regression fixes done for now, leftovers to be done for next course iteration.


Should it work with Django 1.11+?

I have an object in the context named experience and all the attributes from this objects are shown correctly on the page. Although this:
{% load shorturl %}

{% shorturl experience %}

Produces an empty result. shorturls is in INSTALLED_APPS and url('^short/', include('shorturls.urls')) is in urls.py. The object has get_absolute_url()
method which works correctly.
Am I missing something?

My bad. SHORTEN_MODELS key values should be lowercase.
SHORTEN_MODELS = {
    'E': 'experiences.photo', # . Not Photo
}

Indeed... it should probably validate the configuration on bootup to make sure the models actually exist.


iOS Intl polyfill problem

Intl pollyfill doesn't work on mobile Safari nor Safari on iPads
Example of User Agents:
Mozilla/5.0 (iPad; CPU OS 8_4 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12H141 Safari/600.1.4
&
Mozilla/5.0 (iPhone; CPU iPhone OS 7_1_2 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Version/7.0 Mobile/11D257 Safari/9537.53

Thanks for the bug report.  Can you help us out with:

what is the symptom of the problem?
do our tests pass? (/test/tests?feature=Intl)
are there any errors reported to the console?
can you provide the CDN URL you are using to test?

@eek
Both of the given UA strings get the Intl polyfill when requested.
Would you be able to comment on this issue with the information @triblondon has requested? Once we have that information we should be able to help with your issue.

I just ran into the same issue using Mobile Safari 9 on iOS 9.2.  When I try this:
var formatter = new Intl.NumberFormat()
I see this error in the console:

ReferenceError: Can't find variable: Intl

The tests page only says it ‘has testing suite’ and ‘has feature detection’.  Both these tests pass.
The script URL is: https://cdn.polyfill.io/v2/polyfill.min.js

@shivjm can we have the UA string of the device you are testing in?

Mozilla/5.0 (iPhone; CPU iPhone OS_9_2_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13D15 Safari/601.1

The script url you posted does not include Intl in the features array. The Intl polyfill team have documentation on how to use Intl and the Polyfill-service - https://github.com/andyearnshaw/Intl.js#intljs-and-ft-polyfill-service
The reason the tests page only has 'has testing suite' and 'has feature detection' is because the canonical polyfill lives in a different repository.
The check that a polyfill is served to your UA, you can pass the UA string as a query parameter - this url will check for Intl and the english locale https://cdn.polyfill.io/v2/polyfill.js?features=Intl.~locale.en&ua=Mozilla/5.0 (iPhone; CPU iPhone OS_9_2_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13D15 Safari/601.1

Alright, thank you.  I missed that the Intl polyfill was not included by default (in fact, I missed the fact that there was a default set at all, heh).  It seems fine now.

Alright, thank you.  I missed that the Intl polyfill was not included by default (in fact, I missed the fact that there was a default set at all, heh).  It seems fine now.

Pinging @eek, was your problem the same as @shivjm's? If so, we can close this issue. If it is not the same, could you respond with this information:

What is the symptom of the problem?
Do our tests pass? (/test/tests?feature=Intl)
Are there any errors reported to the console?
Can you provide the CDN URL you are using to test?

@JakeChampion, yeah, I wasn't using with the ?features=Intl.~locale.en


Injections for GameMap/Entity/components, and a large cleanup of code.

Finished the dependency injections and took advantage of them where I could.
After this almost every object can access any other object and it will take some discipline to not put code where it does not belong.
I ended up using gamemap for all my GameMap refernces.  That could be changed to game_map to be more consistent with the previous code.

I just ran the project on this PR, and the player can attack corpses rather than walking over them.

I missed that when I merged generic entity types into actions. Corpses count as actors right now so they can be attacked.

Fixed.  Also is_dead as an attribute leads to a lot of double negative not is_dead checks.


_push_image command

Well, what's the downsides of using stderr for capsule always? The upside is obviously smaller number of unuseful arguments.

Well, what's the downsides of using stderr for capsule always? The upside is obviously smaller number of unuseful arguments.

If you run vagga _build it will be strange to see some output in stdout and other in stderr. So maybe it is worth to use stderr for any _build output?

Well, I'm not so sure about all build output. Especially if still allow to read from stdin (i.e. have interactive builds).

I don't think we should add more variants here. Is there any lightweight alternatives? Do you actually need to spawn a process to perform the task?

There was a problem when I needed curl inside capsule. There were some permission errors when installing alpine-baselayout:
ERROR: Failed to set ownership on etc/shadow.apk-new: Invalid argument
Executing alpine-baselayout-2.3.2-r10.post-install
chown: /etc/shadow: Invalid argument
Executing busybox-1.24.1-r7.trigger
1 errors; 1 MiB in 5 packages
ERROR:vagga::wrapper: Error executing _pack_image: Apk exited with status: exited with code 1

I think it's because capsule doesn't set uidmap for commands.

AFAIU, it does set uidmap, but different than one in container. I.e. it maps uids one to one to external uids, so usually there is a gap 1..100000 in the uids, which normal OS use. Well, maybe we should rethink it, but it's non-trivial task. Can you make curl work without alpine-baselayout?

Now we don't need curl inside capsule cause we use push-image-script setting. I've just checked that capsule works fine when installing gzip, bzip2, xz.

apk_run is used from alpine builder. So I'm not sure that we should always redirect apk_run output to stderr.

apk_run is used from alpine builder.

Sure. It's not a problem. Sometimes I even think we should hide it from users at all :)
Anyway, I'm leaning towards disable stdin, and redirect whole build to stderr. Because vagga command > file should put command output into the file, not artifacts of the build process.
Also, with current management of process groups we gen uninterruptable builds sometimes. Which is wrong. Disabling stdin and group management during build should fix the issue.

Okay, looks fine, except these things:

I still don't like image-url. Let's call it image-cache-url
I think we should redirect stdout to stderr in vagga_build before applying this patch (I can't figure out current semantics easily, and I don't like such intrusive use of RawFd)

Okay, just committed process_util::squash_stdio which is used for build and should be used for _pull_image too.

We need some message like Compressing the image... This may take a few minutes. because it looks like hanging.

Also I've waited 4 minutes for image compression, but then got error when uploading. This looks ugly. But I'm not sure we should do anything with this, just noting the issue.

Maybe we should change default compression for _push_image command?
[alexk@localhost:~/projects/vagga/tests/ubuntu]$ time ../../vagga _pack_image -z trusty > trusty.tar.gz
(1/1) Installing alpine-keys (1.1-r0)
OK: 0 MiB in 1 packages
fetch http://distrib-coffee.ipsl.jussieu.fr/pub/linux/alpine/alpine/v3.3/main/x86_64/APKINDEX.tar.gz
(1/2) Installing musl (1.1.12-r3)
(2/2) Installing gzip (1.6-r1)
OK: 0 MiB in 3 packages
Compressing the image... This may take a few minutes.
../../vagga _pack_image -z trusty > trusty.tar.gz  7,00s user 0,33s system 76% cpu 9,585 total
[alexk@localhost:~/projects/vagga/tests/ubuntu]$ time ../../vagga _pack_image -J trusty > trusty.tar.xz
(1/1) Installing alpine-keys (1.1-r0)
OK: 0 MiB in 1 packages
fetch http://mirrors.gigenet.com/alpinelinux/v3.3/main/x86_64/APKINDEX.tar.gz
(1/3) Installing musl (1.1.12-r3)
(2/3) Installing xz-libs (5.2.2-r1)
(3/3) Installing xz (5.2.2-r1)
OK: 0 MiB in 4 packages
Compressing the image...
What exactly gets packed?
If I did a BindRW in vagga, how would that translate when I will give the image to somebody else? They would have to do something akin' to BindRW with whatever tool they use(may be vagga, may be not)?
Can these images be loaded by vagga, if yes, how?
If it is what I think it is(from the description and from the discussion I did not understand very well what this is capable of), than it has great potential(great for CI?). This feature probably should have pretty good documentation.

vagga already has _pack_image command.
This PR introduces _push_image command to pack and upload image to the central server. Also you can specify image-cache-url option for container and vagga will try to download image from that url. Primary goal of this feature is to simplify vagga usage for big teams.

@lilianmoraru this command packs exactly what is stored in ~/.vagga/container_name, without any volumes. So you need original vagga.yaml and original project to use it.
No, it doesn't do anything with BindRW. Vagga will mount whatever is in the destination path.
As described above primary use case of the functionality is to cache images for vagga itself (just set an url in the vagga.yaml). You can use it for other things too if you wish, in that case it's barely a shortcut to vagga _pack_image + whatever is written in push-image-script.

Squash-merged in daf10e3


NullPointerException: Attempt to invoke virtual method 'android.graphics.drawable.Drawable va.c.a()' on a null object reference

I was getting NullPointerException.
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'android.graphics.drawable.Drawable va.c.a()' on a null object reference
       at com.zoho.livechat.android.operation.SalesIQApplicationManager$8$1.run(SalesIQApplicationManager.java)
       at android.os.Handler.handleCallback(Handler.java:751)
       at android.os.Handler.dispatchMessage(Handler.java:95)
       at android.os.Looper.loop(Looper.java:186)
       at android.app.ActivityThread.main(ActivityThread.java:6513)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:914)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:804)

Another thing is if I use any functions in salesIQ like init, registerVisitor,  unregisterVisitor, then the Chat widget automatically becomes visible. So, after every operation, I need to set showLauncher to false.
Also, the above exception happened in

After the user Sign In, I registered the visitor in SalesIQ and navigate to the next page.

Hello @sarankumar-ns  ,
Sorry for the inconvenience. We'll check and fix both issues and keep you updated here.
Regards,
Bhahirathan M.

Hi @sarankumar-ns ,
We have addressed this issue in version 2.0.0 with a fix that will resolve this crash. If the crash persists, please send us the exact crash with the file name and its line number.
For further queries, please feel free to write us at<EMAIL_ADDRESS>We will be happy to assist you.
Regards,
Bhahirathan M,
Zoho SalesIQ.


Module scoping

Hi!
As @davidchambers and I have been discussing, there's an interesting feature that would allow us to create Sanctuary module scopes.
What's the purpose of this?

We would be able to register new types for a given section of code or module instead of being forced to declare them just for the entire project.
Scopes would allow us to disable type checking for a given section of code or module too.

Pseudo-code:
const
         Sa = S.create(...),
         s = Sa.scope({ checkTypes: <true|false>, env: [...] })

That is, child Sanctuary scope would inherit parent's env while it would be able to override checkTypes.
I find this convenient in order to let us define new types as you need them instead of having to load them during program startup.

Can this issue be closed now that we have S.env, @mfidemraizer?


fix(controller): always keep CachedImage IsCached status updated

:tada: This PR is included in version 1.9.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.9.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


TOOLS-2144 bugview hides quoted paragraphs

Now looks prettier.  Compare the screenshot below to current bugview.

This was fixed in b57b835af7b4e9e92f3ae70eb0935c0ba0978ffc


Feature/tg 131 webex connection

Summary

TG-131: Add Models for Webex

TG-131: Add package for JSON Parser

TG-131: Add Webex Service for Create Meeting

TG-131: Add Webex Transform for Create Meeting

TG-131: Add Config for Webex and Dependency Injection

TG-131: Add Test EndPoint for Webex

Evidence

HOST

USER

References
@AndresNazzari @pierrecf

Try to add testing to mantain the overall coverage of the project! :D


Create Tic-Tac-Toe.cpp

Description of Change

Checklist

[x] Added description of change
[x] Added file name matches File name guidelines
[x] Added tests and example, test must pass
[x] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
[x] Relevant documentation/comments is changed or added
[x] PR title follows semantic commit guidelines
[x] Search previous suggestions before making a new one, as yours may be a duplicate.
[x] I acknowledge that all my contributions will be made under the project's license.

Notes:

Please can u accept,my first open source contribution


Automated Package Upgrade

:tada: This PR is included in version 7.7.137 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Using SVConfigurator <IP_ADDRESS>729 to fix connectivity to SV 4.00

using SVConfigurator <IP_ADDRESS>729 to fix connectivity to SV 4.00
using SVConfigurator from bintray-adm-maven instad of github.com maven repo
fixing bug: https://soaqcweb.hpeswlab.net/qcvirt/bug/showBug.jsp?bug=15678

:x: Build hp-application-automation-tools-plugin latest.18-qxtjqylx failed (commit https://github.com/hpsa/hp-application-automation-tools-plugin/commit/306860081b by @HpeServiceVirtualization)

approved for test build

Please follow the guidelines and add proper Jenkins Jira ticket and not internal ticket - if you have made any changes that are of fixing issue or feature enhancement.

:white_check_mark: Build hp-application-automation-tools-plugin latest.19-gosssawe completed (commit https://github.com/hpsa/hp-application-automation-tools-plugin/commit/013f379539 by @HpeServiceVirtualization)

Related defect: https://issues.jenkins-ci.org/browse/JENKINS-43232


"Toggle App Setting Visibility" button doesn't work on Insiders

OS: Win10
Build Version: 20190710.5
VS Code Insiders Version: 1.37.0-insiders (user setup)
Repro Steps:

Drill down from one function app -> Application Settings node.
Click the "Toggle App Setting Visibility" button for one application setting and check the result.

Expect:
The "Toggle App Setting Visibility" button works well and succeed to see the application setting value.
Actual:
"Toggle App Setting Visibility" button doesn't work.
More Info:

The "Toggle App Setting Visibility" button works well in App Service Explorer with VS Code Insiders.
The "Toggle App Setting Visibility" button works well in Azure Functions Explorer with VS Code.

Filed bug on VS Code: https://github.com/microsoft/vscode/issues/77677

Filed another bug on VS Code: https://github.com/microsoft/vscode/issues/78222

This was fixed in VS Code. No longer repros for me on this version:
Version: 1.37.0-insider
Commit: d5900c642b359fe7a9eb1e3f9e2d0977f6e0905c
Date: 2019-07-31T05:21:45.449Z
Electron: 4.2.7
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Darwin x64 18.7.0


Crash when deleting last light

Scene: crash_no_lights.zip
Steps to reproduce:

Open scene in Blender
Start viewport render
Press delete to delete the selected point light
LuxCore crashes

OS: Windows
LuxCore version: 9becd86ad2cd3c542473fbc7a0db97e77d56a932
Blender addon version: https://github.com/LuxCoreRender/BlendLuxCore/commit/7de3c9744d06055ccfda8aadd891599d93163e77

I should have fixed this problem.

Confirmed, thanks!


Definition lists

Could you implement definition lists, please?
Here is some examples taken from other markdown dialects:

Markdown Extra
Kramdown and Maruku
MultiMarkdown
Pandoc
Python Markdown
Lunamark

Thank you!

Hi @Stemby, I'm giving it a close because we can continue the discussion in #108 but thanks for the proposal! :-)


is the new "high quality" camera supported?

hi,
rpi2dng barfs with images from the new raspberry camera. is this supposed to work? here's a raw (captured with raspi-still --raw) in  case this helps.
https://rm.ignorelist.com/s/yrWY8362a6wNmjC
.rm

the sensor is a "IMX477R"

Not yet... Will look into it when I have time

Here are some infos about other tools that do the dng conversion from the HQ Camera Raw Images: https://www.raspberrypi.org/forums/viewtopic.php?p=1665327#p1665327


Settings dialog: Not possible to switch radio buttons with the keyboard

Windows Terminal version (or Windows build number)
Windows Terminal Preview Version: 1.7.572.0
Other Software
No response
Steps to reproduce

Open Terminal.
Open Settings by pressing CTRL+,.
Tab to the radio buttons for the start mode. This is set to "Default" by default, but has options such as "Maximized" etc.
Try to switch between the set of five radio buttons using the keyboard, up and down arrows, or left and right arrows.

Expected Behavior
Focus should switch to the other radio buttons, and the selection/check mark moves with it.
Actual Behavior
Nothing happens.
Using arrow keys is the standard way to interact with a set of radio buttons.

Huh, that's weird. Those should work, because they definitely work in the XAML Controls Gallery. Thanks!

Yes, I know other XAML-based apps where this works, so it is a problem specific to the way this XAML is marked up. I also reported another issue where the radio buttons aren't associated with a true group element. Perhaps these two are related.

Oh jeez, this is https://github.com/microsoft/microsoft-ui-xaml/issues/3156

@DHowett Here's a thought: should we replace any instance of RadioButtons in Windows Terminal with ComboBox? ComboBox doesn't have this issue.

I don't hate that. We still can't provide a tooltip for each entry ... but maybe we could display some tiny subtitle text underneath it explaining what happens (like this:)


build: running ./clean.bash complains about missing file

What version of Go are you using (go version)?
go version devel +13cdd814ea Tue May 16 21:01:42 2017 +0000 linux/amd64
What operating system and processor architecture are you using (go env)?
Tue May 16 03:58:22$ bin/go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GORACE=""
GOTOOLDIR="/home/carl/git/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build957899534=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
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"
This is a kind of minor annoyance, but running clean from the src directory always prints out a nag about a missing file:
./clean.bash
go: open /home/carl/git/go/src/runtime/internal/sys/zversion.go: no such file or directory

Thanks for the quick turn around!


Hidden exception is being thrown if local player object has owned objects when closing server

Describe the bug
If your local player object (that's spawned by the PlayerSpawner script) is spawning objects that have the local player as the owner and the server stops, a hidden NullReferenceException is being thrown in the DestroyOwnedObjects method in the NetworkConnection class. It seems to be because it's destroying itself first and calling the Reset method on itself before destroying the child objects. This causes the Identity.Server property to be null, thus causing the NullReferenceException.
The NullReferenceException is also being thrown silently. It is never shown (probably due to Async methods), so a way to bring them forward to the main thread probably wouldn't hurt, in case something goes wrong.
Due to this, the rest of the code isn't being called in the NetworkServer.OnDisconnected method.
Repro project
Mirror Hosting Bug.zip
To Reproduce
Steps to reproduce the behavior:

Open the attached project that you can get above.
Go into Scenes/SampleScene.scene
Enter play mode and start hosting. Notice how the prefab 'Network Player' is being spawned.
Right after stop hosting and then try again. Notice how this time it isn't being spawned. That's because the server hasn't been started properly, as mentioned above.

Expected behavior
Every object is destroyed properly and that you can start hosting again.
Desktop (please complete the following information):

OS: Windows 64-bit
Build target: Windows 64-bit
Unity version: 2020.1b12
Mirror branch: master

Can you verify if this is still an issue? Alot of related changes have happened since it was reported.

Sorry for the delay.
This is still an issue. If you just do a simple Debug.Log(clientOwnedObjects.Contains(Identity)); in the DestroyOwnedObjects method in NetworkConnection it still exists in the same list it's destroying and thus destroys itself before any of the children.

Can you check this again? There was a race condition identified and fixed recently.

It's still a problem. I've attached a new project to reproduce the issue. It has a slight change to Mirror with a Deubg.Log message in the NetworkConnection class saying what it should destroy and what it did destroy. Just like before, it destroys itself, the Identity, first and then tries to use the Identity to destroy the other objects.
To test the project, just open it up (I used 2020.2b4 but I don't think it matters too much) and go to Scenes/SampleScene and play.
Then when you press host, you should see "Player Controller" spawn into the scene (a simple cube), now disconnect (this also logs the debug messages I mentioned above) and try to host again. This time the player controller object does not spawn.
Mirror Hosting Bug.zip

I've made a PR with one way to fix this issue. One could consider it as a bit dirty but it gets the work done. #373

I tried writing a test to make this fail

and also adding this for good measure

Cant get it to fail


Fixed bug #6

I found the solution for the problem I've described in my bug report ( see: https://github.com/cretz/dust-php/issues/6)

I see that bug #6 has been resolved with https://github.com/Bloafer/dust-php/pull/1 so I'm closing my PR.


Fetch submitted urls and set metadata from html returned

Consider Fetching submitted urls and set some metadata like summary, and possibly author and pub date, using the html meta tags in the returned page.
That would make RSS feeds more useful, and could possibly be used for display in html lists or on the show page too.

This is now done to some extent by the new bookmarklet (instead of fetching this lets you set this data when still on the page to be posted). Not sure if I should add fetching too but should consider it.

We now do this for github urls at least. Could consider expanding to use the html metatags.


Streaming from backend to the client

Hi, thanks a lot for writing this!
I'm curious (and not that experienced in building web apps esp. when it comes to streaming):
How does one send the data from the backend to the front instead of console logging as you're currently doing it in the handler?
Isn't that the main use case for streaming? I saw you are sharing the key on the front end - I assume it's just for playing around? :))

Hi, and you're welcome! Those implementation details are up to the developer depending on what they're trying to do.
This library only handles streaming from openai to node or the browser. You could use an EC2 server or cloud function to send the stream from server to client, but that's outside the scope of this library. If you do come up with a viable solution, I'd be happy to link to it from the README

My use case for building this was actually to develop my own chatgpt clone. Check out https://github.com/deiucanta/chatpad for an example, this library is used in that project.


Performance: 1.2b6, 1.3.0, 2.0b4

<EMAIL_ADDRESS>BeanShell is used to evaluate user-defined numeric and
boolean expressions within a web application.  For
example, an expression like: b = ((v0 + v1) > 0 && (v2 >
0);  These expressions are defined ahead of time, but
used over and over by multiple concurrent threads.
I have found significant performance degredation in later
versions of BeanShell, probably due to increased
functionality in other areas (like Java 1.5 support).
However any suggestions would be appreciated.
The code fragment below illustrates the relative
performance of the three libraries tested.  A new
interpreter is created in each loop similar to creating a
new one for each thread.  It is unclear whether variables
can be set on a statically held interpreter and still be
threadsafe, so I have assumed not.  Because of this,
putting the expression in a method would not help.
At 10,000 iterations of the outer loop:
1.2b6 = 13 seconds
1.3.0  = 54 seconds
2.0b4 = 133 seconds
//Test BeanShell expressions
System.out.println("BeanShell Test...");
elapsed = System.currentTimeMillis();
n=THOUSAND10;
for (i = n; i @gt; 0; i--) {
    bsh.Interpreter javaInterpreter = new bsh.Interpreter();
    try {
        for (int nVar=0; nVar @lt; 10; nVar++)
            javaInterpreter.set("v"+nVar, (double)nVar);
            Double dEval = (Double)javaInterpreter.eval("(v0 + v1 + v2 + v3 + v4 + v5 + v6 + v7 + v8 + v9) / 2");
            if (cat.isDebugEnabled()) cat.debug("dEval = " +dEval);
        } catch ( bsh.EvalError ex ) {
            cat.error("Java Interpreter error: " +ex.getErrorText());
    }
}
elapsed = System.currentTimeMillis() - elapsed;
System.out.println("" +n+ "* bshTest = " +millisToString(elapsed));

Reported by: *anonymous
Original Ticket: "beanshell/support-requests/4":https://sourceforge.net/p/beanshell/support-requests/4

We appear to be beating 1.2b6 by more than half the time
10000 * bshTest = 5.132s
10000 * bshTest = 5.006s
10000 * bshTest = 5.165s

Updated script to resolve errors, missing variables and functions
//Test BeanShell expressions
print("BeanShell Test...");
elapsed = System.currentTimeMillis();
n=10000;
for (i = n; i > 0; i--) {
    bsh.Interpreter javaInterpreter = new bsh.Interpreter();
    try {
        for (int nVar=0; nVar < 10; nVar++)
            javaInterpreter.set("v"+nVar, (double)nVar);
            Double dEval = (Double)javaInterpreter.eval("(v0 + v1 + v2 + v3 + v4 + v5 + v6 + v7 + v8 + v9) / 2");
        } catch ( bsh.EvalError ex ) {
            print("Java Interpreter error: " +ex.getErrorText());
    }
}
elapsed = System.currentTimeMillis() - elapsed;
print("" +n+ " * bshTest = " +((0.0+elapsed)/1000) +"s");

I suggest to close this issue


IdP metadata returns inconsistent signing and digest algorithm options

Describe the Issue:
When you request metadata for a certain IdP i.e., https://{{host}}{{tenant}}/api/server/v1/identity-providers/meta/federated-authenticators/U0FNTFNTT0F1dGhlbnRpY2F0b3I you will get the options for properties SignatureAlgorithm and DigestAlgorithm inconsistent values in regards to SP metadata.
How To Reproduce:
{
    "authenticatorId": "U0FNTFNTT0F1dGhlbnRpY2F0b3I",
    "name": "SAMLSSOAuthenticator",
    "displayName": "samlsso",
    "properties": [
        ...
        {
            "key": "SignatureAlgorithm",
            "displayName": "Signature Algorithm",
            "description": "Specifies the SignatureMethod Algorithm",
            "type": "STRING",
            "displayOrder": 20,
            "regex": ".*",
            "isMandatory": false,
            "isConfidential": false,
            "options": [
                "DSA with SHA1",
                "RSA with SHA1",
                "ECDSA with SHA1",
                "ECDSA with SHA256",
                "ECDSA with SHA384",
                "ECDSA with SHA512",
                "RSA with MD5",
                "RSA with RIPEMD160",
                "RSA with SHA256",
                "RSA with SHA384",
                "RSA with SHA512"
            ],
            "defaultValue": "RSA with SHA1",
            "subProperties": []
        },
        {
            "key": "DigestAlgorithm",
            "displayName": "Digest Algorithm",
            "description": "Specifies the DigestMethod Algorithm. Applicable only in POST Binding",
            "type": "STRING",
            "displayOrder": 21,
            "regex": ".*",
            "isMandatory": false,
            "isConfidential": false,
            "options": [
                "MD5",
                "RIPEMD160",
                "SHA1",
                "SHA256",
                "SHA384",
                "SHA512"
            ],
            "defaultValue": "SHA1",
            "subProperties": []
        },
       ...
    ]
}

Expected behaviour:
It should return the algorithm namespace i.e., [ "https://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512", ... etc ] and optionally display the name if possible.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


What is this&

Description
[Insert description of issue here]
What PEX Saw

This is you not knowing how to submit a ticket.


Split ContextMenu into ContextMenuInner subcomponent

See #620
This PR extracts most functionality of ContextMenu to ContextMenuInner, except event handling.
The functionality of ContextMenu should be unaffected by this.
ContextMenuInner can now be used when listening for on:contextmenu on window is undesirable. In the documentation, I added an example for binding the context menu to only a single element.
I'm pretty new to svelte & this library, so please thoroughly review my changes.

Any chance of resolving the conflicts?

 As when it is used in isolation without the Global it is not Inner.
I also notice that if it is used without the Global, right-click outside of the context menu does not close it. This is undesirable. I had a go at fixing it but couldn't figure out how @NyxCode


Fixes for API inconsistency and pointers for some optional structs

Adds a complete event struct for timeboards
Moves list of event structs into Graph.Definition (instead of in Graph directly)
Change some instances of float64 to json.Number since in some cases Datadog API returns a number and in other cases a string.
Change some struct attributes to pointers for optional fields

Only test failing is the linter on Go 1.5.
I'd suggest doing one of these to stop running into these build failures:

remove Go 1.5 from list of versions to build in travis
Change .travis.yml to allow failures of go 1.5:

matrix:
    allow_failures:
        - go: tip
        - go: 1.5

Something like this in .travis.yml:

script:
  - if [[ "${TRAVIS_GO_VERSION}" != "1.5" ]]; then go get -u github.com/golang/lint/golint ; fi
  - if [[ "${TRAVIS_GO_VERSION}" != "1.5" ]]; then golint ./... ; fi
  - test `gofmt -l . | wc -l` = 0
  - make test

@zorkian ping :)

Sorry for the slow response here. My understanding of this diff as well as your comment on #56 is that these fields are just optional fields, and in that case, using pointers for just the optionals seems a reasonable compromise.
I'm still curious for feedback on the code snippet I posted on that issue if you have some time to look and comment, though.


Activity timeline stops updating

At some point, activity timeline stops updating for some repositories.

Close by was found fork/migrate type repo does not have update hook.


code snippet/inserted markdown should not always be escaped

1.0.0 rc0
Markdown code snippets should only be escaped when necessary. Two examples where escaping is not needed:

Create a markdown code snippet (e.g. one that defines a copyright message)

Scenario 1:

Open a Python notebook, add a markdown cell, and insert the code snippet
The inserted markdown is escaped, even though it doesn't need to be:

Scenario 2:

Open a markdown document and insert the code snippet

this is a bug, our regex is not using toLower so the capitol M is bypassing the markdown handling and treating like code
@karlaspuldaro or @marthacryan if one of you have a moment to fix it


"movetoworkspace" breaks "workspace_back_and_forth"

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
No
System Info and Version
 System/Version info
Hyprland, built from branch main at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: 2024-06-25
Tag: v0.41.2, commits: 918d8340afd652b011b937d29d5eea0be08467f5

flags: (if any)

System Information:
System name: Linux
Node name: DiogoX-NixOS
Release: 6.6.54
Version: #1-NixOS SMP PREEMPT_DYNAMIC Fri Oct  4 14:30:05 UTC 2024

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 5500 [8086:1616] (rev 09) (prog-if 00 [VGA controller])

os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.05.20241009.d51c286"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.05 (Uakari)"
SUPPORT_END="2024-12-31"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.05 (Uakari)"
VERSION_CODENAME=uakari
VERSION_ID="24.05"

plugins:

======Config-Start======

Config File: /home/diogox/.config/hypr/hyprland.conf: Read Succeeded
exec-once = /nix/store/0hm8vh65m378439kl16xv0p6l7c51asj-dbus-1.14.10/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target
source = /nix/store/ak3d5jv4zihksc0y2ncsp0p5mc4cl8h9-hyprland.conf

Config File: /nix/store/ak3d5jv4zihksc0y2ncsp0p5mc4cl8h9-hyprland.conf: Read Succeeded
# *Wiki*
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/

# You can split this configuration into multiple files
# Create your files separately and then link them to this file like this:
# source = ~/.config/hypr/myColors.conf

################
### MONITORS ###
################

# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1,preferred,auto,1.2 # TODO: Replace with auto on a good laptop :p
monitor=,preferred,auto,auto

###################
### MY PROGRAMS ###
###################

# Set programs that you use
$terminal = wezterm start
$fileManager = dolphin
$menu = wofi --show drun

#################
### AUTOSTART ###
#################

# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:

# exec-once = $terminal
# exec-once = nm-applet &
exec-once = hyprpaper & firefox

#############################
### ENVIRONMENT VARIABLES ###
#############################

env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24

#####################
### LOOK AND FEEL ###
#####################

# Refer to https://wiki.hyprland.org/Configuring/Variables/

# https://wiki.hyprland.org/Configuring/Variables/#general
general {
    gaps_in = 5
    gaps_out = 20

    border_size = 2

    # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.inactive_border = rgba(595959aa)

    # Set to true enable resizing windows by clicking and dragging on borders and gaps
    resize_on_border = false

    # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
    allow_tearing = false

    layout = dwindle
}

# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
    rounding = 10

    # Change transparency of focused and unfocused windows
    active_opacity = 1.0
    inactive_opacity = 1.0

    drop_shadow = true
    shadow_range = 4
    shadow_render_power = 3
    col.shadow = rgba(1a1a1aee)

    # https://wiki.hyprland.org/Configuring/Variables/#blur
    blur {
        enabled = true
        size = 3
        passes = 1

        vibrancy = 0.1696
    }
}

# https://wiki.hyprland.org/Configuring/Variables/#animations
animations {
    enabled = false

    # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}

# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
    pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = true # You probably want this
}

# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
master {
    new_status = master
}

# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
    force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
    disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
}

#############
### INPUT ###
#############

# https://wiki.hyprland.org/Configuring/Variables/#input
input {
    kb_layout = us
    kb_variant = altgr-intl
    kb_options = caps:escape
    kb_model =
    kb_rules =

    # 0 - Cursor movement will not change focus.
    # 1 - Cursor movement will always change focus to the window under the cursor.
    # 2 - Cursor focus will be detached from keyboard focus. Clicking on a window will move keyboard focus to that window. (Like MacOS)
    # 3 - Cursor focus will be completely separate from keyboard focus. Clicking on a window will not change keyboard focus.
    follow_mouse = 2

    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.

    touchpad {
        natural_scroll = true
        disable_while_typing = true
    }
}

# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
    workspace_swipe = true
    workspace_swipe_fingers = 4
    workspace_swipe_distance = 150
    workspace_swipe_forever = true
    workspace_swipe_direction_lock = true
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device {
    name = epic-mouse-v1
    sensitivity = -1.0
}

####################
### KEYBINDINGSS ###
####################

# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Return, exec, $terminal
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle

# Move focus with mainMod + vim keys
bind = $mainMod, h, movefocus, l
bind = $mainMod, l, movefocus, r
bind = $mainMod, k, movefocus, u
bind = $mainMod, j, movefocus, d

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

# Move prev/next workspace
bind = $mainMod, comma, workspace, m-1
bind = $mainMod, period, workspace, m+1

# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

# volume control
bind = , xf86audioraisevolume, exec, amixer sset Master 1%+;
bind = , xf86audiolowervolume, exec, amixer sset Master 1%-;

# Brightness Control # TODO: Replace with brillo?
binde= , XF86MonBrightnessDown, exec, brightnessctl set 5%-
binde= , XF86MonBrightnessUp, exec, brightnessctl set +5%

binds {
  workspace_back_and_forth = true
}

##############################
### WINDOWS AND WORKSPACES ###
##############################

# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules

# Example windowrule v1
# windowrule = float, ^(kitty)$

# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$

windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.

======Config-End========

Description
The workspace_back_and_forth option only seems to work with hyprctl dispatch workspace commands.
When we run hyprctl dispatch movetoworkspace commands, the workspace focus is changed, but workspace_back_and_forth doesn't seem to acknowledge it the same way.
How to reproduce

Enable workspace_back_and_forth option.
Run hyprctl dispatch workspace 2 to focus workspace 2.
Run hyprctl dispatch workspace 3 to focus workspace 3.
Open any window.
Run hyprctl dispatch movetoworkspace 4 to move the window and focus to workspace 4.
Run hyprctl dispatch workspace 4 to trigger the workspace_back_and_forth config.
We should now have workspace 3 focused, but instead have workspace 2.

Crash reports, logs, images, videos
No response

Mine does focus workspace 3 indeed. I can't reproduce it
https://github.com/user-attachments/assets/5d291e51-3b09-49c6-a1e6-a78a40394352

Mine does focuses workspace 3 indeed. I can't reproduce it
https://github.com/user-attachments/assets/273e45dd-b12b-49d6-88fa-b14c7b94abea

Also, you're using v0.41.2, maybe it's already fixed

@macydnah thanks for giving it a test.
I hadn't realized my version was so far behind.
Unfortunately I can't update Hyprland. Seems to be failing to start on newer versions. I looked into it and it's probably an nvidia issue. Will try to fix it later.
For now, since it works on your end I'm happy to assume it's been fixed 🙌