GTID:errant with "topology" command but the replication is working greatly

After a complete installation and configuration of Orchestrator I get a GTID:errant (with the topology command) but it doesn't appear with the "show slave status". The replication works, I can perform "graceful-master-takeover" command too. I don't understand why I get this error.
If I run a 'graceful-master-takeover' and 'start-replica' commands, the GTID:errant dissapears (But i want to have Orchestrator working directly after installation and configuration)
Version :
Percona-server (MySQL version 8.0.22-13)
Orchestrator (version 3.2.3)

My orchestrator.conf.json config file/contents :

{
  "Debug": true,
  "EnableSyslog": false,
  "ListenAddress": ":3000",
  "MySQLTopologyUser": "orchestrator",
  "MySQLTopologyPassword": "XXXXXXXX",
  "MySQLTopologyCredentialsConfigFile": "",
  "MySQLTopologySSLPrivateKeyFile": "",
  "MySQLTopologySSLCertFile": "",
  "MySQLTopologySSLCAFile": "",
  "MySQLTopologySSLSkipVerify": true,
  "MySQLTopologyUseMutualTLS": false,
  "MySQLOrchestratorHost": "<IP_ADDRESS>",
  "MySQLOrchestratorPort": 3306,
  "MySQLOrchestratorDatabase": "orchestrator",
  "MySQLOrchestratorUser": "orchestrator",
  "MySQLOrchestratorPassword": "XXXXXXXXX",
  "MySQLOrchestratorCredentialsConfigFile": "",
  "MySQLOrchestratorSSLPrivateKeyFile": "",
  "MySQLOrchestratorSSLCertFile": "",
  "MySQLOrchestratorSSLCAFile": "",
  "MySQLOrchestratorSSLSkipVerify": true,
  "MySQLOrchestratorUseMutualTLS": false,
  "MySQLConnectTimeoutSeconds": 1,
  "DefaultInstancePort": 3306,
  "DiscoverByShowSlaveHosts": true,
  "InstancePollSeconds": 5,
  "DiscoveryIgnoreReplicaHostnameFilters": [
    "a_host_i_want_to_ignore[.]example[.]com",
    ".*[.]ignore_all_hosts_from_this_domain[.]example[.]com",
    "a_host_with_extra_port_i_want_to_ignore[.]example[.]com:3307"
  ],
  "UnseenInstanceForgetHours": 240,
  "SnapshotTopologiesIntervalHours": 0,
  "InstanceBulkOperationsWaitTimeoutSeconds": 10,
  "HostnameResolveMethod": "default",
  "MySQLHostnameResolveMethod": "@@hostname",
  "SkipBinlogServerUnresolveCheck": true,
  "ExpiryHostnameResolvesMinutes": 60,
  "RejectHostnameResolvePattern": "",
  "ReasonableReplicationLagSeconds": 10,
  "ProblemIgnoreHostnameFilters": [],
  "VerifyReplicationFilters": false,
  "ReasonableMaintenanceReplicationLagSeconds": 20,
  "CandidateInstanceExpireMinutes": 60,
  "AuditLogFile": "",
  "AuditToSyslog": false,
  "RemoveTextFromHostnameDisplay": ".mydomain.com:3306",
  "ReadOnly": false,
  "AuthenticationMethod": "",
  "HTTPAuthUser": "",
  "HTTPAuthPassword": "",
  "AuthUserHeader": "",
  "PowerAuthUsers": [
    "*"
  ],
  "ClusterNameToAlias": {
    "<IP_ADDRESS>": "test suite"
  },
  "ReplicationLagQuery": "",
  "DetectClusterAliasQuery": "SELECT SUBSTRING_INDEX(@@hostname, '.', 1)",
  "DetectClusterDomainQuery": "",
  "DetectInstanceAliasQuery": "",
  "DetectPromotionRuleQuery": "",
  "DataCenterPattern": "[.]([^.]+)[.][^.]+[.]mydomain[.]com",
  "PhysicalEnvironmentPattern": "[.]([^.]+[.][^.]+)[.]mydomain[.]com",
  "PromotionIgnoreHostnameFilters": [],
  "DetectSemiSyncEnforcedQuery": "",
  "ServeAgentsHttp": false,
  "AgentsServerPort": ":3001",
  "AgentsUseSSL": false,
  "AgentsUseMutualTLS": false,
  "AgentSSLSkipVerify": false,
  "AgentSSLPrivateKeyFile": "",
  "AgentSSLCertFile": "",
  "AgentSSLCAFile": "",
  "AgentSSLValidOUs": [],
  "UseSSL": false,
  "UseMutualTLS": false,
  "SSLSkipVerify": false,
  "SSLPrivateKeyFile": "",
  "SSLCertFile": "",
  "SSLCAFile": "",
  "SSLValidOUs": [],
  "URLPrefix": "",
  "StatusEndpoint": "/api/status",
  "StatusSimpleHealth": true,
  "StatusOUVerify": false,
  "AgentPollMinutes": 60,
  "UnseenAgentForgetHours": 6,
  "StaleSeedFailMinutes": 60,
  "SeedAcceptableBytesDiff": 8192,
  "PseudoGTIDPattern": "",
  "PseudoGTIDPatternIsFixedSubstring": false,
  "PseudoGTIDMonotonicHint": "asc:",
  "DetectPseudoGTIDQuery": "",
  "BinlogEventsChunkSize": 10000,
  "SkipBinlogEventsContaining": [],
  "ReduceReplicationAnalysisCount": true,
  "FailureDetectionPeriodBlockMinutes": 60,
  "FailMasterPromotionOnLagMinutes": 0,
  "RecoveryPeriodBlockSeconds": 3600,
  "RecoveryIgnoreHostnameFilters": [],
  "RecoverMasterClusterFilters": [
    "_master_pattern_"
  ],
  "RecoverIntermediateMasterClusterFilters": [
    "_intermediate_master_pattern_"
  ],
  "OnFailureDetectionProcesses": [
    "echo 'Detected {failureType} on {failureCluster}. Affected replicas: {countSlaves}' >> /tmp/recovery.log",
    "python3 /var/tmp/prefailover.py {failedHost}"
  ],
  "PreGracefulTakeoverProcesses": [
    "echo 'Planned takeover about to take place on {failureCluster}. Master will switch to read_only' >> /tmp/recovery.log"
  ],
  "PreFailoverProcesses": [
    "echo 'Will recover from {failureType} on {failureCluster}' >> /tmp/recovery.log"
  ],
  "PostFailoverProcesses": [
    "echo '(for all types) Recovered from {failureType} on {failureCluster}. Failed: {failedHost}:{failedPort}; Successor: {successorHost}:{successorPort}' >> /tmp/recovery.log",
    "mysql -h {successorHost} -u root -pXXXXXXXX -e 'change master to MASTER_USER=\"replic_user\";'",
    "mysql -h {successorHost} -u root -pXXXXXXXX -e 'change master to MASTER_PASSWORD=\"XXXXXXXX\";'",
    "python3 /var/tmp/postfailover.py {failedHost} {successorHost} False"
  ],
  "PostUnsuccessfulFailoverProcesses": [],
  "PostMasterFailoverProcesses": [
    "echo 'Recovered from {failureType} on {failureCluster}. Failed: {failedHost}:{failedPort}; Promoted: {successorHost}:{successorPort}' >> /tmp/recovery.log",
    "mysql -h {successorHost} -u root -pXXXXXXXX -e 'change master to MASTER_USER=\"replic_user\";'",
    "mysql -h {successorHost} -u root -pXXXXXXXX -e 'change master to MASTER_PASSWORD=\"XXXXXXXX\";'"
  ],
  "PostIntermediateMasterFailoverProcesses": [
    "echo 'Recovered from {failureType} on {failureCluster}. Failed: {failedHost}:{failedPort}; Successor: {successorHost}:{successorPort}' >> /tmp/recovery.log"
  ],
  "PostGracefulTakeoverProcesses": [
    "echo 'Planned takeover complete' >> /tmp/recovery.log",
    "mysql -h {successorHost} -u root -pXXXXXXXX -e 'change master to MASTER_USER=\"replic_user\";'",
    "mysql -h {successorHost} -u root -pXXXXXXXX -e 'change master to MASTER_PASSWORD=\"XXXXXXXX\";'",
    "python3 /var/tmp/postfailover.py {failedHost} {successorHost} graceful-master-takeover"
  ],
  "CoMasterRecoveryMustPromoteOtherCoMaster": true,
  "DetachLostSlavesAfterMasterFailover": true,
  "ApplyMySQLPromotionAfterMasterFailover": true,
  "PreventCrossDataCenterMasterFailover": false,
  "PreventCrossRegionMasterFailover": false,
  "MasterFailoverDetachReplicaMasterHost": false,
  "MasterFailoverLostInstancesDowntimeMinutes": 0,
  "PostponeReplicaRecoveryOnLagMinutes": 0,
  "OSCIgnoreHostnameFilters": [],
  "GraphiteAddr": "",
  "GraphitePath": "",
  "GraphiteConvertHostnameDotsToUnderscores": true,
  "ConsulAddress": "",
  "ConsulAclToken": ""
}

My topology :

orchestrator-client -c topology -a dbservers
debian-dbservers1:3306   [0s,ok,8.0.22-13,rw,ROW,>>,GTID]
+ debian-dbservers2:3306 [0s,ok,8.0.22-13,ro,ROW,>>,GTID:errant]

What did you do?
I have created the user 'replic_user', discovered the other server and set the alias to 'dbservers'

What did you expect to happen?
I do not want this error to appear. Because the replication is working greatly, there is no GTID:errant.

Result of "show slave status" on the slave :
mysql> show slave status\G
*************************** 1. row ***************************
               Slave_IO_State: Waiting for master to send event
                  Master_Host: <IP_ADDRESS>
                  Master_User: replic_user
                  Master_Port: 3306
                Connect_Retry: 60
              Master_Log_File: mysql-bin.000001
          Read_Master_Log_Pos: 4167
               Relay_Log_File: relay.000002
                Relay_Log_Pos: 4382
        Relay_Master_Log_File: mysql-bin.000001
             Slave_IO_Running: Yes
            Slave_SQL_Running: Yes
              Replicate_Do_DB:
          Replicate_Ignore_DB:
           Replicate_Do_Table:
       Replicate_Ignore_Table:
      Replicate_Wild_Do_Table:
  Replicate_Wild_Ignore_Table: orchestrator.%,mysql.%
                   Last_Errno: 0
                   Last_Error:
                 Skip_Counter: 0
          Exec_Master_Log_Pos: 4167
              Relay_Log_Space: 4581
              Until_Condition: None
               Until_Log_File:
                Until_Log_Pos: 0
           Master_SSL_Allowed: No
           Master_SSL_CA_File:
           Master_SSL_CA_Path:
              Master_SSL_Cert:
            Master_SSL_Cipher:
               Master_SSL_Key:
        Seconds_Behind_Master: 0
