Container List RecyclerView doesn't update till second refresh

When swiping to refresh, the Container List RecyclerView doesn't display changes until the second refresh swipe.
This could be down to conflicts due to the repository, service and (to be removed) activity controller layer handling smart refreshing of the RecyclerView.

Fixed in https://github.com/imjacobclark/containerdroid/commit/6cf08fd6191bb9dc5b57bff0a77387b179b1d70a


Latest Version not sending with default STARTTLS over the Secure MIME

Hello Community
Latest Postal version not picking MIME over the STARTTLS Default encryption which were used in past version

is there anything which should be configured in Latest version

#1344 suggests it was previously possible.
Have you definitely configured these settings?
https://github.com/postalhq/postal/blob/8145dba1576256b2e659d6419cfada087b748a59/config/postal.defaults.yml#L73-L77

Defined tls key properly and send email over tls but red lock still showing in mail
please do advise ,
In previous postal without tls it took starttls by default but not taking in latest version

any update , on the same ?

Did you restart Postal after changing the settings? Have you tested that the postal user can access the files you have specified?

restarted and reboot the system ,
checked
smtp_server.log
.pem files are reading by the server but red lock

not removed on receiving the same (gmail).
the important point is that
Last time we deployed postal many times and we never received red lock on gmail but not i have installed more than 6 postal on different servers each receiving red lock
Old Postal:
SMTP host: xxxxxxxx
Port: 587
Use SLL: False
Use Authentication: True
Authentication name: support
Authentication password: [not applicable]
Email from<EMAIL_ADDRESS>Email to<EMAIL_ADDRESS>Old Postal

New postal

SMTP host: xxxxxxxxxx
Port:  587
Use SLL: False
Use Authentication: True
Authentication name: smtp1
Authentication password: [not applicable]
Email from<EMAIL_ADDRESS>Email to<EMAIL_ADDRESS>
Old postal without TLS/SSL >> no redlock
New (Latest Postal) without TLS/SSL or with TLS >>

redlock

Comparing the old postal and the new postal screenshots, it looks like the mailed-by is quite different when it should look somewhat similar so have you changed how you set up the domains are they accidentally different?

Mailed by just a spf for 2 different domain
major challenge is red lock is not removing with or without tls which were not happen in older postal version
i think it is related to some ruby version
Because auto installer script is not working for any server (Ubuntu16 and Ubuntu 18)

The logs for TLS
root@vmta:~# openssl s_client -connect hxxta.xxxxxxxxa.online:587 -starttls smtp
CONNECTED(00000005)
depth=2 C = US, O = Internet Security Research Group, CN = ISRG Root X1
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = R3
verify return:1
depth=0 CN = hxxta.xxxxxxxxa.online
verify return:1
Certificate chain
0 s:CN = hxxta.xxxxxxxxa.online
i:C = US, O = Let's Encrypt, CN = R3
1 s:C = US, O = Let's Encrypt, CN = R3
i:C = US, O = Internet Security Research Group, CN = ISRG Root X1
2 s:C = US, O = Internet Security Research Group, CN = ISRG Root X1
i:O = Digital Signature Trust Co., CN = DST Root CA X3
Server certificate
-----BEGIN CERTIFICATE-----
MIIFLDCCBBSgAwIBAgISBFp2e/KL3e6I7iyVupM74GqdMA0GCSqGSIb3DQEBCwUA
MDIxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQD
EwJSMzAeFw0yMTA3MDUxMDA0MTZaFw0yMTEwMDMxMDA0MTVaMB4xHDAaBgNVBAMT
E2htdGEubWlnb210YS5vbmxpbmUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK
AoIBAQDNCtj8ZxX8BcF0TwePdK4vqJNHU/jjKvwBI1KNRMuk0T2tvfEyG4uuWDPl
aZ2tTwe4rPPudXFY8hbbvdH8czUs6ZBHZrm2BavaErmhNFcRc9ZyniMcdyLvZApJ
+x+t+u+A4a7o5Lng+Gifnfe8eyjmK36jGVP+/LfQMDnNq4m/Famsbqt5Vxy718kt
OiM56bemEi21wH+jBkyqqwVBd5TAgrMrMlOMEVcjgmhPxkcqtlxdiJqkGyiSo0Jt
rdAhs6x8rb31DClpRfOBq7cbN2g2i9tA3TKnkedpPnIwd7PXQ/loutqzbJOyzcWn
JrFv1naT6mm/TYBbSPv24wUVHJnNAgMBAAGjggJOMIICSjAOBgNVHQ8BAf8EBAMC
BaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAwGA1UdEwEB/wQCMAAw
HQYDVR0OBBYEFKWNZptHNppL8JMZXq7DjHwSbN8fMB8GA1UdIwQYMBaAFBQusxe3
WFbLrlAJQOYfr52LFMLGMFUGCCsGAQUFBwEBBEkwRzAhBggrBgEFBQcwAYYVaHR0
cDovL3IzLm8ubGVuY3Iub3JnMCIGCCsGAQUFBzAChhZodHRwOi8vcjMuaS5sZW5j
ci5vcmcvMB4GA1UdEQQXMBWCE2htdGEubWlnb210YS5vbmxpbmUwTAYDVR0gBEUw
QzAIBgZngQwBAgEwNwYLKwYBBAGC3xMBAQEwKDAmBggrBgEFBQcCARYaaHR0cDov
L2Nwcy5sZXRzZW5jcnlwdC5vcmcwggEEBgorBgEEAdZ5AgQCBIH1BIHyAPAAdgBE
lGUusO7Or8RAB9io/ijA2uaCvtjLMbU/0zOWtbaBqAAAAXp2VxexAAAEAwBHMEUC
IQDmisVSWSTy47AOkqQXgXZ4M5WZIgilvA0yky94IgvRwgIgWfidpDpKBibiVk2C
LTMdqssX0g2YXakK1vRql2gMayAAdgB9PvL4j/+IVWgkwsDKnlKJeSvFDngJfy5q
l2iZfiLw1wAAAXp2VxfOAAAEAwBHMEUCIQDm4Lx8rmXIYSPIsHget43MGRFKADxW
PYVqIUflps9AsAIgPTb5NfMZDjP4CZIer+GYFFEjPOlEASqdhqmzxUjmc14wDQYJ
KoZIhvcNAQELBQADggEBAIr0HYrL7UrlVgVphW+bXEVDnQUO46zOGvXkUmchjzwn
vNoOIjhFKlGWpSR+JAJXWe7mtxyAvY8JnfyfDv1Mq2zjLQQwFO14HAGwJics9VQv
3lecDoK8PZ7etKUNfJ1tHOOtoRXFCLyP5n2fTBxqyZl1YxqrfNKcgASbzfKxqXr/
BJu6PjWEdFnZzdZ54rRVAoQkYE90LxLEJoePPsfyfbNeY3SXyZXsBrE4sgj1x13e
yUW7BcvFytUpAgudxI7CbFBawKGBwev9CqrbYImcBcDsv8jPUDJ3QVn021nepffX
kFuLUZDX+XYKsNlm8S4flBP7SGkGan6QjI1dzZgmcts=
-----END CERTIFICATE-----
subject=CN = hxxta.xxxxxxxxa.online
issuer=C = US, O = Let's Encrypt, CN = R3