Master_SSL_Verify_Server_Cert: No
                Last_IO_Errno: 0
                Last_IO_Error:
               Last_SQL_Errno: 0
               Last_SQL_Error:
  Replicate_Ignore_Server_Ids:
             Master_Server_Id: 1
                  Master_UUID: f0239eec-6c78-11eb-8dcd-0800278dc04d
             Master_Info_File: mysql.slave_master_info
                    SQL_Delay: 0
          SQL_Remaining_Delay: NULL
      Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates
           Master_Retry_Count: 86400
                  Master_Bind:
      Last_IO_Error_Timestamp:
     Last_SQL_Error_Timestamp:
               Master_SSL_Crl:
           Master_SSL_Crlpath:
           Retrieved_Gtid_Set: f0239eec-6c78-11eb-8dcd-0800278dc04d:1-12
            Executed_Gtid_Set: e160dfaf-6c78-11eb-a63a-0800278dc04d:1-12,
f0239eec-6c78-11eb-8dcd-0800278dc04d:1-12
                Auto_Position: 1
         Replicate_Rewrite_DB:
                 Channel_Name:
           Master_TLS_Version:
       Master_public_key_path:
        Get_master_public_key: 0
            Network_Namespace:
1 row in set, 1 warning (0.01 sec)

Orchestrator (error log) :

error_db2.log
error_db1.log
Thanks for your time !

I get a GTID:errant (with the topology command) but it doesn't appear with the "show slave status".

That's because MySQL doesn't have the ability to tell you you have an errant GTID, whereas orchestrator has that ability.

... but the replication is working greatly

That's because the problem only manifests when it's too late. As long as the replica has more transactions than the primary, it can replicate. But, if that replica gets promoted as primary, on top of replicas which do not have errant GTIDs, then their replication may break because it will not be able to retrieve that errant GTID. I say "may" because it depends on whether the errant GTID transaction(s) are still found in the server's binary logs. If yes, everyone gets it. If not, replication break.
Last, this errant GTID might just be something that corrupts your data, so it's worth investigating.
I think your confusion is around what errant GTID actually is, and unfortunately I don't have the resources right now to explain it in full.


React step 4

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

For whatever reason, any time I tried to switch to the correct branch it says it already exists, or that I am already on react-step-4 and I haven't been able to get it to render properly.

To solve:

Close this PR.
git checkout master
git branch -D react-step-4
git fetch upstream
git checkout -b react-step-4 upstream/react-step-4

Then follow the the rest of the instructons in step 4.


Warning: React does not recognize the allowFocusWhenDisabled prop on a DOM element.

Provide a general summary of the issue here
Using the useNumberField hook, and the increment/decrement props have 'allowFocusWhenDisabled', it is not typed but makes react error. I have a similar problem with 'excludeFromTabOrder', but that is typed so I can remove it myself.
Warning: React does not recognize the `allowFocusWhenDisabled` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `allowfocuswhendisabled` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
🤔 Expected Behavior?
To not error
😯 Current Behavior
It gives error message.
💁 Possible Solution
Either remove the prop or type it so I can exclude it myself. I can probably fix this by ignoring the type, but should not be like it is now.
🔦 Context
No response
🖥 Steps to Reproduce
Use any react framework. Create a numberField component with buttons to increment and decrement. Check console for error.
Version
^3.32.1
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
macOS
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response

Are you perhaps using useNumberField() with plain HTML <button>s?
It looks like allowFocusWhenDisabled is meant to be handled by useButton():
https://github.com/adobe/react-spectrum/blob/379e8d64f76c15bbb35f710c4150cc84e85b1d7e/packages/%40react-aria/button/src/useButton.ts#L100-L102
And the example from the docs uses RAC <Button> instead of html <button>:
https://react-spectrum.adobe.com/react-aria/useNumberField.html#example
I guess you can use html <button>s also, as long as you use them with useButton().

@sookmax is correct, our numberfield is meant to be used with buttons which also use our hooks. If you do not include useButton, then some things will not work/won't be normalized across OS|browsers|input methods|etc
I'm going to close this as resolved. Let us know if you have any more questions.

We use the hook usePress on our buttons. We experienced some problems with useButton and usePress worked for our use case. Seems like it usePress does not handle this problem.

Can you say more about the issues you had with useButton? As that's the correct thing to use here and usePress would only be part of the picture


U+25b8 font fallback

Contour Terminal version
Contour Terminal Emulator 0.3.2-unreleased-master-7f3454b6
Installer source
Github: source code cloned
Operating System
Linux blacktoo 5.15.32-gentoo-dist #1 SMP Wed Mar 30 08:46:54 -00 2022 x86_64 AMD Ryzen 9 5900X 12-Core Processor AuthenticAMD GNU/Linux
Architecture
x86-64
Other Software
No response
Steps to reproduce
#! /bin/bash
echo ▸
read

Expected Behavior
Render the glyph better
Actual Behavior
Tiny triangle, barely visible
Additional notes
[2022-05-04 20:20:15.424723] [font.textshaping] Shaping using font key: 0, text: "▸"
[2022-05-04 20:20:15.424740] [font.textshaping] Shaping codepoints: 0:U+25b8
        Using font: key=0, path="/home/uros/.fonts/JetBrains Mono Regular Nerd Font Complete Mono.ttf"
[2022-05-04 20:20:15.426766] [font.locator] Loading font: key=8, id="/home/uros/.fonts/JetBrains Mono Medium Nerd Font Complete Mono.ttf" size=10pt dpi 96x96 (17, 8, 14, -3, -1, 1)
[2022-05-04 20:20:15.426775] [font.textshaping] Try fallbacks font key:8, source: path /home/uros/.fonts/JetBrains Mono Medium Nerd Font Complete Mono.ttf
[2022-05-04 20:20:15.427212] [font.locator] Loading font: key=9, id="/usr/share/fonts/liberation-fonts/LiberationMono-Regular.ttf" size=10pt dpi 96x96 (16, 8, 12, -4, -2, 1)
[2022-05-04 20:20:15.427219] [font.textshaping] Try fallbacks font key:9, source: path /usr/share/fonts/liberation-fonts/LiberationMono-Regular.ttf
[2022-05-04 20:20:15.427575] [font.locator] Loading font: key=10, id="/usr/share/fonts/dejavu/DejaVuSansMono.ttf" size=10pt dpi 96x96 (16, 8, 13, -3, -1, 1)
[2022-05-04 20:20:15.427582] [font.textshaping] Try fallbacks font key:10, source: path /usr/share/fonts/dejavu/DejaVuSansMono.ttf
[2022-05-04 20:20:15.427691] [font.render] rasterize (10, 10pt, 2575) to rasterized_glyph(0, 6x7+(1, 7), alpha_mask)

As discussed, I can see what I can do to improve here.
But in the end (or worst case?): That codepoint will simply be implemented as part of the BoxDrawingRenderer.cpp, where this is already listed as TODO item.
I'm not sure how much that can improve at such a small pt font size.
what are you metrics? You can dump the initial logging output of debug tag gui.display, the part that looks similar to that example?
[2022-05-04 20:41:59.343337] [gui.display] [FYI] Font DPI            : 144x144 (144x144)
[2022-05-04 20:41:59.343353] [gui.display] [FYI] Font size           : 18pt (36 px)
[2022-05-04 20:41:59.343368] [gui.display] [FYI] Cell size           : 22x44 px
[2022-05-04 20:41:59.343390] [gui.display] [FYI] Page size           : 100x30
[2022-05-04 20:41:59.343404] [gui.display] [FYI] Font baseline       : 8 px
[2022-05-04 20:41:59.343416] [gui.display] [FYI] Underline position  : 3 px
[2022-05-04 20:41:59.343427] [gui.display] [FYI] Underline thickness : 2 px

[2022-05-04 21:02:27.289200] [gui.display] [FYI] Build type          : RelWithDebInfo
[2022-05-04 21:02:27.289206] [gui.display] [FYI] Application PID     : 5366
[2022-05-04 21:02:27.289209] [gui.display] [FYI] OpenGL type         : OpenGL
[2022-05-04 21:02:27.289211] [gui.display] [FYI] OpenGL renderer     : NVIDIA GeForce GT 1030/PCIe/SSE2
[2022-05-04 21:02:27.289217] [gui.display] [FYI] Qt platform         : xcb
[2022-05-04 21:02:27.289226] [gui.display] [FYI] OpenGL version      : 3.3
[2022-05-04 21:02:27.289230] [gui.display] [FYI] GLSL version        : 3.30 NVIDIA via Cg compiler
[2022-05-04 21:02:27.289240] [gui.display] contentScale: 1
[2022-05-04 21:02:27.289245] [gui.display] [FYI] Refresh rate        : 60 Hz
[2022-05-04 21:02:27.289248] [gui.display] [FYI] Screen size         : 1920x1080
[2022-05-04 21:02:27.289251] [gui.display] [FYI] Logical DPI         : 96x96
[2022-05-04 21:02:27.289257] [gui.display] [FYI] Physical DPI        : 96x96
[2022-05-04 21:02:27.289260] [gui.display] [FYI] Device pixel ratio  : 1
[2022-05-04 21:02:27.289269] [gui.display] contentScale: 1
[2022-05-04 21:02:27.289272] [gui.display] [FYI] Content scale       : 1
[2022-05-04 21:02:27.289279] [gui.display] contentScale: 1
[2022-05-04 21:02:27.289283] [gui.display] [FYI] Font DPI            : 96x96 (96x96)
[2022-05-04 21:02:27.289286] [gui.display] [FYI] Font size           : 10pt (14 px)
[2022-05-04 21:02:27.289289] [gui.display] [FYI] Cell size           : 8x17 px
[2022-05-04 21:02:27.289292] [gui.display] [FYI] Page size           : 210x60
[2022-05-04 21:02:27.289295] [gui.display] [FYI] Font baseline       : 3 px
[2022-05-04 21:02:27.289298] [gui.display] [FYI] Underline position  : 2 px
[2022-05-04 21:02:27.289301] [gui.display] [FYI] Underline thickness : 1 px

This one is rendering properly on QML


remove required probe in packageadmission module

Summary

Change Type

Check List Before Merging

[ ] This PR passes all pre-commit hook validations.
[ ] This PR is fully tested and regression tests are included.
[ ] Relevant documentation has been updated.

Additional Information

/retest

/retest


Move notification handling code to main thread/queue

While debugging I noticed these notifications weren't arriving on the main thread. This probably prevented the audio engine from being restarted correctly.

Thanks!


Getting an ERR on every single folder Missing or Invalid Folder:

Hi JohnKiddjr, hope you have seen this issue before and I'm just not seeing it.  Problem with ERR on each item. Running command in the user/Downloads folder. Logs to folder in same.
Microsoft Windows [Version 10.0.22631.2715]
PlexMatchGenerator Version: 0.9.2-rc2
Using this command with a:
PlexMatchGenerator-Windows-x86.exe --url http://192.168.#.##:32400 --token xxxxxxxxxxx -r /DS920PLUS/MyMedia:/volume2/MyMedia -l C:\Users\vip95\Downloads\Logs -lib "TV Shows" -lib "Movies"
Resulting in all folders getting the below:
16:01:52 ERR] Missing or Invalid Folder: /DS920PLUS/MyMedia/Movies/Young Frankenstein (1974)
[16:01:52 INF] Processed results for Movies: 250 processed
[16:01:52 ERR] Missing or Invalid Folder: /DS920PLUS/MyMedia/TV/1883 (2021)
[16:01:55 INF] Processed results for TV Shows: 252 processed
[16:01:55 INF] Library Audiobooks skipped because it is not in the list of libraries to process
[16:01:55 INF] Library Chris-Music skipped because it is not in the list of libraries to process
[16:01:55 INF] Library Home Videos skipped because it is not in the list of libraries to process
[16:01:55 INF] Operation Completed
I've checked the existing folders but no new .plexmatch file. Am I overlooking something?