No client certificate CA names sent
Peer signing digest: SHA256
Peer signature type: RSA
Server Temp Key: ECDH, P-256, 256 bits
SSL handshake has read 4829 bytes and written 480 bytes
Verification: OK
New, TLSv1.2, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol  : TLSv1.2
Cipher    : ECDHE-RSA-AES256-GCM-SHA384
Session-ID: 5F83EC54BFB2EF12B380A1A84B8E404E38877C4BF490971C4E20E53A09EAD359
Session-ID-ctx:
Master-Key: 5FFDC1D602381FC1E0A3D4B7077ACC21A3CB68BDF5F7F0F86B9D3BAB4D6CC3F14FC986EF36E6C28B2576FF901E1D14F6
PSK identity: None
PSK identity hint: None
SRP username: None
TLS session ticket lifetime hint: 300 (seconds)
TLS session ticket:
0000 - 85 5e c1 cd d1 cc 80 a2-8d 2f 05 ec a3 fa 0e 7f   .^......./......
0010 - ae bb a5 b0 e9 60 7c 47-48 00 3a f7 86 70 e4 a1   .....`|GH.:..p..
0020 - be 99 65 e5 f6 81 df e7-06 e0 49 94 47 04 68 e5   ..e.......I.G.h.
0030 - a2 fc 83 7c a8 c6 ce 70-55 a6 6d ea de 67 44 ec   ...|...pU.m..gD.
0040 - e6 fc f3 e6 df 78 49 d5-6d ca df 83 6f 25 7d d8   .....xI.m...o%}.
0050 - 16 93 b7 16 f6 a2 7e 2d-43 6b 54 7f 49 97 20 75   ......~-CkT.I. u
0060 - 91 56 ce da 25 1e df a1-05 5c 69 a2 86 a9 e6 45   .V..%....\i....E
0070 - 3a 73 87 24 d2 e5 8b 40-bf dd 5b 3a e9 b7 e7 c7   :s.$...@..[:....
0080 - dd 8b 6a d7 ed 8a 90 ac-82 16 ff 0d 36 b6 f1 f8   ..j.........6...
0090 - 89 17 39 e0 64 ee ed e5-a1 eb c2 c4 1e 02 20 c2   ..9.d......... .
00a0 - 71 db 11 cd 25 42 bf 56-3e 88 16 33 22 f4 32 87   q...%B.V>..3".2.
Start Time:<PHONE_NUMBER>
Timeout   : 7200 (sec)
Verify return code: 0 (ok)
Extended master secret: no

250 AUTH CRAM-MD5 PLAIN LOGIN

This mail was directly sent by hxxta.xxxxxxxxa.online.
SMTP host: hxxta.xxxxxxxxa.online
Port: 587
Use SLL: True
Use Authentication: True
Authentication name: smtp1
Authentication password: [not applicable]
Email from<EMAIL_ADDRESS>Email to<EMAIL_ADDRESS>

@willpower232 @adamcooke
Do we have chance to review once , i already checked all old threads which were related to similar concern but no chance to get it solved

Between the domains I mentioned previously and your use of port 587, it looks like you have configured Postal in quite a different way which may lead to this problem. Are you using a proxy or can you tell us a bit more about how you are setting it up this time?

Hello @willpower232
Thanks for the update
i just followed manual installation
https://github.com/postalhq/postal/wiki/Installation
do you have any quick install script which can install without any package issue or version dependency issue
please you can share your email id for test , i will send one test email to you or can share header file with you,
waiting for your reply
thank you !

How are you making use of port 587 instead of the default 25?

postal.yml
web:
The host that the management interface will be available on
host: vtp.xxxxxxxxxx.care
The protocol that requests to the management interface should happen on
protocol: https
fast_server:
This can be enabled to enable click & open tracking on emails. It is disabled by
default as it requires a separate static IP address on your server.
enabled: false
bind_address:
general:
This can be changed to allow messages to be sent from multiple IP addresses
use_ip_pools: false
main_db:
Specify the connection details for your MySQL database
host: <IP_ADDRESS>
username: postal
password: p0stalpassw0rd
database: postal
message_db:
Specify the connection details for your MySQL server that will be house the
message databases for mail servers.
host: <IP_ADDRESS>
username: postal
password: p0stalpassw0rd
prefix: postal
rabbitmq:
Specify the connection details for your RabbitMQ server.
if you have more than one RabbitMQ server (cluster), you can use array like this:
host:
- <IP_ADDRESS>
- <IP_ADDRESS>
- <IP_ADDRESS>
host: <IP_ADDRESS>
username: postal
password: p0stalpassw0rd
vhost: /postal
dns:
Specifies the DNS record that you have configured. Refer to the documentation at
https://github.com/atech/postal/wiki/Domains-&-DNS-Configuration for further
information about these.
mx_records:
- mx.vtp.xxxxxxxxxx.care
smtp_server_hostname: vtp.xxxxxxxxxx.care
spf_include: spf.vtp.xxxxxxxxxx.care
return_path: rp.vtp.xxxxxxxxxx.care
route_domain: routes.vtp.xxxxxxxxxx.care
track_domain: track.vtp.xxxxxxxxxx.care
smtp_server:
port: 587
tls_enabled: true
tls_certificate_path: /etc/letsencrypt/live/vtp.xxxxxxxxxx.care/fullchain.pem  # Defaults to config/smtp.cert
tls_private_key_path: /etc/letsencrypt/live/vtp.xxxxxxxxxx.care/privkey.pem # Defaults to config/smtp.key
smtp:
Specify an SMTP server that can be used to send messages from the Postal management
system to users. You can configure this to use a Postal mail server once the
your installation has been set up.
host: <IP_ADDRESS>
port: 2525
username: # Complete when Postal is running and you can
password: # generate the credentials within the interface.
from_name: Postal
from_address<EMAIL_ADDRESS>rails:
This is generated automatically by the config initialization. It should be a random
string unique to your installation.
secret_key: 5086c570dcc6e3d896491f71f99649a05638c2d9ffd2964c7f0a909dad4dc6662f743a767d821a816941a56c3edfaba09ccbf0b3716ffd33f52663a582945279254e71db0d4e6ecf94722a20c524b8f1cd683c9e38361c19e59ee41a5afff2030729ce835bd3ae5892969ef25b05e4f8b24d1b2fd492c1145e583c5a674f89a7

SSL Letsencrypt
openssl s_client -connect vtp.xxxxxxxxxx.care:587 -starttls smtp

smtp_server.log

Output

changing the port to 587 might make it difficult for other servers to send you messages but I'm not sure if that would cause google to think encryption wasn't used

issue fixed with VPS provider doesn't support TLS on network level by default


error when server is down is misleading

The error when the server is down is misleading, labeling as a CORS issue, while it's not:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8000/. (Reason: CORS request did not succeed). Status code: (null).

While the following appears on screen:

Unhandled Runtime Error
TypeError: NetworkError when attempting to fetch resource.


Caching does not work with FrontChat

In our app (Rails 6) we use FrontChat for customer support. However, I'm having difficulties getting it to work with Turbo caching.
So far, I have the following:
application.html.erb
<!DOCTYPE html>

    <%= javascript_pack_tag "chat", "data-turbo-track": "reload", defer: true %>

    <%= yield %>

chat.js
window.FrontChat('init', {chatId: '...', useDefaultLauncher: false})

This mostly works, the chat window stays open between page changes as I want, except when returning to a cached page I get an error Please pass a `chatId` or a `FCSP` variable.. This error does come from FrontChat, and I don't know the exact cause, however since the error only happens when loading a cached page I figured it might be of interest to the Turbo team.
Currently I'm working around this by using <meta name="turbo-cache-control" content="no-cache"> to avoid caching the page, and that works, but it would be nice to not have to disable caching.
For a bit of understanding of how FrontChat works, it grabs a reference to the #front-chat-container element and uses that to show/hide the chat window. It has to be a permanent element otherwise FrontChat breaks since it stores a reference to the element. I'm guessing there's some issue with cached pages and permanent elements.

See: Working with Script Elements

I've read that and tried several combinations with no success. The solution I provided keeps the same front-chat-container element, and having the scripts in the head means they only get run once. Or does loading a cached page rerun the JavaScript in the head? I tried adding data-turbo-eval="false" to the two script tags but it didn't help.

What if you wrap it with a turbo:load listener?
document.addEventListener("turbo:load", function() {
  window.FrontChat('init', {chatId: '...', useDefaultLauncher: false})
})

I've figured out the problem, FrontChat creates a


Change fc2 image and target

Coverage remained the same at 89.632% when pulling 34343888b5e2e9ef9ba007dd2e40057af62d261c on fc2 into 8824547b8415ae8fc2e3e530b6f88edb93f3f092 on master.


FIX: HadoopFsWrapper not compatible with hadoop 2.7.1 if compile with hadoop 2.3.0

I worked around #3786 this problem by invoking rename by reflection.
Its a temporary way, and I am not sure, if this way suitable to be merged into druid/master.

@jon-wei can we run this  through Hadoop gauntlet?

on the surface, it looks like this patch does not change anything except making a particular method invocation using reflection instead of direct call. we do run hadoop 2.7.2 with this patch and things have worked fine so far.
@hamlet-lee did you find out why you were getting IllegalAccessError without reflection usage? Can you check that you did not have multiple hadoop versions on the classpath e.g. one set of hadoop jars coming via hdfs-storage module and one set explicitly specified on the classpath ?
I'm trying to understand why reflection solves this particular issue.

I print classloader by below code:
public static boolean rename(FileSystem fs, Path from, Path to) throws IOException
  {
    try {
      log.info( "HadoopFsWrapper classloader: " +HadoopFsWrapper.class.getClassLoader());
      log.info( "FileSystem classloader: " + FileSystem.class.getClassLoader());

      Method renameMethod = fs.getClass().getMethod("rename", Path.class, Path.class, Options.Rename[].class);
      renameMethod.invoke(fs, from, to, new Options.Rename[]{Options.Rename.NONE});
      return true;
    }
    catch (Exception ex) {
      log.warn(ex, "Failed to rename [%s] to [%s].", from, to);
      return false;
    }
  }

2016-12-20T15:01:30,234 INFO [appenderator_merge_0] org.apache.hadoop.fs.HadoopFsWrapper - HadoopFsWrapper classloader: java.net.URLClassLoader@7cd1ac19
2016-12-20T15:01:30,234 INFO [appenderator_merge_0] org.apache.hadoop.fs.HadoopFsWrapper - FileSystem classloader: sun.misc.Launcher$AppClassLoader@5f184fc6

HadoopFsWrapper  and FileSystem  are from different classloader.  This may caused the exception.

If that is correct this patch probably makes sure the class

Stupid mobile.....
Makes sure the class loader is correct. Can you debug why there is a miss match in class loaders here?

my guess is,
hdfs-storage (and default hadoop jars of version 2.3.0)  loaded in the extension classloader , main classloader has hadoop 2.7.1 jars on the classpath .... and depending on position of stars unpredictable things happen :)
I think this issue will also possibly get solved if hdfs-storage was built with hadoop 2.7.1 as dependency in the pom so as to have hadoop 2.7.1 jars in the extension folder.


ViT Adapter Not Working With Patch Size Different From 16

I need to train a segmentor that uses a Transformer that has been pre-trained with patch_size=14.
I've done some adaptations in the ViT-Adapter/segmentation/mmseg_custom/models/backbones/vit_adapter.py file to allow for that, since at some points in the code patch_size was hard-coded to 16.
However, with that issue surpassed, now I'm running into some problems with the ViT-Adapter/segmentation/ops/modules/ms_deform_attn.py file, which is outputting this error when I try to train a model with patch_size 14.
File "/ViT-Adapter/segmentation/ops/modules/ms_deform_attn.py", line 105, in forward
    assert (input_spatial_shapes[:, 0] * input_spatial_shapes[:, 1]).sum() == Len_in
AssertionError

Can anyone help me as to what needs to be changed in the Deformable Attention code to allow a patch size that's different from 16?
Thanks!

Ok, by using the code pointed to here, I converted the weights that had been pre-trained using patch_size=14.
However, I'm still hitting the same error.


Demo Video with voice

as no request was done for this we will close. If it ever is requested we can reopen/create.


building lv_micropython on windows

Are the lv_micropython build instructions meant to be followed on windows 11?
Because I can’t get them to work…
Or do they have to be run on Linux; in which case perhaps, a warning should be
Added to the readme.md.
Thanks, jon

cc @kdschlosser @liamHowatt @amirgon

See also https://github.com/lvgl/lv_binding_micropython/issues/175

It depends on what you are trying to compile. If you are compiling for the ESP32 and you are on a Windows desktop PC then you will need to use WSL in order to do that. If you are wanting to compile MicroPython as a native windows application then you would need to read the link that @amirgon posted above. With Windows 11 using WSL2 you can compile for unix using WSL2 and it will give you a proper Window as if it was being natively run on Windows. You can even create a shortcut to start the application and it will work.


cleanup wrt sbtools

add search_metab_runs
use sbtools::session_renew, sbtools::is_logged_in
refactor to handle SB login needs uniformly through package (sb_renew_login, sb_require_login)
add NEWS file

appveyor is failing on https://ci.appveyor.com/project/jread-usgs/mda-streams/build/0.1.363#L491:
** preparing package for lazy loading
Setting endpoint to www.sciencebase.gov
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
  namespace 'nlme' 3.1-122 is being loaded, but >= 3.1.123 is required
ERROR: lazy loading failed for package 'mda.streams'

While travis failed at https://travis-ci.org/USGS-R/mda.streams/builds/109645017#L5579
ERROR: dependency ‘unitted’ is not available for package ‘streamMetabolizer’

With travis, the error goes back further to https://travis-ci.org/USGS-R/mda.streams/builds/109645017#L4799
Installing streamMetabolizer
Skipping 1 unavailable package: unitted
Installing 11 packages: assertthat, BH, DBI, dplyr, LakeMetabolizer, lubridate, plyr, Rcpp, rLakeAnalyzer, stringi, stringr
Installing packages into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning: unable to access index for repository http://owi.usgs.gov/R/src/contrib:
  cannot open URL 'http://owi.usgs.gov/R/src/contrib/PACKAGES'

which I'm not gonna worry about for now.
The appveyor error was the same on both attempts. The current version of nmle on CRAN is 3.1.124 but was recently 3.1-122 (https://github.com/cran/nlme/blob/master/DESCRIPTION#L2), and i suppose something (lme4? https://github.com/lme4/lme4/blob/master/DESCRIPTION#L21) depends on nlme with the >3.1.123 version restriction. Maybe appveyor has a package cache that's not yet updated for last week's change?
Therefore I'm also not gonna worry about this. Time to get some code written.


Build binaries using CI pipeline

I've created a Github Action pipeline that can build the firmware for pico using a Docker container, and then upload the binaries as an asset within a release:

The pipeline gets triggered only when a new tag is created, and the assets will be uploaded to that release.
If you like this approach, I can push a Pull Request from my fork.

Of course @charlysan that's an excellent collaboration, share the PR and I will review it


7TV and FFZ emotes scale differently when zooming in

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue
This has always been an issue in chatterino 7 but I never reported it.
I made two 128x128 black square emotes to test this out
https://7tv.app/emotes/60fafe4e0ba9b4d774fb9cd6 and https://www.frankerfacez.com/emoticon/675476-blackSquare
When you zoom in at a certain point the 7tv emotes get smaller than other emotes but even if you just barely zoom in 7tv emotes get a bit smaller.
FFZ and BTTV emotes behave the same.
Screenshots
https://user-images.githubusercontent.com/69394829/157765862-d3a28758-c285-4f30-9a93-2e730e9d0cd3.mp4
OS and Chatterino Version
Chatterino Nightly 7.3.4 (commit a86079d88, built on ) on Windows 10

This is caused by incorrect 2x and 3x image scales in the 7TV CDN, which are not actually 2x or 3x. Therefore in certain settings where those scales are used, they will look out of place next to that of other providers. This will be fixed after the CDN undergoes a reprocessing job, which is scheduled to occur close to the deployment of API v3 into production.


Overview ruler border is shown when there is nothing to scroll

Issue Type: Bug

Open a file that is short enough that it doesn't need to scroll
Notice that while theres no cursor, there is still an overview ruler border

VS Code version: Code - Insiders 1.43.0-insider (b53d3c26f35df3da2d3f2ed472e73c8edf4f90d0, 2020-03-05T00:59:24.612Z)
OS version: Windows_NT x64 10.0.18363
Extensions: none

This is intentional, because there could still be decorations rendered in there, even when there is no scrollbar


Process: Add DEVNULL option to disable stdout and stderr

Fixes #3397

Thanks for the PR @adrianyorke! Third time’s the charm. :smile:
I think it would have been enough to just keep committing to the original PR and let GitHub squash everything to a single commit on merge. That's not a big deal and great that this is now done!


Carla 0.9.13 Ran out of memory allocating<PHONE_NUMBER>8997660672 bytes with alignment 65536 Signal 11 caught.

Specs:
CARLA package 0.9.13
Unreal Engine 4.24 and 4.26 installed on my computer
Ubuntu 18.04.6
When launch CarlaUE4.sh after downloading release package, I get the following error:
4.26.2-0+++UE4+Release-4.26 522 0 Disabling core dumps. Malloc Size=65538 LargeMemoryPoolOffset=65554  LowLevelFatalError [File:Unknown] [Line: 1031]  Ran out of memory allocating<PHONE_NUMBER>8997660672 bytes with alignment 65536 Signal 11 caught. Malloc Size=65538 LargeMemoryPoolOffset=131122  CommonUnixCrashHandler: Signal=11 Malloc Size=131160 LargeMemoryPoolOffset=262312  Malloc Size=131160 LargeMemoryPoolOffset=393496  Engine crash handling finished; re-raising signal 11 for the default handler. Good bye. Segmentation fault (core dumped)
I have installed both Unreal Engine 4.24 and 4.26 on my computer. Could this be the cause of this error? If not what may be the cause of this problem? This error happened just after downloading the release package and run the launch command so I assume the problem should come from my own computer environment.

I've got the same issue, but I don't have both Unreal Engines installed. Have you found a solution in the meantime?

So because of some other reasons I restored my whole Linux system to an initial stage and this problem is gone. I think one possible cause for this was: I cooked a map using Carla docker 0.9.9, imported it into this 0.9.13, and launched this map, and this somehow messed up my Unreal Engine memory.

@ucbmpc2021 Alright, thank you! I also restored a previous stage (by reinstalling CARLA) and the issue is gone, too!

i don't know why , but it worked with me using "./CarlaUE4.sh -opengl13"
ubuntu 18.04
0.9.11
ryzen 5 3400G


21112023 sprint demo feedback

@bulgarchik After resolving my last comments, changes are ready to be merged into master branch.


chore: Add validateSingleCommit option to pr checker

What does this change?

Sets the validateSingleCommit option to true in the PR title checker workflow

Why?
When using "Squash and merge" on a PR with only one commit, GitHub will suggest using that commit message instead of the PR title for the merge commit, and it's easy to commit this by mistake. Enable this option to also validate the commit message for one commit PRs.

Coverage remained the same at 99.527% when pulling c69da01cdaa8ecbe498ab7ac8525af52469f99cd on validate-single-commit into 530989971b135995a601e180fd18e0ea7f995a88 on main.


Beta version documentation

Recently the v6 beta version has been release.
Is there any documentation or migration guide for this version?
Are there any plans on updating documentation on the beta branch?

The short answer is not yet. I might provide a migration guide as markdown if I will test/merge this to upstream branch soon.
But the website documentation is pretty much have to be rewritten due to dropped support on the things I was using before so that will also eventually happen.

Please check out the migration guide to v6 from here. Most of the cases should be covered.


Enable blas when building android

Blas was turned off and prepare_openblas.sh is wrong, s/TAR_PREFIX/FILE_PREFIX/

:octocat: cibot: Thank you for posting issue #1365. The person in charge will reply soon.

acc82f9 resolves the issue


enable template download button after changing the template dropdown …

…input
fixes https://sagebionetworks.jira.com/browse/FDS-773

This PR was reviewed in code review 23AUG2023


Where is DataAccess.mdf?

Missing from download. Running fails.

Missing from download. Running fails.

Can we have this file to run this project?


ENH: optimize.basinhopping: improve print_report()

Describe your issue.
My understanding is that in basinhopping.py, lowest_f represents the current global minimum, f represents the value of the function at the current step, and trial_f is the value of the function following the next global step (which may or may not be accepted). I frequently get the same values for f, trial_f, and lowest_f, which is surprising since the value of the function before and after taking a step is expected to change. Below, see how 1.89902e+06 is repeated:
basinhopping step 0: f 1.91581e+06
basinhopping step 1: f 1.89902e+06 trial_f 1.89902e+06 accepted 1  lowest_f 1.89902e+06
found new global minimum on step 1 with function value 1.89902e+06
basinhopping step 2: f 1.89902e+06 trial_f 1.89902e+06 accepted 1  lowest_f 1.89902e+06
found new global minimum on step 2 with function value 1.89902e+06

Another example (see how 2.38367e+06 is repeated):
basinhopping step 91: f 2.38367e+06 trial_f 2.38367e+06 accepted 1  lowest_f 2.38367e+06
basinhopping step 92: f 2.38367e+06 trial_f 2.38367e+06 accepted 1  lowest_f 2.38367e+06
basinhopping step 93: f 2.38367e+06 trial_f 2.38367e+06 accepted 1  lowest_f 2.38367e+06
basinhopping step 94: f 2.38367e+06 trial_f 2.38367e+06 accepted 1  lowest_f 2.38367e+06
basinhopping step 95: f 2.38367e+06 trial_f 2.38367e+06 accepted 1  lowest_f 2.38367e+06
basinhopping step 96: f 2.38367e+06 trial_f 2.38367e+06 accepted 1  lowest_f 2.38367e+06
basinhopping step 97: f 2.38367e+06 trial_f 2.38367e+06 accepted 1  lowest_f 2.38367e+06
basinhopping step 98: f 2.38367e+06 trial_f 2.38367e+06 accepted 1  lowest_f 2.38367e+06
basinhopping step 99: f 2.38367e+06 trial_f 2.38367e+06 accepted 1  lowest_f 2.38367e+06
adaptive stepsize: acceptance rate 0.940000 target 0.500000 new stepsize 0.617284 old stepsize 0.555556
basinhopping step 100: f 2.38367e+06 trial_f 2.38367e+06 accepted 1  lowest_f 2.38367e+06

In print_report(), this could indicate that self.energy = energy_trial = minres.fun:
    def print_report(self, energy_trial, accept):
        """print a status update"""
        minres = self.storage.get_lowest()
        print("basinhopping step %d: f %g trial_f %g accepted %d "
              " lowest_f %g" % (self.nstep, self.energy, energy_trial,
                                accept, minres.fun))

It may be that they are different but the difference is small and the precision of the reporting needs to be increased.
Reproducing Code Example
python
parameters = (contour, self.default_spectrum)
x0 = [0] * self.num_detectors[contour]

minimizer_args = {"args": parameters, "method": "L-BFGS-B", "jac": True, "options": {'disp': False}}

OptimizeResult = optimize.basinhopping(self.optimize_func, x0, minimizer_kwargs=minimizer_args, disp=True)

Error message
none

SciPy/NumPy/Python version information
1.7.3 1.21.5 sys.version_info(major=3, minor=9, micro=12, releaselevel='final', serial=0)

Please let me know if additional information would help.

Can you provide code that we can run to replicate the problem?

Thanks, Matt. I will try to provide code to replicate the problem. (The program reads a lot of input in order to construct the multi-variable function to minimize and I need to think about how to do it.)
Your suggestions on how to move forward (in the 3 bullet points above) make sense to me. Do I need to do anything on my end?

Do I need to do anything on my end?

Well, you're welcome to submit a PR : )  Would you like to do that?

Thanks. Is PR a request for enhancement? If so, I will do that.

PR means "pull request", you submit code that you request get pulled (merged) into SciPy. You can find more information in the contributor guide

@nbfazel Did you plan to submit a pull request for this? SciPy 1.10 will branch in early December, so if you'd like to see this feature in the next version of SciPy, it would need to happen soon.

Thanks for the reminder. This fell off my radar. I will work on it when I return to the US late next week.

Sorry, I've been trying to build SciPy (using info from here: https://docs.scipy.org/doc/scipy/dev/dev_quickstart.html), but got stuck on gfortran errors when building SciPy. I'm using Conda (it's up-to-date), and gfortran come with it. Not sure why the the gfortran compiler is unhappy:
(scipy-dev) fnal@neilfazelsmacbook[scipy][3]> python dev.py build
💻  meson setup /Users/fnal/.ssh/scipy/build --prefix /Users/fnal/.ssh/scipy/build-install
The Meson build system
Version: 0.64.1

meson.build:63:0: ERROR: Compiler /Users/fnal/opt/anaconda3/envs/scipy-dev/bin/x86_64-apple-darwin13.4.0-gfortran can not compile programs.
A full log can be found at /Users/fnal/.ssh/scipy/build/meson-logs/meson-log.txt
Meson build setup failed!
meson-log.txt

Sorry, I've been trying to build SciPy (following the steps from here: https://docs.scipy.org/doc/scipy/dev/dev_quickstart.html), but got stuck on gfortran errors when building SciPy. I'm using Conda (it's up-to-date), and gfortran come with it. Not sure why the gfortran compiler is unhappy:
(scipy-dev) fnal@neilfazelsmacbook[scipy][3]> python dev.py build
💻  meson setup /Users/fnal/.ssh/scipy/build --prefix /Users/fnal/.ssh/scipy/build-install
The Meson build system
Version: 0.64.1
<snip>
meson.build:63:0: ERROR: Compiler /Users/fnal/opt/anaconda3/envs/scipy-dev/bin/x86_64-apple-darwin13.4.0-gfortran can not compile programs.

A full log can be found at /Users/fnal/.ssh/scipy/build/meson-logs/meson-log.txt
Meson build setup failed!

meson-log.txt

Try posting on the slack group scipy-community.slack.com

Something is going wrong with the compiler toolchain you are using. If I had to hazard a guess I'd say that one or more of the compilers is too old for the macOS version you are using (what is that?) because of the following:

x86_64-apple-darwin13.4.0-gfortran: warning: could not understand version 13.01.00

I'm guessing you're on Ventura 13.01, but that the compilers have a upper version limit that they can compile for, hence the error message.
You may also be getting conflicts between the system build chain (from xcode) and from the compilers installed into the conda env.
I'm on macOS 13.01 (arm64) and use the system command line tools installed via Xcode. I then install gfortran from https://github.com/fxcoudert/gfortran-for-macOS/releases, making sure to select the correct architecture. If you're reluctant to use those gfortran builds you could try gfortran from homebrew. I build in a conda env with conda-forge supplied Python and a pip installed numpy/cython/pybind11/pythran (but no conda installed compilers)

Thanks for the information. Your guess makes sense. (I'm on Ventura 13.1.)

I installed gfortran 12.2 for Ventura (macOS 13) for Apple Silicon computers from the link you provided. (I'm using Xcode.) Then tried to build again and got the same error. This was in scipy-dev environment. Then I tried the base environment but that one produced different errors:
(scipy-dev) fnal@neilfazelsmacbook[scipy][15]> conda deactivate
(base) fnal@neilfazelsmacbook[scipy][16]> python dev.py build
Traceback (most recent call last):
  File "/Users/fnal/.ssh/scipy/dev.py", line 126, in <module>
    from doit import task_params
ModuleNotFoundError: No module named 'doit'
(base) fnal@neilfazelsmacbook[scipy][17]>

You need to pip install the doit package to get past that.

Thanks. I installed that, and needed to also install pydevtool and rich_click. The last one gave an error:
(base) fnal@neilfazelsmacbook[scipy][7]> pip install rich_click
...
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed.
This behaviour is the source of the following dependency conflicts.
spyder 5.2.2 requires pyqt5<5.13, which is not installed.
spyder 5.2.2 requires pyqtwebengine<5.13, which is not installed.

Successfully installed markdown-it-py-2.1.0 mdurl-0.1.2 pygments-2.14.0 rich-13.3.1 rich_click-1.6.1

Despite the error, rich_click appeared to install successfully, so I then tried to build SciPy:
(base) fnal@neilfazelsmacbook[scipy][9]> python dev.py build
💻  meson setup /Users/fnal/.ssh/scipy/build --prefix /Users/fnal/.ssh/scipy/build-install
Task Error - build => PythonAction Error
╭───────────────────────────────────────────────────── build ──────────────────────────────────────────────────────╮
│ Traceback (most recent call last):                                                                               │
│   File "/Users/fnal/opt/anaconda3/lib/python3.9/site-packages/doit/action.py", line 461, in execute              │
│     returned_value = self.py_callable(*self.args, **kwargs)                                                      │
│   File "/Users/fnal/.ssh/scipy/dev.py", line 607, in run                                                         │
│     env = cls.setup_build(dirs, args)                                                                            │
│   File "/Users/fnal/.ssh/scipy/dev.py", line 465, in setup_build                                                 │
│     ret = subprocess.call(cmd, env=env, cwd=run_dir)                                                             │
│   File "/Users/fnal/opt/anaconda3/lib/python3.9/subprocess.py", line 349, in call                                │
│     with Popen(*popenargs, **kwargs) as p:                                                                       │
│   File "/Users/fnal/opt/anaconda3/lib/python3.9/subprocess.py", line 951, in __init__                            │
│     self._execute_child(args, executable, preexec_fn, close_fds,                                                 │
│   File "/Users/fnal/opt/anaconda3/lib/python3.9/subprocess.py", line 1821, in _execute_child                     │
│     raise child_exception_type(errno_num, err_msg, err_filename)                                                 │
│ FileNotFoundError: [Errno 2] No such file or directory: 'meson'                                                  │
│                                                                                │
╰─────────────────────────────────────────────── PythonAction Error ───────────────────────────────────────────────╯

I don't seem to be set up to do development work in SciPy. It would help if print_report() could be improved to display using more significant digits.

I realized meson was missing and installed it
(base) fnal@neilfazelsmacbook[scipy][28]> conda install -c conda-forge meson

Then tried again to build SciPy:
(base) fnal@neilfazelsmacbook[scipy][45]> python dev.py build
...
meson.build:63:0: ERROR: Compiler gfortran can not compile programs.

A full log can be found at /Users/fnal/.ssh/scipy/build/meson-logs/meson-log.txt
Meson build setup failed!

Not sure why gfortran cannot compile. (I also updated Xcode.)


Add generation to zone endpoint

@freva

Oops, last commit is unrelated, but let's just leave it here.


Fixed bug #1399 Overlapping problem

Description
Fixes #1399

Removed overlapping problem for the bottom sheet view for large title of places.
Changed Linear Layout height from 72dp to wrap_content to accomodate title which crosses more than three lines or else it will get hidden.

Tests performed
Moto g4 plus Android 7.0.0
Screenshots showing what changed

Codecov Report

Merging #1405 into 2.7.x-release will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           2.7.x-release   #1405   +/-   ##
=============================================
  Coverage           3.31%   3.31%
=============================================
  Files                128     128
  Lines               6809    6809
  Branches             669     669
=============================================
  Hits                 226     226
  Misses              6568    6568
  Partials              15      15

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 c6f728a...c85dccb. Read the comment docs.

@Jatin0312 thanks for fast PR:) But I have some questions:

Why changing so much thing, while the problem is only related with TextView, are all of them needed?
Besides, setting dp may not be a good practice for all screen sizes. Ie. my test results on my tablet are as:
Before:

After:

See, there are so many empty space on left. What about just setting some margin to right side of textview?

Besides, as you can see from my screenshoot2, bottom can be problematic if we add line breaks. We can not change height of the bottom sheet when it is collapsed. So there are two options:

Adding scrollview
Adding three dot.
I would add "..." when bottom sheet collapsed and display full text with line breaks when it is expanded.

Ya, I tried adding scroll view but it hampered the click function and was becoming kind of unusable so better option would be adding three dots. But I will try both ways to ensure usability.
Ok, sure I will fix the height of bottom sheet when collapsed and change the size of text view accordingly using margin right.
With Linear layout height 72 dp the problem comes when the size of the title crosses three line so I think we should limit the size of title displayed in bottom sheet.
Thanks for the review :)

Changed according to reviews.
Description:

Added three dots for large title instead of scroll view since it was hampering clickable behaviour.
Added margin right 50dp for title.

Suggestion needed:
Should I implement like this that on click the bottom sheet the complete title is displayed with line breaks but I think It looks nice for now.


Confusing character class

https://github.com/zsh-users/zsh-syntax-highlighting/blob/bdbe214453c40908006f1bc53bf0562e93fe957d/highlighters/main/main-highlighter.zsh#L821
https://github.com/zsh-users/zsh-syntax-highlighting/blob/bdbe214453c40908006f1bc53bf0562e93fe957d/highlighters/main/main-highlighter.zsh#L824
Shouldn't the minus be at the end?  It seems zsh only parses c1-c2 as a range if c1 < c2 in ASCII, let's not rely on that.  At least it's confusing.
Haven't checked whether there are other instances.

There are no other instances; however, the test in _zsh_highlight_main_highlighter_highlight_double_quote does not recognize $! (which can theoretically occur with : !" "$!" or : "$!}" or even : "$\!" (which appears to only work with !)).


The decision to preserve order should probably not be a Cargo feature

Currently, toml::Value's Table variant discards the order of the input data by default. This behavior can be changed by setting the preserves_order feature, which switches the implementation to an IndexMap.
Using a Cargo feature for this means that the decision is made across the entire dependency graph, such that a single crate requesting ordered tables will change the behavior for all other crates. Since the alphabetical ordering of Table is exposed through iterators by default, it seems likely that crates will depend on it (and I have personally written at least one crate that depended on it by accident), but there's no way for them to express that requirement at the type level or in the build system -- so it can be silently broken by changes in distant dependencies.
It seems to me that preserves_order violates the "purely additive" notion of Cargo features.
I'm not entirely sure what the right alternative is, though, the way the crate is structured. For now, we're probably going to fork the crate into a variant that has predictable order without the risk of subtly breaking our dependencies, but that's obviously not great.

express that requirement ... in the build system

Maybe I'm confused by what is meant here, but that requirement can be expressed by setting the feature.
[dependencies]
toml = { version = "0.5", features = ["preserve_order"] }

It seems to me that preserves_order violates the "purely additive" notion of Cargo features.

Although it changes behavior, it changes behavior in an additive fashion. I don't think there is a reasonable expectation that code relies on random HashMap ordering. Adding preserve_order adds the expectation that it is preserved, and that does not interfere with code that works when it is unset.

I don't think there is a reasonable expectation that code relies on random HashMap ordering.

The two ordering options exposed by this crate are sorted by key, and insertion order. HashMap isn't one of them.
It's pretty easy to write code that implicitly depends on sorted keys -- we've had it happen twice in the past few months. It's also pretty easy to write code that sets preserve_order and expects insertion order. The issue is when these two pieces of code (perhaps from different authors) get combined into one binary -- the first one breaks for reasons that are difficult to diagnose. (Or, better yet, when they are compiled into different binaries but manipulate the same data...with different results due to separate feature resolution.)

Maybe I'm confused by what is meant here, but that requirement can be expressed by setting the feature.

Right, the feature, in the build system. As opposed to expressing the requirement at type level, in the program, where it can't be implicitly changed by a distant dependency.
It might help to explain how this is being used.
In our build system for one of our operating systems, assembly of a firmware image is driven by a TOML configuration file. There are portions of the file that are defined by a common schema, and then portions that can include application-specified metadata. (This is roughly analogous to the package.metadata key in Cargo.) The common schema portion is defined by a struct using serde, with the extensible portion stuffed into it using a toml::Value here.
At that point, we have already lost information from the file -- specifically, ordering of table keys. Which also means ordering of top-level tables. This is fine for 90% of our use cases, but we had a case where we wanted the ordering in the file to be preserved to convey both name and index (in this case, for reasons of backwards compatibility and order stability in the face of name changes). At that point we were in a pickle -- we could set preserve_order, but Cargo feature resolution would turn that on for every TOML user across our entire dependency graph. We had other code that turned out to be implicitly expecting sorted keys, which caused me to suspect that we're not the only ones -- that there might be other code we're getting from crates.io that also made that assumption and could be broken by this feature being turned on.
What we've done for now is to fork just the toml::Value part of this crate into a version that has permanently defined order, and can be deserialized by toml-rs. We use this in any case where we need order preserved on an arbitrary Value. No code consuming an ordered_toml::Value will assume sorted order, because it never produces sorted order.
Which is why I asserted that this feature is not purely additive:

Although it changes behavior, it changes behavior in an additive fashion.

Removing sorting is not additive. If the default storage were a HashMap with keyed randomized order, there'd be an argument here, but it isn't. Much like how there was a lot of code in the Rust ecosystem depending on struct fields being laid out in declaration order in the days before struct layout optimization (or order randomization in debug builds), I expect there is other code in the ecosystem depending on sorted keys in toml::Value that can be broken by feature resolution. Might be interesting to flip the feature and do a crater run -- though our code wouldn't be included.

Ah, apologies, I forgot that it was using a btree instead of a hashmap.
It sounds like forking Value was probably the right way to go.  Similar to the discussion at https://github.com/serde-rs/json/issues/225, I think keeping Value simple and easy-to-use is probably a priority over making it flexible for different scenarios. I understand that whether or not the feature is enabled can break code expecting one behavior or another, and that doesn't entirely honor the additive nature of features.

I agree. So, which behavior of Value is simple and easy to use, and should the other be removed?
I would argue that throwing away information from the input files (i.e. automatically sorting tables) is a poor default, and IndexMap should be the default-and-only. Others might not agree. :-) But either way, I think this should probably not be under control of a Cargo feature, and suggest that removing the feature would be good.

Maintenance of this crate has moved to the https://github.com/toml-rs/toml repo.  As a heads up, we plan to move toml to be on top of toml_edit, see https://github.com/toml-rs/toml/issues/340.
Closing this out.  If this is still a problem, feel free to recreate this issue in the new repo.


python 3.8 or above

It seems that I cannot install scispacy if I am running a M1 Mac machine if I want to benefit the the native version of python.
Is there any resolve to this issue?
I am using miniforge to set up my environment.

What is the issue? Are you able to install spacy on your machine?


Allow Domain Controllers to contact WSUS Server and Kaseya

Allow Domain Controllers to contact WSUS Server and Kaseya

Looks good to me for the first part of your request.


Hologram Navigation Gesture gaze issue

Using the InputManager prefab from the HoloToolkit and this code:
    [Tooltip("Rotation max speed controls amount of rotation.")]
    public float RotationSensitivity = 2.0f;

    private float rotationFactor, rotationFactor2;

    public void OnNavigationStarted(NavigationEventData eventData)
    {
        Debug.Log("Navigation is started");
    }
    public void OnNavigationUpdated(NavigationEventData eventData)
    {
        rotationFactor = eventData.CumulativeDelta.x * RotationSensitivity;

        rotationFactor2 = eventData.CumulativeDelta.y * RotationSensitivity;

        if (System.Math.Abs(eventData.CumulativeDelta.x) > System.Math.Abs(eventData.CumulativeDelta.y))
        {
            transform.Rotate(new Vector3(0, -1 * rotationFactor, 0));
        }
        else
        {
            transform.Rotate(new Vector3(-1 * rotationFactor2, 0, 0));

            //if this control structure doesnt work, try setting the other value to zero instead
        }

        Debug.Log("event X: " + eventData.CumulativeDelta.x);
        Debug.Log("event Y: " + eventData.CumulativeDelta.y);

    }
    public void OnNavigationCompleted(NavigationEventData eventData)
    {
        Debug.Log("Navigation is completed");
    }
    public void OnNavigationCanceled(NavigationEventData eventData)
    {
        Debug.Log("Navigation is canceled");
    }

The user can tap and hold and move their hand left or right (x-plane) to rotate along the Y axis and up and down (y-plane) to rotate the object on the X axis.
However there appears to be a bug. If the users gaze comes off the object, the rotation stops immediately until the users gaze returns to the object. Is this the intended functionality? Is there a way to preserve the current object being changed via the navigation gesture and allow it to continue being manipulated until the users hand leaves the FOV or releases the tap and hold?

See https://github.com/Microsoft/HoloToolkit-Unity/issues/709

You need to add your object to the modal stack and pop it off when you're done with it.

@StephenHodgson Would you care to elaborate? I've not implemented a stack anywhere.

Take a look at HandsDraggable for similar implementation.
Here
Here

Ok. Clear the stack on Navigation started, InputManager.Instance.ClearModalInputStack();, the push it onto the stack, InputManager.Instance.PushModalInputHandler(gameObject); and on navigation completed or canceled pop it,  InputManager.Instance.PopModalInputHandler();

Would this be done in a pre-existing script already attached to the InputManager prefab, such as GestureInput, or on my own implementation script?

In your own implementation.


Only store angle within hit objects

[x] Depends on #102

Removes EndPosition in favor of rotating the entire hitobject, which will generate the same result and is easier to process mentally.
Also added the following extension, which replaces existing cases of generating a position from an angle.
public static Vector2 GetCircularPosition(float distance, float angle)
{
    return new Vector2(-(distance * (float)Math.Cos((angle + 90f) * (float)(Math.PI / 180))), -(distance * (float)Math.Sin((angle + 90f) * (float)(Math.PI / 180))));
}

Same goes for this one.


tests on AppVeyor failing

[ ] Fix yapf missing from l2tbinaries
[x] Fix TLS issue - https://ci.appveyor.com/project/joachimmetz/artifacts/build/103#L11

TLS issue fixed in https://github.com/ForensicArtifacts/artifacts/commit/0c23f306b890a03325359d18f1903c1dbeaa407a


add javascript quiz preventDefaut in javascript-quiz.ts

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Also, in the future make sure to not include the Closes #14  in future PR's.
Some of the issues have instructions to not close the issue so we want to keep it open for multiple people to contribute to 👍


[SQL Lab] Re-add erroneously removed css

CATEGORY
Choose one

[x] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY
https://github.com/apache/incubator-superset/pull/8563 removed some assumed dead css, but it's actually still being used to style the gripper for resizing the sql editor and closing the side pane. This PR readds it.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:

After:

TEST PLAN
ensure you can resize the sql editor and open and close the side pane
ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS
@rusackas @graceguo-supercat @nytai

Codecov Report

Merging #8707 into master will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8707      +/-   ##
==========================================
+ Coverage   65.51%   65.55%   +0.04%
==========================================
  Files         481      481
  Lines       24081    24081
  Branches     2763     2763
==========================================
+ Hits        15776    15786      +10
+ Misses       8125     8115      -10
  Partials      180      180

Impacted Files
Coverage Δ

superset/db_engine_specs/postgres.py
83.33% <0%> (+27.77%)
:arrow_up:

Continue to review full report at Codecov.

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


Crash when opening PowerToys "Settings"

Microsoft PowerToys version
0.75.1
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
General
Steps to reproduce
Right click on PowerToys in system tray and select "Settings" or Right click on PowerToys in start menu and select "Run as Administrator"
✔ Expected Behavior
Application opens and displays UI
❌ Actual Behavior
Application window opens to a blank black window, hangs for <2 seconds and then closes. Fancy zones continues working and PowerToys system tray icon remains.
Faulting module reported by Event viewer is "KERNALBASE.DLL"
Reproducible on two different machines, both Windows 10 Pro 22H2.
PowerToysReport_2023-11-27-12-06-33.zip
PowerToys-Crash-2023.11.27.zip
Other Software
No response

I am also seeing this behavior on Windows 11 Enterprise 22H2. I installed via Winget, version <IP_ADDRESS> (displays on the Start menu as "PowerToys (Preview)") and I had not previously installed any version of PowerToys on this machine.

Seeing the same issue myself.  Black/blank window for a second or two and then it closes.
Computer details, fwtw:


KAFKA-15665: Enforce partition reassignment should complete when all target replicas are in ISR

When completing the partition reassignment, the new ISR should have all the target replicas.
https://issues.apache.org/jira/browse/KAFKA-15665

@splett2 @jolshan @artemlivshits @cmccabe With the discussion the the previous PR, I changed the logic to enforce to include all the target replicas in the ISR.

testIOExceptionDuringCheckpoint failure is irrelevant to the PR.

I will wait a day or to see if @cmccabe has any comments. If not I will merge. 👍


Round edge tabs

Just installed the theme and for some reason my tabs are not rounded as I saw in the preview screenshot!

It's because you're in compact mode. Use normal or touch to have the rounded corners. Closing this now! :)


Problem with install from Extension Marketplace

I am getting:
Failed to install 'redvanworkshop.explorer-exclude-vscode-extension'.
I am on the newest VSCode version / Mac

@ianizaguirre can you let me know which method you used to install this extension?
I have installed the extension on a new MacOS machine running the latest version of Mojave & VS Code using two methods, each worked without issue:

Using VS Code Marketplace Website
Installing via VS Code's Extension Search

If you can, would you mind trying to install this file directly?

Download explorer-exclude-vscode-extension-1.1.0.vsix.zip
Extract Zip file so you have a vsix file
In VS Code open the Extensions List
In the top left, next to EXTENSIONS, click the three dots ... to open the Extensions Menu
Select Install from VSIX... and select the explorer-exclude-vscode-extension-1.1.0.vsix file

Greetings @ianizaguirre, just checking in to see if you were able to resolve this issue, or if you were able to try the method I mentioned above.  If you were able to get this working, we can close out this ticket, if not, I would love to help get you sorted :)

Thanks for getting back to me. I did the steps you listed for VSIX and I got the following message:
Unable to install Extension 'redvanworkshop.explorer-exclude-vscode-extension-1.1.0' as it is not compatible with Code '1.26.0'.

@ianizaguirre ah, that would be the issue.  You are using an old version of VS Code.  This extension requires 1.32.0+.  Really odd that VS Code would even show you this extension as an option to install as it is listed in the package build which version of VS Code this supports ( unless you just downloaded it manually from their website ):
https://github.com/redvanworkshop/explorer-exclude-vscode-extension/blob/master/package.json#L25
BTW, the current version of VS Code is 1.35.1, if you are able, you can update your version of VS Code, and then this extension will work for you just fine :)
Going to close out this ticket since the issue is that the version of VS code is just not supported.


Add a tab that will list every issues that on the osscameroon github organisation

We need to add a new tab that will list every Issues available on the osscameroon GitHub organisation.
The Issues tagged with a Yotas label should be listed at the top of the list and ordered from the lowest number of Yotas to the higher at the bottom.

I guess for this we need to go through the GitHub API. Do we already have an OSS Cameroon oAuth app that has access to the API or this is the first time the access will be configured?

I guess for this we need to go through the GitHub API. Do we already have an OSS Cameroon oAuth app that has access to the API or this is the first time the access will be configured?

You won't need it anymore as I have created a GitHub Action that creates a file with the osscameroon issues for you, now you probably would like to read the content of this file and display it on the web UI.
If you are curious here are the PRs (#19  and #20) that did the job, hope this helps. 🙇♂

Closing as it is resolved by #21


[MB-9029] review billable weights side bar navigation

Description
This PR added test to cover navigating in the review weight sidebar.
Reviewer Notes

Though this PR doesn't change any implementation of navigating the sidebar, to review this PR please verify that navigating the sidebar works and acts as expected
All navigation one the review weights sidebar should be working at this time

Setup
make server_run client_run

Login as a TIO.
Click on any shipment, the move code MULTRW is an example of a move with multiple shipments
Click on the payment requests tab.
Click on the review weights button.
That button should take you to the new page and should contain a document viewer and review weights sidebar.
Clicking "Review shipment weights" should display the review weights components in the side bar (the weight summary and the shipment card. The title of the sidebar should include text such as "Shipment 1 of 3" and this text should update as you click through subsequent shipments (if the move has more than one)
Clicking back will display the previous shipment and if there are none, clicking back will display the Edit billable weight components on the sidebar
Clicking X from the sidebar will take you back the the payment request tab

References

Jira story for this change

Screenshots

Messages

:book:
:link: MB-9029

  Generated by :no_entry_sign: dangerJS against 3b69a069416376fe89a281202d0232c38afddea9


Have a bot backporting automatically bugfixes.

Describe the feature and the current behavior/state.
Currently we have to backport bugfixes by hand. This is fine now, but as the repository is growing, it'll become more and more painful.
Relevant information

Are you willing to contribute it (yes/no): yes
Are you willing to maintain it going forward? (yes/no): yes
Is there a relevant academic paper? (if so, where): no
Is there already an implementation in another framework? (if so, where): yes (CPython, Ipython)
Was it part of tf.contrib? (if so, where): no

Which API type would this fall under (layer, metric, optimizer, etc.)
no API
Who will benefit with this feature?
Maintainers who review PRs.
Any other info.
The tools we want exactly is this one: https://github.com/python/miss-islington
I don't know how hard it is to use it for tensorflow/addons. I have a bot if it can help: @bot-of-gabrieldemarmiesse
CPython makes heavy use of this bot. I think it's a good idea to rely on it because we can expect them to maintain it for a very very long time to come.
Somebody needs to steal it!
or
If we could use a tool running with github actions that would be better though because we wouldn't need an instance running in the cloud to run the bot like they do (they use heroku). But we have to choose one which will open a pull request and not directly merge the bugfix. Some that I spotted:
https://github.com/qcastel/github-actions-backport
https://github.com/marketplace/actions/backport-bot
https://github.com/marketplace/actions/backporting
https://github.com/marketplace/actions/backport-commit

This sounds great! I have no preference for either option. Will defer to the preference of whomever sets it up.


Use storage transaction when running with proof recorder

This will enable parachains to re-import a block without re-executing it.
Fixes: https://github.com/paritytech/substrate/issues/4455

Wouldn't it prevent the proof recorder from recording the storage root calculation?

Wouldn't it prevent the proof recorder from recording the storage root calculation?

No. The transaction cache is just for collecting the "transaction" that is created as result of storage::root(), so we don't need to re-execute the block before importing it on the collator.


GUI Doesn't Work.

Hello!  My GUI on my server doesn't work all of a sudden.    So basically players can take things out of the GUI and the GUI just resets itself.  Why is this Happening.  Thanks!
P.S.  I am having trouble with AuctionHouse too but I contacted that author too.  I posted this on Spigot forums and they told me to contact the authors.

It's probably another of your plugins if other plugins are dying. Also is it AuctionHouse or CrazyAuctions :3

AuctionHouse.  As I said.

Well then probably ur own fault or config error

Well first of all, I asked for help.  Second of all, I asked for Crazy Enchantments help.  You don't need to be blaming me for config errors in something I dont need your opinion with.

If you can talk stuff out of the /ce GUI there should be an error in console. If so please pastebin the error and send me the link. Also what version is your plugin and your server Example: "Spigot 1.8.8"

Spigot 1.9.4.  Version <IP_ADDRESS>
Can you also tell me if the enchants are disabled for the latest update?

http://pastebin.com/gV16PEjD
I noticed the link I pasted above didn't work.  Here is another.

This is not an error log of my plugin. I also assume you figured it out or you moved on. But if you still have a problem please make a new issue.


Choose one value of symbols, characters & words to display in Signature NFTs

Our contract works with word indices, and our p5.js script works with characters.
We have a limit of 505 characters that the script will render given the space on the image + the fontSize.
We stop animating at 400 characters though - @Malayvasa will you confirm whether we stop displaying symbols after 400 characters too?
I will likely update the contract to accept character indices rather than words, as that seems to be the easiest and most effective fix for potential errors here.
My suggestion is that we limit highlights to 505 characters and enforce this on the frontend too.

Partially handled in #64 - still requires a frontend check though.


accord package missing on https://conda.anaconda.org/aeadmin/linux-64

tried to install using conda install -c aeadmin accord -y and not able to find this package into channel https://conda.anaconda.org/aeadmin/linux-64
conda search -c aeadmin accord=>0.1.0

PackagesNotFoundError: The following packages are not available from current channels:

  - accord

Current channels:

  - https://conda.anaconda.org/aeadmin/linux-64
  - https://conda.anaconda.org/aeadmin/noarch
  - https://repo.anaconda.com/pkgs/main/linux-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/linux-64
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/linux-64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

https://anaconda.org/aeadmin/repo/
has only :

ae_preflight

https://anaconda.org/ae5-admin/accord is the new repo


create container failed for a Ready sandbox

Create container failed for a Ready sandbox when use nydus. The error message is:
FATA[0001] creating container: rpc error: code = Unknown desc = failed to create containerd container: failed to wait shared daemon: wait until daemon ready by checking status: failed to check status: failed to create new nydus client: failed to build transport for nydus client: stat /media/disk1/containerd/io.containerd.snapshotter.v1.nydus/socket/shared_daemon/api.sock: no such file or directory: unknown

And the containerd-nydus-grpc log print
INFO[2022-09-16T17:52:25.662572514+08:00] prepare remote snapshot mountpoint /media/disk1/containerd/io.containerd.snapshotter.v1.nydus/snapshots/2/fs
WARN[2022-09-16T17:52:25.662591983+08:00] daemon daemon_id=shared_daemon is not found
WARN[2022-09-16T17:52:25.662731917+08:00] daemon daemon_id=shared_daemon is not found
INFO[2022-09-16T17:52:25.663951747+08:00] start nydus daemon: /usr/bin/nydusd fuse --mountpoint /media/disk1/containerd/io.containerd.snapshotter.v1.nydus/mnt --apisock /media/disk1/containerd/io.containerd.snapshotter.v1.nydus/socket/shared_daemon/api.sock --log-level info
error: Found argument 'fuse' which wasn't expected, or isn't valid in this context

USAGE:
    nydusd [FLAGS] [OPTIONS] --mountpoint <mountpoint>

For more information try --help

The related yaml file is:
nydus-sandbox.yaml
metadata:
  attempt: 1
  name: nydus-sandbox-1
  namespace: default
log_directory: /tmp
linux:
  security_context:
    namespace_options:
      network: 2
annotations:
  "io.containerd.osfeature": "nydus.remoteimage.v1"

nydus-container.yaml
metadata:
  name: nydus-container
image:
  image: cloud-native-sig-registry.cn-hangzhou.cr.aliyuncs.com/openanolis/anolisos:8.6-x86_64-nydus
command:
  - /bin/sleep
args:
  - 600
log_path: container.1.log

crictl pull cloud-native-sig-registry.cn-hangzhou.cr.aliyuncs.com/openanolis/anolisos:8.6-x86_64-nydus
pod=`crictl runp nydus-sandbox.yaml`
container=`crictl create $pod nydus-container.yaml nydus-sandbox.yaml`
crictl start $container
crictl ps

The nydus version infomation is:
nydus-static-v2.1.0-rc.2-linux-arm64.tgz
containerd-nydus-grpc is build myself.

What commit version of containerd-nydus-grpc did you build on?

Could you please help to share the output of:
/usr/bin/nydusd -h
/usr/bin/nydusd --version

What commit version of containerd-nydus-grpc did you build on?

The latest commit 0f88fb6a4f190c01bab42aba2bd47aca784546c2

Could you please help to share the output of: /usr/bin/nydusd -h /usr/bin/nydusd --version

/usr/bin/nydusd -h
Version: 	2.0.0
Git Commit: 	1c0598e87dab207286c31ab4cab3025092cc3634
Build Time: 	Mon, 16 May 2022 11:09:11 +0000
Profile: 	release
Rustc: 		rustc 1.52.1 (9bc8c42bb 2021-05-09)

/usr/bin/nydusd --version
Version: 	2.0.0
Git Commit: 	1c0598e87dab207286c31ab4cab3025092cc3634
Build Time: 	Mon, 16 May 2022 11:09:11 +0000
Profile: 	release
Rustc: 		rustc 1.52.1 (9bc8c42bb 2021-05-09)

Could you please help to share the output of: /usr/bin/nydusd -h /usr/bin/nydusd --version

/usr/bin/nydusd -h
Version: 	2.0.0
Git Commit: 	1c0598e87dab207286c31ab4cab3025092cc3634
Build Time: 	Mon, 16 May 2022 11:09:11 +0000
Profile: 	release
Rustc: 		rustc 1.52.1 (9bc8c42bb 2021-05-09)

/usr/bin/nydusd --version
Version: 	2.0.0
Git Commit: 	1c0598e87dab207286c31ab4cab3025092cc3634
Build Time: 	Mon, 16 May 2022 11:09:11 +0000
Profile: 	release
Rustc: 		rustc 1.52.1 (9bc8c42bb 2021-05-09)

Sorry，My new nydusd binary is not update to right position.

When the nydusd and containerd-nydus-grpc version matched, the new problem for create container is failed with message
FATA[0022] creating container: rpc error: code = Unknown desc = failed to create containerd container: mount callback failed on /media/disk1/containerd/tmpmounts/containerd-mount3115484442: read /media/disk1/containerd/tmpmounts/containerd-mount3115484442/etc/passwd: input/output error

And containerd-nydus-grpc print a lot of error as follows:
[2022-09-16 20:54:14.087893 +08:00] ERROR [error/src/error.rs:21] Error:
	Registry(Request(Common(reqwest::Error { kind: Request, url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("cloud-native-sig-registry.cn-hangzhou.cr.aliyuncs.com")), port: None, path: "/v2/openanolis/anolisos/blobs/sha256:e34b5aee08b12b319ab1c89b52d9c6cbc929acc5f20154eac9c21f984ad72eb1", query: None, fragment: None }, source: TimedOut })))
	at storage/src/cache/mod.rs:207
	note: enable `RUST_BACKTRACE=1` env to display a backtrace

Could you please help to change the communication protocol from "http" to "https"? Maybe your registry only accept https connections.

Could you please help to change the communication protocol from "http" to "https"? Maybe your registry only accept https connections.

Now, my /etc/nydusd-config.json is updated to
{
  "device": {
    "backend": {
      "type": "registry",
      "config": {
        "scheme": "https",
        "timeout": 5,
        "connect_timeout": 5,
        "retry_limit": 0
      }
    },
    "cache": {
      "type": "blobcache",
      "config": {
        "work_dir": "/cache"
      }
    }
  },
  "mode": "direct",
  "digest_validate": false,
  "iostats_files": true,
  "enable_xattr": true,
  "fs_prefetch": {
    "enable": true,
    "threads_count": 4
  }
}

After restart containerd and containerd-nydus-grpc, the same problem still exist.

@zvier Some configuration is saved to disk once pulled the image, so please try to clean up the nydus snapshot directory first.

@zvier Some configuration is saved to disk once pulled the image, so please try to clean up the nydus snapshot directory first.

Thanks, the test case passed after the nydus snapshot  clean up.


FI-2031: Integrate SMART App Launch Test Kit update

This branch updates the g10 suite to accomodate the new inputs included in the SMART App Launch Test Kit 0.3.0 release.

For SMART App Launch 1 & 2:

A client secret was not required for the EHR Launch with Patient Scopes. This seems like an oversight, and it is now required to match all of the other groups (except public launch)

For SMART App Launch 2 only:

Locked Client Authentication Type and Client Authentication Encryption Method inputs will be present on most SMART launch groups. The Invalid Token Request and Invalid PKCE Code Verifier groups are the exception and their inputs should appear unchanged.

Systems using the JSON API to run the g10 tests will need to update their API calls to include the new Client Auth Type & Encryption Method inputs if they using SMART App Launch 2. Presets should not need to be updated. The new inputs which need to be added are:
    {
      "name": "client_auth_type",
      "value": "confidential_symmetric",
    },
    {
      "name": "client_auth_encryption_method",
      "value": "ES384",
    },
    {
      "name": "public_client_auth_type",
      "value": "public",
    },

That locked input for the "Client Authentication Encryption Method" in smart v2 technically should be 'N/A', right?  (I know we can't do it, but in a perfect world it wouldn't be shown at all or have n/a. I just wonder if people might read into that incorrectly, like they are missing something by not using ES384 for symmetric authentication.
Could you update the description for that input in that specific case to show below such that it says "Only applicable
for Confidential Asymmetric client authentication"

Question 2: Is there a reason why Authorization Method is not locked in the limited access test in smart v2?  The description implies that it should be locked.  "All other inputs are locked to ensure the same app configuration as in the Standalone Patient App - Full Access test."


Add 3 more to the list

Authenticators
Aegis -
Image editors
Darktable
VPN
Wireguard
Originally posted by @IronSim in https://github.com/geraldohomero/best-foss-alternatives/discussions/45

#47


*: add license header

The appc code is licensed under Apache 2.0; add an appropriate header to
every source file.

ping?

LGTM

LGTM


Unable to initialize scran.js, probably missing something!

The simplest possible test program seems to fail for me (both on OS X — and x86 Mac — and on linux).  I tired the script below:
import * as scran from "scran.js"
await scran.initialize({ numberOfThreads: 4 })

with package.json:
{
  "type": "module",
  "dependencies": {
    "scran.js": "^2.0.3"
  }
}

and on both platforms I get the following (absurdly long) error:

It looks like it prints line 15 of scran.js and then provides the above backtrace.  Any ideas what is going wrong?
Thanks!
Rob

What's your version of Node? On older versions, you'll need a stack of flags; I don't remember them all, but it's something like:
    --experimental-wasm-threads
    --experimental-wasm-bulk-memory
    --experimental-wasm-bigint

Old Nodes also need:
await scran.initialize({ numberOfThreads: 4, localFile: true })

because they don't know how to handle file:// URIs.
Finally, you'll need to add a await scran.terminate(); if you want the program to actually end, as Node doesn't want to shut down while there's still workers spinning around. This should be fixed in the latest version of Emscripten but we haven't updated to the latest toolchain yet.
So, in total, the following works for me on Node.js v16.19.1:
import * as scran from "scran.js"
await scran.initialize({ numberOfThreads: 4, localFile: true })
await scran.terminate();

This is Node 19.02.  Is that too new?

I am on the new version of node (19.6.1) and I had to enable these flags
⋊> ~/P/p/k/rob_test node --experimental-wasm-modules --no-experimental-fetch --experimental-wasm-threads --experimental-modules  index.js

and my index.js
import * as scran from "scran.js";
await scran.initialize({ numberOfThreads: 4, localFile: true });
console.log("i can load");
await scran.terminate()

every time node updates, we need to figure out the new set of flags to enable these cutting edge "experimental" features :)

Hi @jkanche,
Thanks; it works with the flags you provide! By the way, with Node 19, is there a reason we still need to provide localFile: true (it doesn't seem to work without this).
Thanks!
Rob

i believe we still need to have this patch in our code.
It still seems to be a problem even though emscripten seems to fix it.  - https://github.com/emscripten-core/emscripten/issues/10434.


fish: fix hidden dependency on ul(1) on Linux

This is used in __fish_print_help, which is used for displaying all the
online documentation in fish.

What is the __fish_print_help command supposed to do ? I'm getting some sort of noop:
$ nix-shell -p fish -p utillinuxCurses --pure --run fish
> __fish_print_help
>

@zimbatm It's used internally to print help messages for fish builtins. Compare __fish_print_help echo and echo -h.

Ok I can reproduce the issue now. Can you just use substituteInPlace instead of sed ? After a bit of testing this could be merged quite quickly.

@zimbatm How's this?

@nathan7 almost, it looks like utillinuxCurses has been renamed to utillinux

It looks like __fish_print_users depends on /usr/bin/getent if you want to fix that as well

$ cd /nix/store/5shwcd178vdmsbl1xgrvwj57m2myja6g-fish-2.2.0/share && grep -r /bin/ . | grep -v /nix/store
./fish/completions/netcat.fish:complete -r -c nc -s c -d "Same as -e, but use /bin/sh"
./fish/completions/duply.fish:complete --command duply --no-files --condition '__fish_is_first_token' --arguments '(/bin/ls /etc/duply ^/dev/null) (/bin/ls ~/.duply ^/dev/null)' --description 'Profile'
./fish/completions/xrdb.fish:complete -c xrdb -o cpp -r           -d 'preprocessor to use [/usr/bin/mcpp]'
./fish/functions/__fish_complete_users.fish:	if test -x /usr/bin/getent
./fish/functions/__fish_print_users.fish:	if test -x /usr/bin/getent
./fish/functions/__fish_print_users.fish:	else if test -x /usr/bin/dscl # OS X support
./fish/functions/__fish_complete_groups.fish:	if test -x /usr/bin/getent
./fish/functions/help.fish:	# OS X /usr/bin/open swallows fragments (anchors), so use osascript
./fish/functions/__fish_config_interactive.fish:				/usr/bin/command-not-found $argv[1]
./fish/functions/__fish_config_interactive.fish:		else if test -f /run/current-system/sw/bin/command-not-found
./fish/functions/__fish_config_interactive.fish:				/run/current-system/sw/bin/command-not-found $argv
./fish/functions/__fish_print_hostnames.fish:	if test -x /usr/bin/getent

@zimbatm Done, and done!

perfect, thanks


Acl: Customizable roles and permissions

What we have:

One big acl for the whole application, where everything is put into:

Route access rules
Controller/action access rules
Resource (Entity) access rules
Special assertions (which are instantiated at ACL creation)

Entity Permissions hardcoded:

View
Change

hardcoded employee permissions:

EmployeePermissionsInterface (Line 30-36)
a whole lot of programmatic logic in Permissions entities and custom assertions to be able to check the acl for employee permissions.

What we want:

Flexible permissions, customizable by an admin for the whole YAWIK installation

including custom roles.

Permissions on the organization level, customizable by the owner of the organization (and eventually by an additional organization admin)

including custom roles (for employees)
and custom job states

Please add your thoughts and ideas.

To reduce the instantiation of unnecessary rules and assertions we could use dedicated acl instances which are retrieved from the service manager (or a dedicated plugin manager) when needed.
eg. One ACL for route related rules and one acl for controller access rules.
in addtion we could provide the possibility to lazy load assertions.
To make roles and rules customizable we need to provide a mechanism to store acl configuration in the database. (via special entities). This could be in a central collection or in a collection provided by the module which provide these custom rules/roles.
Of course, factory boilerplates for creating acls from database should be provided from the ACL module.
Additionally maybe an event driven approach to extend/manipulate the creation of acls could be implemented.
To customize permissions we could provide a permissions entites which is capable to store the permissions names (along with order priorities, when needed). We need a mechanism to build a form based on this entity for the UI.


Features from version 1 I can't do work on version 2

I can't do some stuff that I can do without problems with version 1. These features are:

Make tooltips always visible doing this "on animation complete" -> this.showTooltip(this.datasets[0].bars, true);
Set tooltips background to rgba(0, 0, 0, 0) to make them transparent (I think you transform the rgba codes to hex ones in some part of the script) [I have changed the library code to be able to do this]
Modify the bars width modifying the value of the space between them

I see this is from a while ago. I'm not sure about the first two (although if you fixed the second one by all means make a pull request) however the third one might be achievable.

Modify the bars width modifying the value of the space between them

Is this satisfied with the scales' xAxes options categoryPercentage and barPercentage. Also check the new v2 docs.
Example:
Chart.Bar(ctx, {
    data: chartData,
    options: {
        responsive: true,
        scales: {
            xAxes: [{
                categoryPercentage: 0.9,
                barPercentage: 1.0
            }]
        }
    }
});

Fixed tooltips background opacity in #2057

Closing, the final bit of this is in. #2264 adds a sample showing how to label the bars


Remove Board inline queries support from client and deprecate board queries' 'dataset'

Codecov Report

Merging #203 (18feae1) into main (88e1b0d) will decrease coverage by 1.79%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #203      +/-   ##
==========================================
- Coverage   84.66%   82.86%   -1.80%
==========================================
  Files          38       38
  Lines        2934     2936       +2
==========================================
- Hits         2484     2433      -51
- Misses        357      410      +53
  Partials       93       93

Impacted Files
Coverage Δ

client/board.go
81.81% <ø> (ø)

honeycombio/resource_board.go
81.08% <100.00%> (+0.25%)
:arrow_up:

client/query_spec.go
0.00% <0.00%> (-92.99%)
:arrow_down:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


endpoint: do not regenerate policy when updating configuration

WIP - This is based on #5409, #5324.

This change is

test-me-please

test-me-please

Hit NodePort test failure (#5384 ).
Build link:
Output:
04:37:16 K8sServicesTest
04:37:16 /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:344
04:37:16   Checks service across nodes
04:37:16   /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:344
04:37:16     Tests NodePort [It]
04:37:16     /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:376
04:37:16
04:37:16     Pod "testclient-ckpcw" can not connect to service "http://<IP_ADDRESS>:10080"
04:37:16     Expected command: kubectl exec -n default testclient-ckpcw -- curl -s -D /dev/stderr --fail --connect-timeout 3 --max-time 8 http://<IP_ADDRESS>:10080 -w "time-> DNS: '%{time_namelookup}(%{remote_ip})', Connect: '%{time_connect}',Transfer '%{time_starttransfer}', total '%{time_total}'"
04:37:16     To succeed, but it failed:
04:37:16     Exitcode: 28
04:37:16     Stdout:
04:37:16      	 time-> DNS: '0.000020()', Connect: '0.000000',Transfer '0.000000', total '3.001346'
04:37:16     Stderr:
04:37:16      	 command terminated with exit code 28
04:37:16
04:37:16
04:37:16
04:37:16     /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/src/github.com/cilium/cilium/test/k8sT/Services.go:187

Logs:
b083b5fd_K8sServicesTest_Checks_service_across_nodes_Tests_NodePort.zip
I will look into this as part of my debugging of the NodePort issue, but I don't believe that this is due to my changes, which aren't related to NodePort whatsoever.

test-me-please


get rid of control flows in parse input

Codecov Report
Attention: Patch coverage is 93.75000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 28.43%. Comparing base (757be58) to head (6cbe1b3).
Report is 15 commits behind head on main.

Files
Patch %
Lines

src/scope/io.py
93.75%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
+ Coverage   26.92%   28.43%   +1.50%
==========================================
  Files          11       11
  Lines         780      795      +15
==========================================
+ Hits          210      226      +16
+ Misses        570      569       -1

Flag
Coverage Δ

unittests
28.43% <93.75%> (+1.50%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Localize ordinal numbers for days of the month

Investigate using libicucore (http://icu-project.org/apiref/icu4c/upluralrules_8h.html)

icucore is not available on iOS unless you statically link it into the app binary.


Service binding to Event Streams service stuck in pending state

Here is our service binding yaml:
apiVersion: ibmcloud.ibm.com/v1
kind: Service
metadata:
    name: {{.Values.eventstreams_service_name}}
    namespace: {{ .Release.Namespace }}
spec:
    serviceClass: messagehub
    plan: Alias

---

apiVersion: ibmcloud.ibm.com/v1
kind: Binding
metadata:
  name: {{ .Release.Namespace }}-eventstreams-creds
  annotations:
    ibmcloud.ibm.com/keyId: {{ .Values.eventstreams_credential_keyId }}
spec:
  serviceName: {{.Values.eventstreams_service_name}}
  alias: {{.Values.eventstreams_credential_name}}

The service alias is created Online but the binding is stuck in Pending state. Please see attached logs which describe them
describe-service.txt
describe-binding.txt
Logged an Event Streams support ticket earlier and they confirmed the binding request went through ok (https://cloud.ibm.com/unifiedsupport/cases?accountId=5132b2ea1d0ea6894b7fbcb76d370e7d&number=CS2317066)
Any suggestions? Are there any logs generated by the ibmcloud operator that can help debug this? Thanks in advance.

BTW, we have similar service binding to Elastic Search service which is working fine.
apiVersion: ibmcloud.ibm.com/v1
kind: Service
metadata:
[describe-service-elastic.txt](https://github.com/IBM/cloud-operators/files/6541333/describe-service-elastic.txt)
[describe-binding-elastic.txt](https://github.com/IBM/cloud-operators/files/6541336/describe-binding-elastic.txt)

    name: {{.Values.elasticsearch_service_name}}
    namespace: {{ .Release.Namespace }}
spec:
    serviceClass: databases-for-elasticsearch
    plan: Alias

---

apiVersion: ibmcloud.ibm.com/v1
kind: Binding
metadata:
  name: {{ .Release.Namespace }}-es-creds
  annotations:
    ibmcloud.ibm.com/keyId: {{ .Values.elasticsearch_credential_keyId }}
spec:
  serviceName: {{.Values.elasticsearch_service_name}}
  alias: {{.Values.elasticsearch_credential_name}}

Attached are the ibmcloud operator pod logs.
op-manager.txt
021-05-25T19:28:35.992Z	INFO	controllers.Binding	ibmcloud/ibmcloud.go:83	Context	{"binding": "ca-sci-shig/ca-sci-shig-eventstreams-creds", "is"<EMAIL_ADDRESS>2021-05-25T19:28:36.732Z	INFO	controllers.Binding	controllers/binding_controller.go:286	ServiceInstance Key	{"binding": "ca-sci-shig/ca-sci-shig-eventstreams-creds", "User"<EMAIL_ADDRESS>"should already exist, verifying": "ca-sci-shig-eventstreams-creds"}
2021-05-25T19:28:36.732Z	INFO	controllers.Binding	controllers/binding_controller.go:422	Getting	{"binding": "ca-sci-shig/ca-sci-shig-eventstreams-creds", "User"<EMAIL_ADDRESS>" alias credentials": "ca-sci-shig-eventstreams-creds"}
2021-05-25T19:28:37.433Z	INFO	controllers.Binding	controllers/binding_controller.go:565	Deleting 	{"secret": ""}
2021-05-25T19:28:37.512Z	INFO	controllers.Binding	ibmcloud/ibmcloud.go:83	Context	{"binding": "ca-sci-shig/ca-sci-shig-eventstreams-creds", "is"<EMAIL_ADDRESS>2021-05-25T19:28:38.328Z	INFO	controllers.Binding	controllers/binding_controller.go:422	Getting	{"binding": "ca-sci-shig/ca-sci-shig-eventstreams-creds", "User"<EMAIL_ADDRESS>" alias credentials": "ca-sci-shig-eventstreams-creds"}
2021-05-25T19:28:38.692Z	INFO	controllers.Binding	controllers/binding_controller.go:259	Error retrieving alias credentials	{"binding": "ca-sci-shig/ca-sci-shig-eventstreams-creds", "User"<EMAIL_ADDRESS>"ca-sci-shig-eventstreams-creds": "Not Found"}
2021-05-25T19:28:38.711Z	INFO	controllers.Binding	controllers/binding_controller.go:381	Not Found

The root cause was the service-id used to install/run ICO did not have Access Policies to the Event Streams IAM-enabled service.


Issue 27

Converts all user-management over to use rabbitmq-admin.

Whoops, merged #31 into this...


Rotating of blocks (issue with RailDirection)

Hello! In my project, I needed to rotate some objects from blocks, that is, what the //rotate command of WorldEdit does, too. I have already found a way to transform the coordinates of blocks, however, some blocks have their own rotation (for example, a furnace or rails). Some blocks can be rotated right now, some can only be in API 8 (1.14), and some have problems.
Here is a small list of data that needs to be changed for the blocks that have them in order to rotate structures correctly (if I forgot something, please remind):

AxisData - there are no problems.
ConnectedDirectionData - here too. The Direction class is very well designed.
DirectionalData - obviously everything is okay too.
LogAxisData - logs can be rotated using Axis in API 8, although it would be nice to add a method Optional<Axis> LogAxis#toAxis() and LogAxis#fromAxis(Axis axis) to API 7.
RailDirectionData - and here there are problems. The RailDirection class does not have any useful methods. Transforming of this data is not possible. There is an option to write own conversion code, but it will turn out to be very cumbersome and not beautiful.
WireAttachmentData - I think there will be no problems.

As you can see the main problems with RailDirection... Will it be possible to somehow improve this class in API 8 or maybe even in API 7?

I have a suggestion on how to do this:
public interface RailDirection extends CatalogType, Cycleable<RailDirection> {
    Optional<Direction> getAscendingDirection();

    default boolean isAscending() {
        return getAscendingDirection().isPresent();
    }

    Direction getBeginDirection();

    Direction getEndDirection();
}

With the help of these getters, I will be able to carry out transformation (transformation of directions obtained through these methods). And to convert transformed directions back to RailDirection, I can simply iterate over all registered constants of this type, and using the same getters, find the desired constant.
It is only necessary to think that there is a beginning and an end of rails. I think it can be viewed clockwise or counterclockwise.
Unfortunately I can’t create a PR, because I am having difficulty setting up Sponge projects in Eclipse (mainly due to Mixin and Gradle). I ask to help with this in order to include these changes to API 8. I think it will be very simple to implement this interface.

I think in implementation there were problems with modifying rails direction when there's adjacent rails in 1.12 and below: SpongePowered/SpongeCommon#612 . 1.13+ may be fixed this issue, I'm not sure.

@VcSaJen The fact that rails are distorted during transformations already suggests that this data is by no means ignored, and this is good. The PR allows me to manually set directions for rails in accordance with a transformation, as I do it with other blocks, and it works, I personally tested.


Add simple ci

I still think you need at least a basic CI ;)
Linked with: #137

No clue. Let us know when it works.

It already works, it is up to you to edit repository settings.

My repo settings:

It is possible, that due to safety reasons the first commit with workflow is not launched in PR. You can merge this PR now, and then it should launch on master branch and you will get this green checkmark

Ok, let's see....

Hi @The1only, I will need access to the settings page to setup CI.

On itBest regardTerje Nilsen9Tek ASNorwayOn 30 Mar 2023, at 16:55, Christopher Pereira @.***> wrote:
Hi @The1only, I will need access to the settings page to setup CI.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Any idea How to give you that?Best regardTerje Nilsen9Tek ASNorwayOn 30 Mar 2023, at 16:55, Christopher Pereira @.***> wrote:
Hi @The1only, I will need access to the settings page to setup CI.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

The only difference is the Workflow, it that what makes it?

You can see proper logs here https://github.com/The1only/rosettadrone/actions

Any idea How to give you that?

I'm not sure. Maybe only you can access the settings tab.
Probably the best way is to transfer the repo to the RosettaDrone community github organization:
https://github.com/RosettaDrone
This way, the project will be accesible in https://github.com/RosettaDrone/rosettadrone/
This can be done here:
https://github.com/The1only/rosettadrone/transfer
Use the organization name "RosettaDrone".
And follow instructions on screen.
I just transfered my other related repos to the RosettaDrone org and confirmed that my old personal repo URLs are automatically redirected to the new one.

Will doBest regardTerje Nilsen9Tek ASNorwayOn 30 Mar 2023, at 19:13, Christopher Pereira @.***> wrote:
Any idea How to give you that?
I'm not sure. Maybe only you can access the settings tab.
Probably the best way is to transfer the repo to the RosettaDrone community github organization:
https://github.com/RosettaDrone
This way, the project will be accesible in https://github.com/RosettaDrone/rosettadrone/
This can be done here:
https://github.com/The1only/rosettadrone/transfer
Use the organization name "RosettaDrone".
And follow instructions on screen.
I just transfered my other related repos to the RosettaDrone org and confirmed that my old personal repo URLs are automatically redirected to the new one.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Feels a bit strange, but the project now got its own life. It’s been a learningfull adventure. Have funn!!!!


Currency Convertor Website using the Javascript HTML and CSS

🚀 Follow me, 💬 Join the WhatsApp Group, and ⭐ Star the Repo to support our journey together!


Update the default Python version from 3.12 to 3.13

Previously if an app did not specify a Python version (e.g. via a .python-version file), then the buildpack would default to the latest Python 3.12 release.
Now the buildpack will use the latest Python 3.13 release.
Apps that aren't compatible with Python 3.13 will now need to request Python 3.12 explicitly by creating a .python-version file containing: 3.12
Note: Unlike in the classic Python buildpack, this change will affect existing apps too, since the CNB does not perform version pinning (due to the UX and app to app consistency issues it causes). Users are strongly advised to never rely on the default version, and instead set an explicit major Python version using a .python-version file.
See:
https://docs.python.org/3.13/whatsnew/3.13.html
GUS-W-14846979.

Default version mentions updated at:
https://devcenter.heroku.com/articles/python-support#default-python-version-for-new-apps
https://devcenter.heroku.com/articles/python-runtimes


Highlight differences between event handler strategies

Initial submission is done with DefaultEventHandlerStrategies.NONE (i.e. don't wait for commit events) whereas retries do wait for commit events
Add code comments to clarify what's happening

No longer uses different startegies


 Once this is in, we can start adding packages to start building on the monorepo.
I've intentionally set up some of the stack to resemble Docusaurus' setup over our own conventions so that the plugins and other extensions are most compatible with Docusaurus, and so that external contributors who are more familiar with that repo can be more inclined to contribute here.
What's in this PR:

Yarn 3 🚀

Includes various SDKs/plugins to improve the Yarn experience

All the formatters and linters: Stylelint, ESlint, and Prettier

Inspiration for ESLint config.

Commit hooks (Husky, lint-staged)
Lerna
Base TSConfig (we'll be using project references)

Inspiration for TSConfig

package.json with scripts and various config

We're using Syncpack to ensure package.json property order and versions are consistent across packages

GitHub workflow and dependabot

The test workflow is stubbed for the time being

.nvmrc - Everything is Node 16.4 to best align with official supported version
Empty packages and website directories for eventual code

What to look for:
As this is largely foundational...

Have a look through the committed files - is anything there that shouldn't be?
Does the Yarn setup look okay and work for you?
This is a brand new project, any suggestions to make the developer experience better is welcomed.

Hey @chrisdunnbirch @dustin-ruetz-1p @mrjones2014 - this is a new project I'm working on to help move some of 1Password developer portal's in-house Docusaurus extensions to individual packages so that they can be consumed by others. If you have time I would love a review. Note that this work comes from an existing private repo (you'll need to be invited) that I'm starting to port over, so I'll open PRs incrementally until it's all moved over.

I don't think the .yarn directory should be committed, shouldn't it be in the .gitignore?

I don't think the .yarn directory should be committed, shouldn't it be in the .gitignore? its got stuff like tsserver itself in there.

I also thought this, but it seems that is not the case from what I can make of this documentation: https://next.yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
The gist: allow certain Yarn things that should remain constant across installations to be committed. Notably, we don't commit .yarn/cache/ or .pnp.* because we are not using zero-installs.