Looks like you're on Windows, but the path provided to the -r command isn't a valid Windows path:
/DS920PLUS/MyMedia <- This is the local path, but this is not a valid Windows Path.
/volume2/MyMedia <- This is the path local to your plex server
Assuming DS920PLUS is a file server of some kind that is accessed via hostname, the correct path should be: \DS920PLUS\MyMedia

Thanks for the quick response, tried this command with the backslash instead of forward slashes, but same error: PlexMatchGenerator-Windows-x86.exe --url http://192.168.#.##32400 --token xxxxxxxxx -r \DS920PLUS\MyMedia:/volume2/MyMedia -l C:\Users\vip95\Downloads\Logs -lib "TV Shows" -lib "Movies".
And you are correct in that DS920Plus is the server (NAS) where the media files live. /volume2/MyMedia is what Plex uses as Plex is installed on the Synology NAS.

This however has worked now. PlexMatchGenerator-Windows-x86.exe --url http://192.168.#.##:32400 --token xxxxxxxxxx -r \DS920PLUS\MyMedia:/volume2/MyMedia -l C:\Users\vip95\Downloads\Logs -lib "TV Shows" -lib "Movies"
Two backslashes needed for this in windows. As per the usual! I'm checking the output now. Thanks for the extra eyeballs.

You are correct, I forget markdown hates backslashes :)

Closing as complete. Windows paths on network get two backslashes!


Improve btrfs encrypted setup

Refs: https://keyb0ardninja.github.io/BTRFS.html

GRUB_BTRFS_BOOT_DIRNAME should be change too (is missing from the guide)


track convergence of BRR/ARD

Add an ACE1pack interface to the verbose=True arguments of the sklearn brr/ard code (or something)

Should be resolved by 1065b56b12ca72bb9c1569db236246e280b8499d and earlier commits, as well as related work in IPFitting. New versions are also being registered (https://github.com/JuliaMolSim/MolSim/pull/3). Closing.


[Package Request]: LibreOffice stable (corporate) release

Package Requested

[X] I would like someone else to build the manifest.
[ ] I would like help so I can submit the manifest.
[X] I have performed a search and couldn't find this package.
[X] I have checked that the installer for this package is not a standalone or portable executable or a .zip file
[X] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: Document Foundation
Publisher Url: https://www.libreoffice.org
Package Name: LibreOffice Stable/Corporate
Description: "This version is slightly older and does not have the latest features, but it has been tested for longer. For business deployments, we strongly recommend support from certified partners which also offer long-term support versions of LibreOffice."
Package Version: 7.2.7
Installer URL: https://www.libreoffice.org/donate/dl/win-x86/7.2.7/en-US/LibreOffice_7.2.7_Win_x86.msi
Current Package Identifier (for new versions): LibreOffice Stable/Corporate

I am working on getting this created now. Will post a link to the merge once created

https://github.com/microsoft/winget-pkgs/pull/63980

Package has been added.
winget install TheDocumentFoundation.LibreOffice.LTS


Improve display of stacked graphs on VM dashboard.

What
Making the fill colour much stronger makes it much easier to see which
section of the stack correlated to which metric.
Before:

After:

How to review
Deploy these dashboards, and be amazed at the improvement.
Who can review
Anyone but myself.

I like the current design more. It has transparency which looks like future. The new pastel colors look like google material design. It would be nice if the color palette would be easily configurable so that everyone can select the colors that they like the most. Also, don't forget about the colorblind users...

This doesn't change the colours used, it just makes them bolder to help with clarity. For example looking at the CPU graph, with the current style, it's not clear whether the upper section is system or steal (or one of the others), because you're mostly relying on the line colours.
With the new style, it's much more obvious that it's system because you can look at the fill colour.

I'm with @mtekel I the other palette more. I do not have a problem distinguish them.
The only issue might be that the colors are the same for some metrics (steal and nice) but it is the same issue in both cases.

I'm more concerned with the ability to interpret the data than the aesthetics.
For example, by looking at the top graph, what's using all the CPU at 14:53? For me, that's not clear with the current config, but it clear with the updated config.


pytest: introduce runTests function

Motivation for this change
A simple function that generates a checkPhase. It includes a
disabledTests parameter to conveniently disable tests.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg eval

Ofborg's new maintainer ping algorithm would have requested a review from:

@nixy for pkgs.python27Packages.astor, pkgs.python37Packages.astor, pkgs.python27Packages.astor, pkgs.python37Packages.astor, pkgs.python27Packages.astor, pkgs.python27Packages.astor, pkgs.python37Packages.astor, pkgs.python37Packages.astor
@knedlsepp for pkgs.python37Packages.pandas, pkgs.python27Packages.pandas, pkgs.python27Packages.pandas, pkgs.python37Packages.pandas, pkgs.python37Packages.pandas, pkgs.python37Packages.pandas, pkgs.python27Packages.pandas, pkgs.python27Packages.pandas
@fridh for pkgs.python37Packages.datashape, pkgs.python37Packages.datashape, pkgs.python37Packages.pandas, pkgs.python27Packages.traitlets, pkgs.python37Packages.traitlets, pkgs.python27Packages.pandas, pkgs.python37Packages.traitlets, pkgs.python37Packages.traitlets, pkgs.python27Packages.traitlets, pkgs.python27Packages.pandas, pkgs.python27Packages.datashape, pkgs.python27Packages.traitlets, pkgs.python37Packages.pandas, pkgs.python37Packages.datashape, pkgs.python37Packages.pandas, pkgs.python37Packages.datashape, pkgs.python27Packages.traitlets, pkgs.python37Packages.pandas, pkgs.python27Packages.datashape, pkgs.python27Packages.pandas, pkgs.python27Packages.datashape, pkgs.python37Packages.traitlets, pkgs.python27Packages.pandas, pkgs.python27Packages.datashape
@zimbatm for pkgs.python37Packages.pip-tools, pkgs.python27Packages.pip-tools, pkgs.python37Packages.pip-tools, pkgs.python27Packages.pip-tools, pkgs.python37Packages.pip-tools, pkgs.python27Packages.pip-tools, pkgs.python37Packages.pip-tools, pkgs.python27Packages.pip-tools
@7c6f434c for pkgs.python37Packages.pandas, pkgs.python27Packages.pandas, pkgs.python27Packages.pandas, pkgs.python37Packages.pandas, pkgs.python37Packages.pandas, pkgs.python37Packages.pandas, pkgs.python27Packages.pandas, pkgs.python27Packages.pandas
@catern for pkgs.python37Packages.trio, pkgs.python37Packages.trio, pkgs.python37Packages.trio, pkgs.python37Packages.trio

does this seem reasonable? please discuss on https://github.com/NixOS/ofborg/pull/293

runTests returns a string, and can therefore unfortunately not be overridden. If, instead, buildPython* would accept a parameter, say, checkConfig, whose value corresponds to an attribute set, then it would be possible to write:
buildPythonPackage {
  ...

  checkConfig = {
    runner = pytest;
    variables.FOO = "bar";
    disabledTests = [
      "test_this"
    ];
  };
}

where the runner gets to decide how to invoke the test.
I don't want to over-engineer it (mainly just have a solution for disabledTests), but considering we have different test runners it may be convenient. At the same time, nose is being used fewer and fewer.

Just two points here?

Was there a particular reason not to use a build-support hook?
Can we get documentation for this function in the manual?

Are there any updates on this pull request, please?

Will continue with hook approach.


Feature: Field should be serialized but shouldnt be queryable by the user

How to prohibit user to query over a particular field in search index but allow it to be rendered in the serialized result.

This is currently not supported.
As a work around you can override the serializers to_representation and add the value from instance.object. This will cost you a database query though...


Steffens MG

Hey !
Please add my stuff !
DO IT !!!

Steffen, please review the management group id


draft pack create

Enables users to scaffold a new draft pack.
This command may be extended with more subcommands in the future that help users manage a single pack but for now it will be limited to one subcommand draft pack create
This command/functionality is intended to be a default plugin installed via draft init. Organizations may want to replace this the pack command with their own logic for scaffolding and managing packs later.

draft pack create <name> should create a directory using the given name which encompasses a Dockerfile, a helm chart, and .dockerignore file


compose.each prototype

@iwyrkore @leafyoung Could you take a look at this. It's not ready for production, but this is how I'm imagining some of the compose stuff working, we'll need a pipe, a pipe to specific input properties, and I think we can use this to make historical really powerful.

We might want a way to pass in some extra input to the processor model and combine that with the row data somehow. We'll need to start using this to figure out what we need.


Update pip version

The 'xpip' alias seems to be fetching an out of date version of this xontrib from pypi.org. That version doesn't have the fix detailed in issue #1.
Could you update the version hosted on pip?

Done, 0.1.3: https://pypi.org/project/xontrib-prompt-vi-mode/#history


Setup documentation build through CI

As far as I can tell, the docs are still not being built properly. This is a major problem that needs to re resolved as soon as possible.

Docs now deploy. Still missing CSS; can you handle the rest of this @jackmerrill?

Currently rewriting back into Zola to prevent these issues in the future and to simplify the codebase; will be a non-issue


Fix: toColumns mixin generated with wrong name

In data_class_writer.dart we expect a mixin named ${table.entityInfoName}ToColumns, but then we create one named ${table.baseDartName}ToColumns in `table_writer.dart.

Sounds like a good idea! I'll do it asap 🫡


[Desktop] Type 'TapDragUpDetails' not found

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Launching lib\main.dart on Windows in debug mode...
/E:/Do%20not%20delete/Pub/Cache/Cache/hosted/pub.flutter-io.cn/flutter_math_fork-0.7.1/lib/src/widgets/selection/gesture_detector_builder_selectable.dart(38,22): error G5FE39F1E: Type 'TapDragUpDetails' not found. [C:\Users\NH-Studio\Desktop\flutter-quill-master\example\build\windows\flutter\flutter_assemble.vcxproj]
/E:/Do%20not%20delete/Pub/Cache/Cache/hosted/pub.flutter-io.cn/flutter_math_fork-0.7.1/lib/src/widgets/selection/gesture_detector_builder_selectable.dart(38,22): error G3CBA7E62: 'TapDragUpDetails' isn't a type. [C:\Users\NH-Studio\Desktop\flutter-quill-master\example\build\windows\flutter\flutter_assemble.vcxproj]

The sample code in the source code cannot be run

how to fix it


chore(deps): bump svm-rs, svm-rs-builds and update LATEST_SOLC

Motivation
svm-rs has been bumped, so we should update things accordingly.
Solution
bump related packages & latest solc

might need ethers bump too (once released) ?


[Improvement] Navbar is not looking so good.

Chnages

Increase the height
Correct the allignment
Addding hover effect to improve UI

After

Before

@pooranjoyb I want to work on this. Can you please assign me it under Hacktoberfest-2023.

@pooranjoyb I want to work on this. Can you please assign me it under Hacktoberfest-2023.

Go for it @Babunshil :rocket:
Make sure you add transitions too👍

@pooranjoyb  What about this hover effect on the nav links or previous on was better ?

https://github.com/gdscsmit/gdscsmit.github.io/assets/106283743/e9bf9605-0bf7-4210-963c-05bef72c8975

https://github.com/gdscsmit/gdscsmit.github.io/assets/106283743/e9bf9605-0bf7-4210-963c-05bef72c8975

Ya, it's fine but make sure that animation is not circular but only displays as an underline animation.
Also add the previous frosted-glass feature.
The css for the same is already written, just add the class in the Navbar
@Babunshil


Use the 'command' attribute in the Job resource

Just a small fix, but noticed that the name attribute was defined in the resource instead of the command attribute. This makes it conform the response from the API / docs :)

This would need a major version bump because it's a change in API.


TS project was breaking because of out dated TS definition 'itemOption' instead of 'itemChoice'

TS project was breaking because of out dated TS definition 'itemOption' instead of 'itemChoice'. I've updated in README.md and TS def.

Not sure why the CI test is failing. I only changed the TS definition and README files.
Btw, I did this on master branch, rather than develop (which I can see you've already fixed there), because it's kind of a critical error (for me anyway), as I need to change this CSS class name and TS won't compile without it. Would be great if you could incorporate it soon.

The master branch is frozen in its current state (I know there are issues with it). The next release will be from develop.


[FEATURE] You should collect shift and marks data of students who use the website

You should collect the shift and marks data of students who use the website and their application number as a unique ID, then make something to predict their percentile.
Couldn't find any other way to request this feature, feel free to delete this. Good work btw

I do want to do this, however i feel like it would be invading people's privacy, so I'm not sure whether I should go for it.

It could always be anonymous, it would feel like invading privacy if you stored their application number, so instead generate unique codes for the application numbers and store it in the database with their marks. I don't think people would mind, and there could be an option to opt out. I would be willing to help out with this but I have NEET soon :(

Oh I see, that's a shame! Collaborating might've been fun. I will see if i can implement this, will need to use a database, right now the response sheet is just fetched from a cloudflare worker so cloudflare's database might work, hopefully its free.


Automatically set/restrict language

Germany and Chile have raised concerns about language settings. Should we have it set so that language is a two stage process. When selecting a country the language defaults to local language with the user having to go through region then language if they wish to change language. Should we also restrict it so that a count can only be done in the local language or the english related to that country?
I'm not really sure what happens if a user chooses a language from a country with a different set of target species, presumably the options will not be correct?
@CCarvell

@JimChiazzese1 I am guessing the concerns are around your last point ie. a count being done in English but for the wrong country, in which case the options would not be correct as you suggest. Yes, selecting country first with a default to local language then proactively having to change language back to English would help this. @kazlauskis is this feasible in technical terms?
I can't remember if we imposed a country boundary on GPS locations to also restrict someone in Chile using the UK version.

I'm not really sure what happens if a user chooses a language from a country with a different set of target species, presumably the options will not be correct?

The options are tied to countries rather than languages. If a user selects Brazil, the options will be for Brazil but shown in the currently selected language. If that language doesn't have a translation, then it will default to English. Some countries will have multiple languages so we might want to keep this flexibility.
@JimChiazzese1 The app currently automates the language selection. At the point when the app is installed, it picks the language set from the device settings. So that if your primary device language is Spanish then it will use that by default and list the app countries' options in Spanish. Can you give me a scenario where this flow doesn't work?


build on node v4, again

ah sweet, I haven't been tracking the release schedule but that makes sense to me

Coverage increased (+0.03%) to 95.157% when pulling a88020dbdc5f59368a4311bb8805b448c08b51d2 on node-4-build into 28e1623dd09cf63717f1a1b2bd3ec3566c5fb106 on master.

Coverage increased (+0.03%) to 95.157% when pulling a88020dbdc5f59368a4311bb8805b448c08b51d2 on node-4-build into 28e1623dd09cf63717f1a1b2bd3ec3566c5fb106 on master.


Correction for raw affiliation Institute for Research in Immunology and Cancer, Pavillon Marcelle-Coutu, Université de Montréal, 2950 chemin de Polytechnique, Montréal, Québec H3T 1J4, Canada

Correction needed for raw affiliation Institute for Research in Immunology and Cancer, Pavillon Marcelle-Coutu, Université de Montréal, 2950 chemin de Polytechnique, Montréal, Québec H3T 1J4, Canada
raw_affiliation_name: Institute for Research in Immunology and Cancer, Pavillon Marcelle-Coutu, Université de Montréal, 2950 chemin de Polytechnique, Montréal, Québec H3T 1J4, Canada
new_rors: 00wj6x496;0161xgx34
previous_rors: 00wj6x496;05f8d4e86;0161xgx34
works_examples: W2125850880
contact: 9d65253fcc5f5e854d3a2e78ae9e2032:6b177fd8caa2941e7215a7 @ polymtl.ca

This issue was accepted and ingested by the OpenAlex team on 2024-11-01. The new affiliations should be visible within the next 7 days.


own-props-must-be-private for private properties

The own-props-must-be-private persists even for private properties. E.g.
@Component(/* ... */)
class MyComponent {
  #privateProperty = "secret";  // <-- false positive
}

I need this in my project, so I've made a PR. Hopefully the maintainers will come back soon and update 😄


⚠ Guya.moe Proxied has degraded performance

In c1dae02, Guya.moe Proxied (https://ice.guya.moe/) experienced degraded performance:

HTTP code: 200
Response time: 12907 ms

Resolved: Guya.moe Proxied performance has improved in 61edd4c after 2 hours, 32 minutes.


feat: add Optimus dashboard

resolves : #365

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 77.291%

Files with Coverage Reduction
New Missed Lines
%

ext/notify/pagerduty/pagerdutynotifier.go
2
93.75%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
7396

Relevant Lines:
9569

💛  - Coveralls

grafana spelling is wrong


Outdated cask: buildasaur

Outdated cask: buildasaur.
Info:

version: 0.8.0.
appcast url: https://github.com/czechboy0/Buildasaur/releases.atom.

0.8.0

Updated in #18384.


Hide built-in plugins from version command

:notebook_with_decorative_cover: Description
We support built-in plugins by using the VAST_REGISTER_PLUGIN macro from within a source file that is part of either the vast or the libvast targets.  These plugins are always loaded and cannot be disabled. This channge hides such plugins from the version output, as they are really not plugins but simply use the plugin framework to add functionality.
The idea for this came up when reviewing the transforms functionality, which has some transformation as such built-in plugins directly as part of libvast.
:memo: Checklist

[x] All user-facing changes have changelog entries.
[x] The changes are reflected on docs.tenzir.com/vast, if necessary.
[x] The PR description contains instructions for the reviewer, if necessary.

:dart: Review Instructions
File-by-file.

With the plugin information hidden, how would you figure out whether your binary supports a given feature/plugin or not?

With the plugin information hidden, how would you figure out whether your binary supports a given feature/plugin or not?

To clarify, "built-in plugins" are not really plugins. They are just static part of the VAST binary or libvast library that are accessible via the plugin API and essentially work like statically linked bundled plugins. Since they're not optional there's no need to check for this, ever.


How to prevent initialization from overwriting a previously persisted value

I'm having trouble figuring this out: suppose I define a persistent store like this:
const currentId = persist(writable(null), localStorage(), "currentId");

There is necessarily an initial value (here null), which is written to the store (and localStorage). But if the user has already set some value from a previous session, that value will be overwritten to null, which is probably not the desired behaviour.
Any idea how to deal with that?

Hello,
I can't reproduce the error.
I try it with version 2.0 and 1.3
Here the test application I use
<script>
    import { persist, localStorage } from "@macfja/svelte-persistent-store"
    import { writable } from "svelte/store"

    let nullExample = persist(writable(null), sessionStorage(), 'sps-null')
</script>

<fieldset>
    <legend>Null in storage</legend>
    <code>{$nullExample}</code> → <var>{typeof $nullExample}</var>
    <input bind:value={$nullExample} />
</fieldset>

<button id="reloadButton" on:click={() => window.location.reload()}>Reload the page</button>

Thanks for your answer, and it looks like you're right: it works. Sorry about the false alert.


Stream incompatible with Shaka v2

I have a stream that doesn't play with Shaka v2 but plays with Shaka v1.
I see this logs in a loop in the demo player and the playback doesn't start.
(audio:11) looking up segment: presentationTime=207149.5926668644 currentPeriod.startTime=0
log_section.js:73 (video:2) looking up segment: presentationTime=207149.60766673088 currentPeriod.startTime=0
What version of Shaka Player are you using:
Tried Shaka v 2.1.5 stream doesn't start. Tried Shaka v1.6.2 playback is working.
Can you reproduce the issue with our latest release version:
Yes I can reproduce the issue.
Can you reproduce the issue with the latest code from master:
Didn't try.
Are you using the demo app or your own custom app:
I'm using the demo app.
What browser and OS are you using:
Chrome Version 59 mac OS 10.12.5
What are the manifest and license server URIs:
sent to email address.
What did you do?
Run the demo app with custom manifest.
What did you expect to happen?
Have playback
What actually happened?
No playback starts, manifest is requested every few seconds and logs in consoles are.
"(audio:11) looking up segment: presentationTime=207149.5926668644 currentPeriod.startTime=0
log_section.js:73 (video:2) looking up segment: presentationTime=207149.60766673088 currentPeriod.startTime=0"
I have different manifest with the same content that works on the latest Shaka player:
sent to email address.
Additional information:
the content is 24/7 stream. After recreating the manifest the player starts playing the content, so my suggestion is something with the time desync but we need to confirm what is the root cause of the issue and that player will not stop playing the content after awhile.
Where the differences comes from?
Thank you in advance and keep the good work!

I don't see any major clock sync issues when I analyze the content, and it does play for me in the demo.

Can you provide any other information?  Are there any additional steps I should take?
Since your manifest URL is private, I've sent you back a private repro link from the demo app to show what I'm doing.

@joeyparrish I provide you manifest from another DC that doesn't play with the test player.
After "recreating" the manifest the link that I previously provided started working for me as well.
We want to get to the bottom of the issue because we want to make sure that all the manifests are playing.
regards

I analyzed the failing manifest and found that the presentation timeline differs from the segment references by 72454 seconds (a little over 20 hours).  So this appears to be either a clock sync issue or massive drift.
Can you tell us what encoder/packager you're using?  Have you checked for updated encoder/packager software?
The DASH spec allows for segment reference times to be "approximate", and goes on to define that as +/- 0.5 segment lengths.  20 hours is obviously much more inaccuracy than is allowed by the spec, so I believe the encoder/packager is at fault.

AWS Elemental Delta is the Packager.
I forwarded the results from your investigation to the content provider.
Thank you once again for the fast and accurate response!

Happy to help!  Do you mind if we close this bug now, or is there something else we can do to help?

@dobrusev, we have decided to detect and attempt to correct issues like this in the player.  Can you make your stream available to us again for testing?

I will ask the content provider to return back the content.

Thank you!

@joeyparrish We can give you an un-encrypted endpoint but the stream will work.
We tried, and we can't recreate the issue, that's why it was hard to see what was going on, it was just a one off. WeI can give you a copy of the incorrect manifest?

A static copy of the broken manifest would not be sufficient for me to test my workaround.  I would need to test that I am able to play the content in spite of the manifest being incorrect.
If you can't recreate the issue, I will just have to proceed with unit testing and simulation, instead.  Thanks!

The workaround is being reverted.  The timeline correction is actually making things worse in some cases.  Details in the commit message.


Update tutorial how to create e-Service

Make the example to be a full working example that enriches every first word in the text with "hello world"
Make the code example downloadable so people do not have to struggle with the imports

Done: https://github.com/freme-project/Documentation/blob/master/_pages/tutorials/implement-eservice.md
I created an example e-Service that capitalizes all plaintext input instead of above mentioned example.


Fix depwarn on 0.5

Requires Compat .......... https://github.com/JuliaLang/Compat.jl/pull/192
And a bunch of other PR's I've just made to get rid of all the depwarns.....

Update to depend on a tagged Compat version.

Thanks!


Updating Track Data

Is it possible  to be able to update the track data without playing the next track. I am using this to play a radio stream and since metadata is currently not supported, I would like to manually update the notification.

Duplicate of #93 -- Or even #192


Service Feasibility - configure page

WAB - Dev 1.2

Symbology selection throughout the page does not have consistent colon usage.

@MikeMillerGIS @pLeBlanc93
The colons are actually defined in the SymbolChooser jimu dijit. We cannot override the internals of this dijit.


Add templates to configure Facebook & GitHub IDPs on Console

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

[x] Add support to configure GitHub IDPs if the Github Authenticator is added to the product.
[x] Add OOTB support for configuring Facebook IDPs.

Describe the solution you would prefer

Add IDP templates for GitHub & Facebook.
Add ability to enable GitHub template via TOML on demand.

Some issues captured during testing will be tracked in https://github.com/wso2/product-is/issues/11921


agent: refactor to use cobra in command handling

Signed-off-by: asakiz<EMAIL_ADDRESS>

@Asakiz could you rebase this?

@Asakiz is this still work on progress or ready for merge?

@Asakiz is this still work on progress or ready for merge?

just need to discuss with Gustavo if need something more for this PR.

Good, so remove the wip label and ask for his review.

@Asakiz looking at the code one more time, it adds a new command.
Please extend the commit log explaining what it adds. It seems to inquire the server but info is too generic.

i'll do that now


Updated FOC settings for latest patches

Description
Updates IMERG version and radiation settings, for latest patches to support/lisf-557ww-7.5.

I'm still waiting for a GO/NO GO decision based on the results of the tests on HPC11, so this is currently a draft pull request.

Jerry just gave the green light based on the results of the NRT, NRT-Streamflow, and MR test results.  So I am upgrading this PR from "draft".

This is the last PR needed before shipping LISF 7.5.15 for 557 WW.

Hello @emkemp.
lis/utils/usaf/s2s/global_usaf_forc/input/lis.config.template uses './input/restarts/'.  The other lis.config files were changed to use './input/rstfiles'.
Is that an issue?


Order by in query with nested fields

Hi,
Scenario : I have a One-To-Many relationship between Step and Element.
I would like to have the possibility to orderBy (steps.elements.order, 'asc') for example, but I do not think it is something that exists right now.
The issue I have right now is that when I update the order of the entities and query Steps again the order returned is the same as the first time, even though the 'order' fields have been correctly updated in the state.
So first query returns :
Step {
    id: 1,
    elements: [
      Element: { id: 1, order: 1 },
      Element: { id: 2, order: 2 },
      Element: { id: 3, order: 3 }
    ]
}

and when I update the order of element 2 and 3 I get :
Step {
    id: 1,
    elements: [
      Element: { id: 1, order: 1 },
      Element: { id: 2, order: 3 },
      Element: { id: 3, order: 2 }
    ]
}

Hi! When adding constraint to the relationship, you need to use nested query constraint. You can add orderBy to the elements like this 👍
store.getters['entities/steps/query']().with('elements', (query) => {
  query.orderBy('order')
}).get()


Add db adapters

Closes #8.

[ ] Make getAll promise based.
[ ] Add before/after filtering for all requests. (see #4)
[ ] Thoroughly test

This sounds good to me 👍🏼

Current coverage is 91.20% (diff: 91.66%)

Merging #14 into master will decrease coverage by 1.94%

@@             master        #14   diff @@
==========================================
  Files             4          5     +1
  Lines            73         91    +18
  Methods          13         19     +6
  Messages          0          0
  Branches         14         15     +1
==========================================
+ Hits             68         83    +15
- Misses            5          8     +3
  Partials          0          0

Powered by Codecov. Last update 6aebd25...b34e584

I cannot update the checkboxes in the description, but getAll is promised based now and tests work.
If you want to to try it with redis
npm i relekang/micro-analytics-adapter-redis # will publish this when i have implemented configuration for the redis connection
DB_ADAPTER=redis npm run start

@mxstbr with point two, do you want this rebased on top of #4?

No, definitely not. I want the filtering to live in the database adapters, because e.g. Redis might have built-in filtering that's faster than getting out everything and then filtering the results!

@mxstbr Not sure what happened to the tests after merging you changes, but will look on that and the before after filtering later today. The spec on filtering in your comment looks good 👌

A section on "Adding New DB Adaptors" is probably warranted too. Define the interface and options that are passed and the expectations from the combinations from an enduser perspective

A section on "Adding New DB Adaptors" is probably warranted too. Define the interface and options that are passed and the expectations from the combinations from an enduser perspective

👍
In the readme or separate md file?

Will write those docs once this PR is done, code-wise 😊

I think this is good now :v:
@mxstbr I ran into a circular reference so I moved repeated char helper to db.js, not sure how to deal with that. Anyhow we can maybe iterate on that later 🙂

Fixed the comments ✌

Merging this and continuing work with subsequent PRs!


Help Respawn on death issue

Ok i ran into an issue on my server
1 Sentinel Respawning
Basically i would create a npc give it the trait sentinel and i would set the respawntime to say 400 ticks or 20seconds but the issue i have is after i kill the sentinel he respawns where he dies at i would like for it to be automatic for the npc to respawn where you first created instead of trying to create multiple Sentinel guards and having to npc copy then type the command /sentinel spawnpoint over and over please fix this add some workaround instead of me creating 20npcs and having to type /sentinel spawnpoint 20 times ~Thanks

You want the respawn point to be defaulted differently than it is, in a rather unusual way.
You want like the system to automatically cater to your personal needs, and cause confusion for everyone else.
No.

How is that catering to my personal needs Citizens work that way by default where ever you create a npc thats the default spawnpoint of where u created the npc you want to create a spawnpoint command but not have the npc respawn originally where you created it doesnt really make sense to me ok then was just a question

... I have no idea what that ramble means, but ... yeah no that's never been a default for Citizens or related. The system works pretty cleverly ATM, and in a reasonably predictable way for the most part, once you know what it's supposed to do. Changing that would be pointless confusion.


Training error for DistilBERT (pages 575-582)

Hi Sebastian,
I want to share my findings about the error I encountered and how I solved it while trying to fine-tune DistilBert for sentiment classification (pages 575-582), and it will be great to get feedback do I understand and resolve the problem correctly.
First of all, I installed required packages including transformers 4.9.1.
After that, I followed the code from ch16-part3-bert.ipynb, with one little modification - because I don't have internet on the server with GPU, I downloaded model and tokenizer manually with additional required files and use it to load model/tokenizer.
When I ran this code:
train_encodings = tokenizer(list(train_texts), truncation=True, padding=True)
valid_encodings = tokenizer(list(valid_texts), truncation=True, padding=True)
test_encodings = tokenizer(list(test_texts), truncation=True, padding=True)

I saw the following warning:
Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.

And the sample encoding has the following attributes:
train_encodings[0]

Encoding(num_tokens=3157, attributes=[ids, type_ids, tokens, offsets, attention_mask, special_tokens_mask, overflowing])

I decided to follow the next cells and when I ran training loop using device='cuda', I saw the following error:
...
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

I switched to device='cpu' to see more detailed description of the error, and got the following error:
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
Input In [40], in <cell line: 3>()
     12 labels = batch['labels'].to(DEVICE)
     14 ### Forward
---> 15 outputs = model(input_ids, attention_mask=attention_mask, labels=labels)
     16 loss, logits = outputs['loss'], outputs['logits']
     18 ### Backward

File ~/venvs/machine_learning_book/lib/python3.8/site-packages/torch/nn/modules/module.py:1102, in Module._call_impl(self, *input, **kwargs)
   1098 # If we don't have any hooks, we want to skip the rest of the logic in
   1099 # this function, and just call forward.
   1100 if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
   1101         or _global_forward_hooks or _global_forward_pre_hooks):
-> 1102     return forward_call(*input, **kwargs)
   1103 # Do not call functions when jit is used
   1104 full_backward_hooks, non_full_backward_hooks = [], []

File ~/venvs/machine_learning_book/lib/python3.8/site-packages/transformers/models/distilbert/modeling_distilbert.py:625, in DistilBertForSequenceClassification.forward(self, input_ids, attention_mask, head_mask, inputs_embeds, labels, output_attentions, output_hidden_states, return_dict)
    617 r"""
    618 labels (:obj:`torch.LongTensor` of shape :obj:`(batch_size,)`, `optional`):
    619     Labels for computing the sequence classification/regression loss. Indices should be in :obj:`[0, ...,
    620     config.num_labels - 1]`. If :obj:`config.num_labels == 1` a regression loss is computed (Mean-Square loss),
    621     If :obj:`config.num_labels > 1` a classification loss is computed (Cross-Entropy).
    622 """
    623 return_dict = return_dict if return_dict is not None else self.config.use_return_dict
--> 625 distilbert_output = self.distilbert(
    626     input_ids=input_ids,
    627     attention_mask=attention_mask,
    628     head_mask=head_mask,
    629     inputs_embeds=inputs_embeds,
    630     output_attentions=output_attentions,
    631     output_hidden_states=output_hidden_states,
    632     return_dict=return_dict,
    633 )
    634 hidden_state = distilbert_output[0]  # (bs, seq_len, dim)
    635 pooled_output = hidden_state[:, 0]  # (bs, dim)

File ~/venvs/machine_learning_book/lib/python3.8/site-packages/torch/nn/modules/module.py:1102, in Module._call_impl(self, *input, **kwargs)
   1098 # If we don't have any hooks, we want to skip the rest of the logic in
   1099 # this function, and just call forward.
   1100 if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
   1101         or _global_forward_hooks or _global_forward_pre_hooks):
-> 1102     return forward_call(*input, **kwargs)
   1103 # Do not call functions when jit is used
   1104 full_backward_hooks, non_full_backward_hooks = [], []

File ~/venvs/machine_learning_book/lib/python3.8/site-packages/transformers/models/distilbert/modeling_distilbert.py:488, in DistilBertModel.forward(self, input_ids, attention_mask, head_mask, inputs_embeds, output_attentions, output_hidden_states, return_dict)
    485 head_mask = self.get_head_mask(head_mask, self.config.num_hidden_layers)
    487 if inputs_embeds is None:
--> 488     inputs_embeds = self.embeddings(input_ids)  # (bs, seq_length, dim)
    489 return self.transformer(
    490     x=inputs_embeds,
    491     attn_mask=attention_mask,
   (...)
    495     return_dict=return_dict,
    496 )

File ~/venvs/machine_learning_book/lib/python3.8/site-packages/torch/nn/modules/module.py:1102, in Module._call_impl(self, *input, **kwargs)
   1098 # If we don't have any hooks, we want to skip the rest of the logic in
   1099 # this function, and just call forward.
   1100 if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
   1101         or _global_forward_hooks or _global_forward_pre_hooks):
-> 1102     return forward_call(*input, **kwargs)
   1103 # Do not call functions when jit is used
   1104 full_backward_hooks, non_full_backward_hooks = [], []

File ~/venvs/machine_learning_book/lib/python3.8/site-packages/transformers/models/distilbert/modeling_distilbert.py:118, in Embeddings.forward(self, input_ids)
    115 position_ids = position_ids.unsqueeze(0).expand_as(input_ids)  # (bs, max_seq_length)
   117 word_embeddings = self.word_embeddings(input_ids)  # (bs, max_seq_length, dim)
--> 118 position_embeddings = self.position_embeddings(position_ids)  # (bs, max_seq_length, dim)
    120 embeddings = word_embeddings + position_embeddings  # (bs, max_seq_length, dim)
    121 embeddings = self.LayerNorm(embeddings)  # (bs, max_seq_length, dim)

File ~/venvs/machine_learning_book/lib/python3.8/site-packages/torch/nn/modules/module.py:1102, in Module._call_impl(self, *input, **kwargs)
   1098 # If we don't have any hooks, we want to skip the rest of the logic in
   1099 # this function, and just call forward.
   1100 if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
   1101         or _global_forward_hooks or _global_forward_pre_hooks):
-> 1102     return forward_call(*input, **kwargs)
   1103 # Do not call functions when jit is used
   1104 full_backward_hooks, non_full_backward_hooks = [], []

File ~/venvs/machine_learning_book/lib/python3.8/site-packages/torch/nn/modules/sparse.py:158, in Embedding.forward(self, input)
    157 def forward(self, input: Tensor) -> Tensor:
--> 158     return F.embedding(
    159         input, self.weight, self.padding_idx, self.max_norm,
    160         self.norm_type, self.scale_grad_by_freq, self.sparse)

File ~/venvs/machine_learning_book/lib/python3.8/site-packages/torch/nn/functional.py:2044, in embedding(input, weight, padding_idx, max_norm, norm_type, scale_grad_by_freq, sparse)
   2038     # Note [embedding_renorm set_grad_enabled]
   2039     # XXX: equivalent to
   2040     # with torch.no_grad():
   2041     #   torch.embedding_renorm_
   2042     # remove once script supports set_grad_enabled
   2043     _no_grad_embedding_renorm_(weight, input, max_norm, norm_type)
-> 2044 return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)

IndexError: index out of range in self

It seems that somehow embedding lookup was not correct, so I decided to check embedding dimensions in our pre-trained model.
DistilBertForSequenceClassification(
  (distilbert): DistilBertModel(
    (embeddings): Embeddings(
      (word_embeddings): Embedding(30522, 768, padding_idx=0)
      (position_embeddings): Embedding(512, 768)
      (LayerNorm): LayerNorm((768,), eps=1e-12, elementwise_affine=True)
      (dropout): Dropout(p=0.1, inplace=False)
    )
...

Model and tokenizer vocabulary sizes are equal to 30522, so I decided to return to the first warning of the tokenizer and follow the recommendation to specify max_length argument for the tokenizer.
I supposed that the problem with the positional embedding, because we have the samples with the length greater than number of rows in positional embedding (512).
We can see it above based on train_encodings[0] example (num_tokens=3157).
So I changed the code for tokenization:
train_encodings = tokenizer(list(train_texts),  max_length=512, truncation=True, padding=True)
valid_encodings = tokenizer(list(valid_texts),  max_length=512, truncation=True, padding=True)
test_encodings = tokenizer(list(test_texts),  max_length=512, truncation=True, padding=True)

And after that the training loop was completed successfully.
Thank you.

Yeah, so the way I understand it is if you initialize a general tokenizer, it wouldn't know what the max_length is you need and you have to specify it manually.
In this case, we use a tokenizer specific to the model we want to fine-tune, so it sets the appropriate max_length value. Sure, we could hard-code the max_length=512, but this would not work for arbitrary models anymore (although, I think 99% of the HF models have a model max_length of 512.


SuperclassMemberReferencesCrossModule test is unstable

https://github.com/Microsoft/PTVS/issues/2271 is still active

https://github.com/Microsoft/python-language-server/pull/251


0.4.0 Not Published For Scala 2.12 (seems to be an accident)

For some reason the final 0.4.0 artifact for Scala 2.12 is not in maven central. From what I can see, prerelease snaphshots were published, so this seems to just be an oversight.

Any chance of getting this soon?

I've just opened #18 with an overhaul for the build config and will publish 0.5.0 for all three Scala versions later today if there are no objections.

Closing since @travisbrown released 0.5.0 with Scala 2.12 supported.


Infrastructure improvements

See https://github.com/unsplash/imgix-trackable/pull/1

@samijaber Accidentally merged before you reviewed, but keen to get your thoughts still!


Iterative inorder traversal in javascript

Have you read the Contributing Guidelines on Pull Requests?
yes
Description
Fixes #7083
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
issue #7083

@ankitaggarwal23  @HarshCasper  can you please review my pr

@ankitaggarwal23 I have made the changes, Can you please review my pr


MIO API doc update

With asynchronous requests, a total of fifteen of fewer shifts are allowed, and up to 500 itinerary items may be scheduled "using a valid enterprise key (Note: Different limitations may apply to basic or trial keys)."

Docs Build status updates of commit f6c5cc6:
:clock10: Pending: waiting for processors (88 builds ahead of you)
:warning: Docs Build is busy, currently there are 88 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit f6c5cc6:
:warning: Validation status: warnings

File
Status
Preview URL
Details

BingMaps/rest-services/routes/optimized-itinerary.md
:warning:Warning
View
Details

BingMaps/sdk-native/getting-started-android/index.md
:white_check_mark:Succeeded
View

BingMaps/sdk-native/getting-started-android/media/new-project3.png
:white_check_mark:Succeeded
View

BingMaps/sdk-native/getting-started-ios/index.md
:white_check_mark:Succeeded
View

BingMaps/sdk-native/map-control-api/mapelement-class.md
:white_check_mark:Succeeded
View

BingMaps/rest-services/routes/optimized-itinerary.md

Line 1: [Warning-title-missing] Missing required attribute: 'title'. Add a title string to show in search engine results.
Line 4: [Warning-yaml-header-syntax-error] While parsing a block mapping, did not find expected key.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Java chaincode implementation  for ERC721 standard token.

Java HLF chaincode implementation of ERC721 is a standard. This standard is used for representing ownership of non-fungible tokens.

One final comment on the review of the Java source.  If your code introduces the use of final modifiers, please ensure that either ALL of the immutable variables in the scope of the routines are marked as final, or NONE of them are declared as final.
Thanks @renjithpta !

I have updated the files to include the review suggestions

One final comment on the review of the Java source. If your code introduces the use of final modifiers, please ensure that either ALL of the immutable variables in the scope of the routines are marked as final, or NONE of them are declared as final.
Thanks @renjithpta !

One final comment on the review of the Java source. If your code introduces the use of final modifiers, please ensure that either ALL of the immutable variables in the scope of the routines are marked as final, or NONE of them are declared as final.
Thanks @renjithpta !

I have modified the code as per the review suggestion

Hi @renjithpta
Something went horribly wrong with the last force push up to git.  I'm afraid this PR branch merge is no longer viable.... the last commit now shows 203 files modified in the PR.
Can you please set up a new branch on your development fork for this project, and:

pull the main/latest from fabric-samples

re-add / commit the chaincode-java sample source files

Create a new PR / merge request.

Let's get this project landed.  It is a really good example and demonstration of ERC-721.


UI Select Items Not Appearing in IE 8

When I view the example  plunkr: http://run.plnkr.co/Uz2DH8wogGVCgtXZ noted in the README it appears as though the dropdown elements are not being bound into the DOM correctly and appear blank.

You can see in the IE DOM the actual a tag is not inside of the element. I'll keep looking to see if I can track down what's causing this.

+1

+1

Closing due to age of this issue - feel free to open a new issue if this is still a problem with the current release.


[terra-date-time-picker] onClickOutside callback event does not get triggered

Bug Report
Description

onClickOutside callback event does not get triggered when the calendar dropdown is closed by clicking outside it.
Steps to Reproduce

Goto https://engineering.cerner.com/terra-framework/components/terra-date-time-picker/date-time-picker/events
Scroll down to the event example and click on calendar button to open the dropdown calendar.
On clicking outside of the calendar dropdown does not trigger onClickOutside event callback and the counter also does not increment.

Expected Behavior

Clicking outside the calendar dropdown should trigger the onClickOutside callback event.

The onClickOutside feature is provided by react-onclickoutside which wraps the Calendar into WrappedCalendar. This API used to be available for both the portal and popup version of the picker. With this change,   onClickOutside is now only available for the portal version and not popup. I do not remember what the reason was for this. Anyone remember?

Perhaps, this change to not wrap the popup picker with react-onclickoutside is due to the following two issues:

If wrapped with react-onclickoutside, clicking on the arrow of the attachment point would close the popup since this arrow is considered outside of the popup.

If wrapped with react-onclickoutside, the onClick event in _PopupOverlay does not get triggered and as a result the onRequestClose callback will not be executed for the consumer. The cause of this may be because react-onclickoutside has its own overlay on top of ours which eats up our onClick event handler.

Due to the above two issues (especially the second one), we probably should not wrap the popup picker with react-onclickoutside. A viable solution could be to check the type of event in date picker's handleOnRequestClose fired from terra-popup. There are three type of events that terra-popup fired 'onRequestClose'.

keydown when pressing the ESC key to close the popup.
resize when resizing the container to close the popup.
click when clicking outside to close the popup.

Date picker's handleOnRequestClose could check the event type of click and do the same thing as handleCalendarClickOutside

The onClickOutside callback is triggered when clicking outside to dismiss the picker. The usefulness of this api is limited since the picker is also dismissed after selecting a date. A more useful api for common use cases would be an onDismiss callback triggered whenever the picker dismisses, regardless clicking outside or selecting a date.
After further discussion with the Terra team, we will do the following to address this issue:

[ ]  Introduce a new prop called onDismiss whenever the picker closes.
[ ]  Leave onClickOutside the way it behaves today, despite the reported issue that it is not invoked for the popup picker. Consumers are recommended to use the new onDismiss if they encounter the reported issue.
[ ]  Label the onClickOutside prop as **Deprecated**. It will be removed in #1222 as part of the next major version.
[ ]  The implementation to invoke onDismiss can be done in setOpen by checking the open argument equal to false indicating that the picker is dimissing.


docs: appropriate README.md

Please see TRG1.01 and other TRGs in the list.
The readme is missing the following sections:

How to configure the application
Reference to an INSTALL.md
Reference to the leading product repository and backend repository according to the TRG2.04
Notice for Docker image or reference to the notice based on TRG4.06. You can find a good example for the notice section here.

Read me Updated according to TRGs.

we have updated Read me .


Ensure raw regex is passed to scryfall.

Didn't thoroughly vet this on the first pass, 100% my fault. When the original string was passed to Scryfall, the regex was malformed because JavaScript was trying to helpful.
String.raw ensures that the regex is actually passed over properly. Built and tested this time, even.

Approved and merged. I will deploy this change in a few hours :)


refactor/move-internal-types (PR A)

Move the internal types files each under their own folders.
This is part of the refactorings.

I find it confusing that now  execution/types has definitions for very different things, but it also works.

I find it confusing that now execution/types has definitions for very different things, but it also works.

Agreed. I think it suggests that the execution folder should either be split or subdivided so that the types in ./types become more coherent.


Propose a working stub of the BindingsFactory

_ Is refactor
x Is new feature
_ Concerns documentation

This would be inspired, in part, by: https://github.com/quantified-uncertainty/squiggle/pull/545
From @umuro:

I will propose a BindingsFactory stub(empty code that does nothing and no runtime errors).

Bindings factory idea is depreciated.
Instead there will be type modules.


Fix #20, Add the cliprect option to control the portion of the viewport that will be rendered

Add the --cliprect option to control the rendered image
Unlike the viewport the cliprect option controls which portion of the screen will be rendered to the output, it will accept the top, left, width and height to control the crop the viewport.
Example:
Renders an 1280 by 720 pixels image:
% capturejs --uri http://phan
            --cliprect 0x0x1280x720 \
            --output 'phantomjs.org_1280x720.png'

From PhantomJS WebPage Docs:

clipRect {object}
This property defines the rectangular area of the web page to be rasterized when page.render is invoked. If no clipping rectangle is set, page.render will process the entire web page.

Nice PR!! :+1:


Opam build on 4.02.0 failed

  $ opam install merlin
  The following actions will be performed:
   - install merlin.pinned
  1 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove

  =-=-= Installing merlin.pinned =-=-=
  merlin.pinned Fetching https://github.com/the-lambda-church/merlin.git#merlin2
  Building merlin.pinned:
    ./configure --prefix /Users/ontologiae/.opam/4.02.0+improved-errors
    rm -rf /Users/ontologiae/.opam/4.02.0+improved-errors/share/ocamlmerlin
    make -j 1
  [ERROR] The compilation of merlin.pinned failed.
  Removing merlin.pinned.

  ===== ERROR while installing merlin.pinned =====
  # opam-version 1.1.1
  # os           darwin
  # command      make -j 1
  # path         /Users/ontologiae/.opam/4.02.0+improved-errors/build/merlin.pinned
  # compiler     4.02.0+improved-errors
  # exit-code    2
  # env-file     /Users/ontologiae/.opam/4.02.0+improved-errors/build/merlin.pinned/merlin-95546-c61e7b.env
  # stdout-file  /Users/ontologiae/.opam/4.02.0+improved-errors/build/merlin.pinned/merlin-95546-c61e7b.out
  # stderr-file  /Users/ontologiae/.opam/4.02.0+improved-errors/build/merlin.pinned/merlin-95546-c61e7b.err
  ### stdout ###
  # ...[truncated]
  # Will install:
  #   ocamlmerlin binary in: /Users/ontologiae/.opam/4.02.0+improved-errors/bin
  #   vim mode in: /Users/ontologiae/.opam/4.02.0+improved-errors/share/ocamlmerlin/vim
  #
  # To customize directories, use:
  #   ./configure [--prefix <dir>] [--bindir <dir>] [--sharedir <dir>] [--vimdir <vimdir>] [--with-vimbufsync | --without-vimbufsync]
  #
  # For more informations rerun with --help.
  # Now, type 'make' to compile then 'make install'.
  # make -f Makefile.ocamlmakefile WITH_BIN_ANNOT="" WITH_DEBUG="" REALLY_QUIET=1 ocamlmerlin
  ### stderr ###
  # File "src/ocaml/typing/typecore.ml", line 2960, characters 10-32:
  # Error: This variant pattern is expected to have type
  #          (a, b, c, d, e, f) CamlinternalFormatBasics.ignored
  #        The constructor Ignored_scan_next_char does not belong to type CamlinternalFormatBasics.ignored
  # make[2]: *** [src/ocaml/typing/typecore.cmx] Error 2
  # make[1]: *** [native-code] Error 2
  # make: *** [ocamlmerlin] Error 2

  'opam install merlin' failed.

It works on 4.02.1. Do you have a specific reason to keep using a known-bad version of OCaml?

I'm guessing the "+improved-errors" is his reason.
Is that PR available for 4.02.1 ?
It's not the first time we see that error, cf.

https://github.com/the-lambda-church/merlin/issues/338
https://github.com/the-lambda-church/merlin/issues/300

But the problem has been fixed since.
I'm guessing ontologiae has a problem because of:
  =-=-= Installing merlin.pinned =-=-=
  merlin.pinned Fetching https://github.com/the-lambda-church/merlin.git#merlin2

If you unpin, everything should be fine.


Adopt some chiptune (gnidorah's) packages

Motivation for this change
Adopt, bump, refactor & add/fix Darwin support of some packages left behind after #121119. Needs squashing & more Darwin testing on my part, might adopt some more.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

I'm gonna adopt the MUNT package as well. I'll squash everything down once I've got that bumped, refactored and hopefully working on Darwin.

Result of nixpkgs-review pr 126599 run on x86_64-darwin 1

8 packages built:

adlplug
libbencodetools
munt
openmpt123
opl3bankeditor
opn2bankeditor
opnplug
uade123

All the main binaries work. uade123 seems to have a broken script that still needs fixing but aside from that it's ready for a review.

c2ec2a9b419fa00dca8d4a289e4a26898c54e484 adds some custom patches to both opl3bankeditor and opn2bankeditor to devendor RtAudio & RtMidi. They're not as minimal as they could be but I sent them to upstream as an idea for how they can improve their build scripts. I'll give them a quick test on Darwin, if something fails and it looks too complex to fix then I'll just drop them again and we'll wait for upstream to fix it themselves.

Can we fetchpatch the patches?

The patches for {opl3,opn2}bankeditor are custom-written and too incomplete for upstream to accept, so I didn't bother with submitting them. I made an issue on their repo so they can fix it. Would you prefer if I slimmed them down for us or should I just drop them altogether? I don't think I'll be able to make them upstream-compatible this week.

Would you prefer if I slimmed them down for us or should I just drop them altogether?

It would have been nice if they could be upstreamed but it is not a hard requirement. Do you think we need to update them often? If so I think slimming them would be nice. If they are not updated often either way is fine.

Do you think we need to update them often? If so I think slimming them would be nice. If they are not updated often either way is fine.

New releases seem to be tagged ~ once a year, so it should be fine. I expect that we can drop these patches by the next release.


Upgrade jhipster 4.6.0

Codecov Report

Merging #58 into master will increase coverage by 0.3%.
The diff coverage is 70%.

@@             Coverage Diff             @@
##             master      #58     +/-   ##
===========================================
+ Coverage     83.59%   83.89%   +0.3%
- Complexity      548      555      +7
===========================================
  Files            72       72
  Lines          1823     1826      +3
  Branches         94       95      +1
===========================================
+ Hits           1524     1532      +8
+ Misses          266      264      -2
+ Partials         33       30      -3

Impacted Files
Coverage Δ
Complexity Δ

...lgrimaud/qualitoast/service/AuditEventService.java
100% <ø> (ø)
5 <0> (ø)
:arrow_down:

...ascalgrimaud/qualitoast/web/rest/UserResource.java
100% <ø> (ø)
15 <0> (ø)
:arrow_down:

...lgrimaud/qualitoast/web/rest/ResultatResource.java
100% <ø> (ø)
9 <0> (ø)
:arrow_down:

.../pascalgrimaud/qualitoast/service/UserService.java
96.24% <ø> (ø)
26 <0> (ø)
:arrow_down:

...lgrimaud/qualitoast/web/rest/TypeTestResource.java
100% <ø> (ø)
9 <0> (ø)
:arrow_down:

...imaud/qualitoast/config/ApplicationProperties.java
100% <ø> (ø)
1 <0> (ø)
:arrow_down:

.../pascalgrimaud/qualitoast/service/MailService.java
95% <ø> (ø)
6 <0> (ø)
:arrow_down:

...algrimaud/qualitoast/web/rest/TesteurResource.java
100% <ø> (ø)
9 <0> (ø)
:arrow_down:

...scalgrimaud/qualitoast/security/SecurityUtils.java
70.83% <ø> (ø)
7 <0> (ø)
:arrow_down:

...algrimaud/qualitoast/web/rest/AccountResource.java
98.55% <100%> (ø)
32 <0> (ø)
:arrow_down:

... and 3 more

Continue to review full report at Codecov.

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


Locks all versions down to specific numbers (to the patch level)

Following up with the issue #251 I've locked all versions down to specific numbers (to the patch level) removing any randomness in installations.

@xmontero thanks for your contribution. I will release 1.3.14 now with the pinned dependencies for bower


add option '--as-child' / '--with-retry'. (2)

CHANGES:
add option '--as-child', so it can insert data into child type of a 'parent-child' model
add option '--with-retry'. ES's builtin retry only occur while server returns error 429. This retry is more general.
support binary field in parquet file. By default, impala generated parquet use binary bytes to store STRING field.

OTHERS:
This ETL tool is awesome. It do help me a lot!

@alexzhuustc Thank you for your contribution, I will release a new version with credits shortly.


Reliably start all Pis

This is a bit of a follow up to: https://github.com/DeskPi-Team/super6c/issues/10
Instead of powering up a single pi after shutdown, I am wondering if there is anything i can do to reliably get all of the CM4 units to boot up from cold boot. Or, on the flip side, force a pi to reboot individually.
On a cold boot I typically see between 3 to 5 Pis come up, with the others coming on but never booting (red LED never goes off). Is there any way to force these Pis to restart?
I am using the provided 100W power supply. Using 6 CM4 Lites with 6 SD cards and NVMe drives attached to each Pi if that might effect it.
Would love some advice here, and thanks!
Edit: Tried booting after removing the NVMe drives and it still only boots up about 3/6 nodes consistently.

This sounds like hardware or power overdraw; can you list the NVMe's that you're using (model names if possible)
CM4s are powered on sequentially which actually helps with power-on load however minimal it is but accessories (NVMe, SD Cards) can affect this.
Which module position (if consistent) does not come up?
Also; have you double checked you have a good image?

Might have edited my original post a bit too late.
I've tried removing the NVMe drives as well, and still don't get all the modules to come up.
When all the modules do come up (which has happened with all the NVMe drives attached), they work fine, am able to put some stress on all the CPUs at the same time and not have an issue (ran apt upgrade across all 6 at once with no issues).
Model of the NVMe: WDS100T3G0C
Haven't actually mounted any of these yet so right now its just running off the SD card, which is required since I have the CM4 Lite.
From the last 4 boots, module #4 has been the one to consistently not come up (both with and without the NVMe).  On my last reboot it was the only one not to come up.

Two tests:

Swap the SD card in slot 4 to slot 1 and note what slot fails to come up -- keep that SD card in slot 1 for the next test

Swap the CM4 in slot 4 to slot 1 and see if the same behavior persists in slot 4 (w. SD Card from slot 1) or slot 1 (w. SD Card from slot 4)

I've mixed and matched SD cards + compute modules, and there doesn't seem to be any correlation between starting and the SD card, nor the compute module.
When testing with the swaps between Module 1 and 4, suddenly module 3 and 5 wouldn't start.
It is strangely intermittent. Currently the board is on with all 6 compute modules running, with all 6 NVMe drives attached. No messages about low voltage in dmesg on any of the drives either.

Good info; I would look into replacing the board unless you are able to test each module + SD card individually (separate from each other on another carrier board)


Simple case is needed

Very good work! Can you give a simple B&R PLC based program showing how to call this library?

Thanks! My project file is too big for github, but here is a link to an example on dropbox.
https://www.dropbox.com/scl/fi/qyapv27llknmfv8r33je0/SQL-Connector-Example.zip?rlkey=oup9n4xjb1u6x5qf4tshcgosl&st=odo7a45u&dl=0
Basically you have 1 task operate the connection and other tasks send queries to it that return an array of strings. Once you get the return data you just need to parse it into whatever data you need. In this example I'm getting a machine list from a database and parsing it into a complex datatype. I also have a task where I'm doing an insert into the database, you need to build the string from code and send it to the mysql task.

Thank you very much for your kind help! I need to use MySQL with the B&R controller recently. I can't wait to try the library!

Hi, I tried to compile and run the case you gave. I tried to connect to a local database using the local emulation and I seem to have some problems as shown below, error 32651 is reported. this seems to be a TCP connection problem, do you have any suggestions?

You'll notice theres a task names ip_config in the project, in the main cyclic for the task I'm running code to automatically change the IP address for IF3, so you want to either remove that section of code and set the IP manaually or modify the code to set your IP address to <IP_ADDRESS>
When I ran the example I gave, I was using a PC2200 and had IF3 (ETH1) connected to a remote PC running the database on a different IP address, so I'm not certain this will fix your issue.
Let me know how it works out!

I just tried with ArSim and changing the IP address of IF3 to <IP_ADDRESS> and it doesn't appear to work. Do you have physical hardware that you can try on? I only use ArSim on rare occasions, usually I am using a physical PLC and a PC running a MySQL Database for my applications.
My guess for the error is that because IF3 isn't bound to actual hardware that it can't assign the IP address.


partial-no-import fails for Google Font URL format

Having:
@import 'https://fonts.googleapis.com/css?family=Quicksand:300,400,500,700';

in a partial makes partial-no-import thrown an error when it should not.

Thanks! I'll have a look.

Sorry that I did not have time to look at this before now. @thegranddesign there is now a pull request with a fix for the issue #283. I'm going to release a new version with the fix soon.

You’re awesome! Thank you!


Add "xwl=nowirelink()" E2 function (fixes #1139)

#1139

Damn it, not the master branch... I didn't mean to push number functions into master.

Is credit really needed for a 3 liner function?

yeah

@Divran Oh well, you could have merged this 2-in-1 once you get opinions from others. But, since you closed this 2-in-1, now I have renamed it back. Here is a separate pull request for number functions that was added from here.


fix: error in order of function call UpdateEnvironment

Problem Statement
There was an error in the order of a function call in the PushSecret implementation of the Pulumi ESC provider
Related Issue
Fixes #...
Proposed Changes
How do you like to solve the issue and why?
Checklist

[x] I have read the contribution guidelines
[x] All commits are signed with git commit --signoff
[x] My changes have reasonable test coverage
[x] All tests pass with make test
[x] I ensured my PR is ready for review with make reviewable

Nice catch. How come none of the tests caught this? :D


Readthedocs configuration

Adds a readthedocs config that will cancel builds unless changes appear in the pybigtools folder.
When setting this up as a subproject in readthedocs, you will need to set the custom path of the config file as described here.

Hmm, this doesn't seem to work:
The keys build.jobsandbuild.commands can't be used together.

I see. If build.commands overrides all pre-defined jobs (which I think is supposed to run sphinx or mkdocs), then maybe we just move the cancellation statement to build.commands

I was looking but didn't come up with an answer - do we then need to add the other commands that would be run by default (e.g. checkout)?

From this example, I'm assuming no: https://github.com/readthedocs-examples/example-monorepo/blob/main/docusaurus/.readthedocs.yaml


Serious commit

cc @gkoz

So looks like this is going to make the 0.0.7 release. I'm not a fan of completely meaningless commit messages though.

You'll have to wait this evening then. ^^

Updated.

Thanks!


Add hello-world Android Java & Kotlin examples using Mill (2000USD bounty)

From the maintainer Li Haoyi: I'm putting a 2000USD bounty on this issue, payable by bank transfer on a merged PR implementing this.

We have a bunch of examples for generic library dev and backend server dev (spring-boot, micronaut), but we don't have any android examples.
Something like https://hereket.com/posts/android_from_command_line/ or https://github.com/authmane512/android-project-template could be good references.
As this is a large bounty, I'm breaking it down into four pieces:

[x] 500USD Android Java Support:

A folder in example/javalib/android/1-hello-world that contains a build that contains Java code for building a trivial hello-world android app APK, that can then be loaded into a physical phone or android emulator.
Just the simplest plain-old-Java android app is fine: no need fancier features or C++ code or whatever.
Manual testing of the final APK is fine, but the process to build it should be exercised in the example.
The app should have two modules containing Java code, one depending on another, to demonstrate how splitting of a app codebase into modules works
Android-specific config should be extracted into a trait AndroidJavaModule in mill.javalib, and only app-specific config should be in the example/javalib/android/1-hello-world example
Both the library code and the example code should be rigorously documented w.r.t. how it is used and how it fits into the larger Android ecosystem

[ ] 500USD Advanced Android Java Example

A more sophisticated version of the example in (1) above, demonstrating usage of:

Unit testing and Integration testing your android app
Third-party library dependencies (https://developer.android.com/build/dependencies)
The R8 application minifier (https://developer.android.com/build/shrink-code)
Publishing a module of your android build as a library (https://developer.android.com/build/publish-library)

The app/test code itself should still be minimal, the point is to demonstrate a more sophisticated build setup integrating more of the ecosystem tooling

[x] 500USD Android Kotlin Support:

Same as (1) above, except for Kotlin: example/kotlinlib/android/1-hello-world, plain-old-Kotlin code, manual testing, two modules, with a trait AndroidKotlinModule in mill.kotlinlib

[ ] 500USD Jetpack Compose Example

A hello-world example demonstating usage of the Jetpack Compose framework for Android with Kotlin

@lihaoyi
can you assign this to me? I can start working on this immediately

@aybanda go ahead. Bounties aren't assignned and remain open until completed, but typically there's few enough people doing them that you dont need to worry about conflicts with others

@lihaoyi  I Guess i Fixed #3550 Issue please check my PR : #3596

Bumping this to a 1000USD bounty

@lihaoyi Please Check my pr #3596 i have everything running fine in local but getting problem with the live test i dont know whats happening please do consider my efforts and review the pr once

I fleshed out the Java and Kotlin bounties in more detail and added intermediate milestones

i think first milestone is almost done by me #3596 and now the main thing is to add documentation but @lihaoyi please explain me how and in what format documentation will be ?

@lihaoyi
I think this is not fare !
All the things are almost covered
Keypoints:

Created build.mill which inherits AndroidAppModule and AndroidSdkModule
AndroidSdkModule trait provides the implementation for Sdk download
AndroidAppModule trait provides the implementation for App Creation
App configuration related stuff will be updated in build.mill file making it unique from default app creation
Proper scaladoc and usage followed to implement the code
App testing done in local, results passed
Code fully reusable for unique application
Passed all automated testcases

Just asking for review because i want to create documentation based on finetuned code but when i was near finish line you just kicked me out
i heartly request you to please tell me what is left and i will provide you with the professional code and documentation
i have worked a lot for this please understand....
please give me a chance !

Reopened because only 1/4 tasks is complete

Hi @lihaoyi, I've seen that you usually create bounties for issues, maybe you're interested in using Opire. It integrates with GitHub, but you can always put bounties from the dashboard if you don't want to install the bot. Also, you don't pay until someone claims the bounty with a PR.
PS: I'm the co-founder, so if you need anything, feel free to contact me.

@lihaoyi Sir, What should be the name for this like we have used 1-hello-world for simple then for this what to do...

[ ]  500USD Jetpack Compose Example

A hello-world example demonstating usage of the Jetpack Compose framework for Android with Kotlin

This is An Extension for the conversation #3735
Issue
Error: Unresolved Reference (Kotlin Android Jetpack Compose)
Description
Error: Unresolved Reference (This Issue comes out when we are trying to implement androidx libraries related to issue: #3550 and pr: #3696)
Steps to Reproduce

Cherry Pick the commits of Pr: #3696
Run the Command ./mill -i -j3 -k example.kotlinlib.android[2-jetpack-compose-hello-world].__.local.testCached
After running it will get unresolved reference error for andoridx libraries

Expected Behavior
It should compile and build the application using jetpack compose
Actual Behavior
Getting unresolved reference error which should not come in general coz we are using aar and jar files both and following rules.
Logs
Actual Error: https://github.com/com-lihaoyi/mill/pull/3696#issuecomment-2405827244
CompileClasspath(before converting aar to jar): https://github.com/com-lihaoyi/mill/pull/3696#issuecomment-2407513779
CompileClasspath(after converting aar to jar): https://github.com/com-lihaoyi/mill/pull/3696#issuecomment-2408521905
Additional Information
This issue is raised to get some attention regarding the issue #3550 part 4th and i think current issue needs to be solved first
Please help out, if anyone can solve this or guide me for this...

@0xnm, I need your help in adding jetpack compose support to mill if you are available for help then please once reply its very hard to add jetpack compose support (adding compilation and resource linking)
Please once Reply if You are available...

@lihaoyi to be honest without adding jetpack compose or any other third party aar dependency support fully we can't move to other examples and follow ups coz i know the backend implementation and without proper support its not possible so i request you if we are not able to solve this problem you please hire one specialist for this who can add proper professional support for aar libraries handling and this needs to be done first for resolving follow ups