Not able to get python3 as interpretor for Jetson Xavier.

Hi there, I have downloaded the Jetpack 4.6.3, in my xavier NX, now when I try to run the script that you provided in your Article, OpenCV-4-6-0.sh
After successful building and making by the script, I was not able to import python in python3, but was able to import it in python2.x
In the below logs you'll see that python3 is not in the interpreter but python2 is available.
refer below image

Terminal Logs
General configuration for OpenCV 4.6.0 =====================================
--   Version control:               unknown
--
--   Extra modules:
--     Location (extra):            /home/jetson/opencv_contrib/modules
--     Version control (extra):     unknown
--
--   Platform:
--     Timestamp:                   2023-01-24T12:22:43Z
--     Host:                        Linux 4.9.299-tegra aarch64
--     CMake:                       3.10.2
--     CMake generator:             Unix Makefiles
--     CMake build tool:            /usr/bin/make Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG  -DNDEBUG
--     C++ flags (Debug):           -fsigned-char -ffast-math -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -g  -O0 -DDEBUG -D_DEBUG
--     C Compiler:                  /usr/bin/cc
--     C flags (Release):           -fsigned-char -ffast-math -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fopenmp -O3 -DNDEBUG  -DNDEBUG
--     C flags (Debug):             -fsigned-char -ffast-math -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fopenmp -g  -O0 -DDEBUG -D_DEBUG
--     Linker flags (Release):      -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined
--     Linker flags (Debug):        -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined
--     ccache:                      NO
--     Precompiled headers:         NO
--     Extra dependencies:          m pthread cudart_static dl rt nppc nppial nppicc nppicom nppidei nppif nppig nppim nppist nppisu nppitc npps cublas cudnn cufft -L/usr/local/cuda-10.2/lib64 -L/usr/lib/aarch64-linux-gnu
--     3rdparty dependencies:
--
--   OpenCV modules:
--     To be built:                 alphamat aruco barcode bgsegm bioinspired calib3d ccalib core cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev datasets dnn dnn_objdetect dnn_superres dpm face features2d flann freetype fuzzy gapi hdf hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor mcc ml objdetect optflow phase_unwrapping photo plot python2 quality rapid reg rgbd saliency sfm shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto
--     Disabled:                    world
--     Disabled by dependency:      -
--     Unavailable:                 cvv java julia matlab ovis python3 viz
--     Applications:                perf_tests apps
--     Documentation:               NO
--     Non-free algorithms:         YES
--
--   GUI:                           GTK3
--     GTK+:                        YES (ver 3.22.30)
--       GThread :                  YES (ver 2.56.4)
--       GtkGlExt:                  NO
--     VTK support:                 NO
--
--   Media I/O:
--     ZLib:                        /usr/lib/aarch64-linux-gnu/libz.so (ver 1.2.11)
--     JPEG:                        /usr/lib/aarch64-linux-gnu/libjpeg.so (ver 80)
--     WEBP:                        build (ver encoder: 0x020f)
--     PNG:                         /usr/lib/aarch64-linux-gnu/libpng.so (ver 1.6.34)
--     TIFF:                        build (ver 42 - 4.2.0)
--     JPEG 2000:                   build (ver 2.4.0)
--     OpenEXR:                     build (ver 2.3.0)
--     HDR:                         YES
--     SUNRASTER:                   YES
--     PXM:                         YES
--     PFM:                         YES
--
--   Video I/O:
--     DC1394:                      YES (2.2.5)
--     FFMPEG:                      YES
--       avcodec:                   YES (57.107.100)
--       avformat:                  YES (57.83.100)
--       avutil:                    YES (55.78.100)
--       swscale:                   YES (4.8.100)
--       avresample:                YES (3.7.0)
--     GStreamer:                   YES (1.14.5)
--     v4l/v4l2:                    YES (linux/videodev2.h)
--
--   Parallel framework:            TBB (ver 2020.2 interface 11102)
--
--   Trace:                         YES (with Intel ITT)
--
--   Other third-party libraries:
--     Lapack:                      YES (/usr/lib/aarch64-linux-gnu/liblapack.so /usr/lib/aarch64-linux-gnu/libcblas.so /usr/lib/aarch64-linux-gnu/libatlas.so)
--     Eigen:                       YES (ver 3.3.4)
--     Custom HAL:                  YES (carotene (ver 0.0.1))
--     Protobuf:                    build (3.19.1)
--
--   NVIDIA CUDA:                   YES (ver 10.2, CUFFT CUBLAS FAST_MATH)
--     NVIDIA GPU arch:             53
--     NVIDIA PTX archs:
--
--   cuDNN:                         YES (ver 8.2.1)
--
--   Python 2:
--     Interpreter:                 /usr/bin/python2.7 (ver 2.7.17)
--     Libraries:                   /usr/lib/aarch64-linux-gnu/libpython2.7.so (ver 2.7.17)
--     numpy:                       /usr/lib/python2.7/dist-packages/numpy/core/include (ver 1.13.3)
--     install path:                lib/python2.7/dist-packages/cv2/python-2.7
--
--   Python (for build):            /usr/bin/python2.7
--
--   Java:
--     ant:                         NO
--     JNI:                         NO
--     Java wrappers:               NO
--     Java tests:                  NO
--
--   Install to:                    /usr
-- -----------------------------------------------------------------

Can you please suggest what should I do?, I have followed all the steps as you mentioned.
Thanks

@abhisheeekkk ,
That's strange. Somehow OpenCV couldn't find your Python3. When you run $ cmake -D CMAKE_BUILD_TYPE=RELEASE ...(etc)
it ends with an overview like the one below.

Here you see the necessary Python3 folders. If the cmake command doesn't come with this information, it will not generate a Python3 version. Second, less common cause, the installation is done in the /usr/lib/python3/site-packages folder instead of the /usr/lib/python3/dist-packages. Hence the -D PYTHON3_PACKAGES_PATH=/usr/lib/python3/dist-packages option

Hi @Qengineering,
I found the root cause of the issue, which was causing this strange behavior, So yesterday I wasn't focusing much on logs, because every line was showing SUCCESS, but today I thoroughly inspected the logs and found that, after these below exact lines in the Terminal,

-- ocv_init_download: OpenCV source tree is not fetched as git repository. 3rdparty resources will be downloaded from github.com by default.
-- Detected processor: aarch64
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.17", minimum required is "2.7")
-- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython2.7.so (found suitable exact version "2.7.17")
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.5", minimum required is "3.2")
-- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.7m.so (found suitable exact version "3.7.5")

I was getting this error, but compilation didn't stop and moved so fast that it was easy to miss in a blink.
line 16, in <module>
from . import multiarray
ImportError: cannot import name multiarray

During handling of the above exception, another exception occurred:
........................

So, it was numpy all along, Even I was not able to uninstall and reinstall using pip3,
[Error was - Not uninstalling numpy at /usr/lib/python3/dist-packages, outside environment /usr ]
So I searched regarding this issue online and found some stackoverflow and askubuntu articles regarding this, particularly these one two helped me.
commands that I executed to solve the above error:

sudo apt remove python-numpy
sudo pip uninstall numpy --isolated

sudo -H python3.7 -m pip uninstall numpy
sudo apt purge python3-numpy
sudo -H python3.7 -m pip install --upgrade pip
sudo -H python3.7 -m pip install numpy

After verifying that numpy has been installed successfully, I tried to import it in the python3 script and it exported successfully, I cleaned the components which I installed using your script, like OpenCV,  opencv_contrib folders, corrasponding zip files and shell file (OpenCV-4-6-0.sh)
Then I ran these commands according to your article and provided swap size.
# a fresh start, so check for updates
$ sudo apt-get update
$ sudo apt-get upgrade
# install nano
$ sudo apt-get install nano
# install dphys-swapfile
$ sudo apt-get install dphys-swapfile
# enlarge the boundary (4.5.2 and higher)
$ sudo nano /sbin/dphys-swapfile
# give the required memory size
$ sudo nano /etc/dphys-swapfile
# reboot afterwards
$ sudo reboot

after these commands I ran commands till here, because I had to make one change in the script because I am using Jetson Xavier not nano,

# check your memory first
$ free -m
# you need at least a total of 8.5 GB!
# if not, enlarge your swap space as explained in the guide
$ wget https://github.com/Qengineering/Install-OpenCV-Jetson-Nano/raw/main/OpenCV-4-6-0.sh
$ sudo chmod 755 ./OpenCV-4-6-0.sh

After running commands till here, I opened the script in the text editor and changed this line -D CUDA_ARCH_BIN=5.3
to -D CUDA_ARCH_BIN=7.2 Reference(https://developer.nvidia.com/cuda-gpus)
After the above change, I ran these commands according to your article:

$ ./OpenCV-4-6-0.sh
# once the installation is done...
$ rm OpenCV-4-6-0.sh
# remove the dphys-swapfile now
$ sudo /etc/init.d/dphys-swapfile stop
$ sudo apt-get remove --purge dphys-swapfile
# free the allocated memory
$ sudo rm /var/swap
# just a tip to save an additional 275 MB
$ sudo rm -rf ~/opencv
$ sudo rm -rf ~/opencv_contrib

To verify now I tried to import OpenCV for both python2.x.x. and python3.x.x and it was now not throwing errors.

Thank you @Qengineering, for your wonderful article and support!

@abhisheeekkk
Great!


Aggregation doesn't seem to work properly

Describe the bug
ConsoleApp1.zip
Aggregation doesn't seem to work properly
To Reproduce
Steps to reproduce the behavior:
Copy/past this code into a console app or use the zip file attached
using Detached.Annotations;
using Detached.Mappers.EntityFramework;
using Microsoft.EntityFrameworkCore;

var context = new AppDbContext();

var organization = new Organization() { OrganizationName = "Tesla" };
var organization2 = new Organization() { OrganizationName = "Tesla2" };

context.Add(organization);
context.Add(organization2);
await context.SaveChangesAsync();
context.ChangeTracker.Clear();

var organizationFromDb1 = context.Organizations.First(x => x.OrganizationName == "Tesla");
var user = new User() { FirstName = "FirstName", LastName = "Last Name", Organization = organizationFromDb1 };

await context.MapAsync<User>(user);
await context.SaveChangesAsync();
context.ChangeTracker.Clear();

var userFromDb = context.Users
    .Include(x => x.Organization)
    .First(x => x.FirstName == "FirstName");
var organizationFromDb2 = context.Organizations.First(x => x.OrganizationName == "Tesla2");
context.ChangeTracker.Clear();

userFromDb.LastName = "Test";
userFromDb.Organization = organizationFromDb2;
userFromDb.OrganizationId = organizationFromDb2.OrganizationId;

var userFromDb2 = await context.MapAsync<User>(userFromDb); //after this line User.Organization is empty except the primary key, no matter how many other properties has

await context.SaveChangesAsync();

// Inspect userFromDb2 and see if Organization Name is populated
var test = userFromDb2;

public class Organization
{
    public int OrganizationId { get; set; }
    public string OrganizationName { get; set; } = null!;
}
public class User
{
    public int UserId { get; set; }

    public int? OrganizationId { get; set; }

    [Aggregation]
    public Organization? Organization { get; set; }

    public string FirstName { get; set; } = null!;

    public string LastName { get; set; } = null!;

}

public class AppDbContext : DbContext
{
    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    {
        optionsBuilder.UseSqlServer(@"Server=.;Database=TestDb;Trusted_Connection=True;Trust Server Certificate=true;");
        optionsBuilder.UseDetached();
        base.OnConfiguring(optionsBuilder);
    }
    public virtual DbSet<Organization> Organizations { get; set; }
    public virtual DbSet<User> Users { get; set; }
}

Hi @leonardoporro, just checking, are you in summer vacation or away for a bit? Thanks

Hi @traiannemes, starting on a new job and taking care of my 11 months son who went through an open heart surgery and now he needs a small adjustment.
But haven't forgot this project, planning to push a major update with lot of bugfixing during the next 15 days.
Sorry for the delays

Oh man, sorry to hear that, all our best wishes to your son, make him strong to go through this! Really no rush, and if there's anything we can do from a distance, let us know.

Hey, slowly going back on track! Sorry for the long long long delay...
I was able to run your sample, by the way thanks! attaching a sample helps me so much
In your sample, User.Organization.Name is populated:

But I know what are you talking about and why it is happening, it is by design.
When a property is marked as [Aggregation] instead of [Composition], the mapper assumes that the entity being aggregated already exists.
That's the idea, if you have a User and, for example, you want to assign a UserType { Id, Name }, it is assumed that UserType { Id, Name } already exists, and handling it is not a part of the current operation.
Given that, the mapper just creates an entity, sets the primary key and marks it as Unchanged, so there is no need to go to the database to fetch the rest of the fields.
Also, as DTO you may send something like this:
{    userType: { id: 1 } }
(that id would probably come from a dropdown list or something similar)
There is a flag here that allows aggregations work as an Upsert. It is internally used when importing Json files so you don't need to ensure the (for example) UserType exists before User, because it does a UserType upsert.
I don't recommend it because it goes to the DB and here I'm trying to fetch as few data as possible. Having to querying for the item and the compositions is already slow enough.
There is some info about aggregations here.
And here you can check how an association is done without having the attached entity.
Hope this info helps and let me know if you need anything else!

Morning Leonardo,
I am at a lose, here is my screenshot on the same code

The real work example is something like this

User class has an Organization aggregation, which has a name. I just save the user and want to return newUser back to API caller with all the info. It saves me a call to

I am using that user object to refresh a row in the data grid (presentation layer, client for API)

weird!
I know how to reproduce it anyway.. let me do it and see if it can be improved.

That's totally weird! I can only say that I tried on two difference laptops and one PC, all with VS2022.

7.1.3

It's working like a charm, thank you sir!


Setting Password with Already Set 2FA Gives Errors

Described at, https://opencollective.freshdesk.com/a/tickets/172698
It seems that starting recently when the user already has 2FA setup and then they try to set a password, they encounter a weird loop (see screen-cast below). First the 2FA is wrong, then I enter it again (it cannot be wrong as I used it to login). After that it asks to enter the old password. At the end of all this a password is set in the DB.
setting-password.webm

Thanks for filing this and making a nice video, it's precisely what I've seen!

@ThomasWaldmann May be fixed? Try again?

Thank you @SudharakaP

@znarf @SudharakaP wow, you're quick, thanks for fixing / testing it again.


Removed unnecessary assignment.

Unnecessary assignment is removed.

The compiler will get rid of this, so there is zero runtime cost, but having it there is useful for debugging.


Feature, support for Anthropic

Anthropic is already supported
https://github.com/andrewyng/aisuite/blob/main/guides/anthropic.md

Anthropic is supported. Closing the issue.


Store every Bond ROI

Request from @Jawz
Quote:

I believe having them show on front end can allow ppl to just get a CTA

Open questions:

Is TheGraph the best place for this? We would have to update the graph everytime we release a bond.

@drondin lets talk about if this is the right thing to do.

hmmm we might be able to do this using this event (only available in latest bond versions, not in old ones)
    event BondCreated( uint deposit, uint indexed payout, uint indexed expires, uint indexed priceInUSD );

i think that makes sense the new ones are fine going forward.


Use KptFile and not settings.yaml file to read back in setters

Right now our Makefile uses a bit of a hack to get back the values of various kpt setters.
We set them in https://github.com/kubeflow/gcp-blueprints/blob/master/kubeflow/instance/settings.yaml
using kpt setters and then read them back in.
But the KptFile is also a YAML file. If we use substitutions do the values get stored there and can we read them from it?

This issue is resolved and can be closed

https://github.com/kubeflow/gcp-blueprints/pull/135
https://github.com/kubeflow/gcp-blueprints/pull/120

cc: @jlewi

Woo Hoo; Thanks @subodh101

Sorry; Just realized we will need to update the docs.
kubeflow/website#2126


Making histogram

I am trying to display a histogram, and it doesn't work, but instead prints -----------... My code is
with open("cpuhistory.txt", "r") as n:

    plot_hist(n)
    n.close()

and cpuhistory.txt is https://pastebin.com/vPMBTxzJ .
How can I get it working?

The following code works for me with your data:
from bashplotlib.histogram import plot_hist

with open("cpuhistory.txt", "r") as n:
    plot_hist(
        list(n),
        height=10,
        xlab=True,
        showSummary=True,
        bincount=20,
    )

which gives:
 24|   o
 21|   o
 19|   o
 16|   o
 14|   oo
 11|  ooo
  8|  ooo
  6|  ooo
  3|  oooo
  1| oooooo      o       o
    ---------------------
    1 2 3 4 5 6 7 9 1 1 1
    . . . . . . . . 0 1 2
    5 5 6 7 7 8 9 0 . . .
    0 8 5 2 9 6 3 0 0 1 2

----------------------------------
|            Summary             |
----------------------------------
|        observations: 61        |
|      min value: 1.509434       |
|        mean : 2.683872         |
|      max value: 12.218891      |
----------------------------------

It also works without the extra args.
It's not possible that it was scrolling the rest of the histogram off the screen is it?

x-labels are double spaced but the graph is not?


Enable ListCommand to display statistics

ListCommand can now list statistics in the console using 'list l/stats'. Also, certain tests have been refactored to improve code quality.
Close #121

Codecov Report

Merging #123 into master will increase coverage by 0.57%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #123      +/-   ##
============================================
+ Coverage     72.95%   73.52%   +0.57%
- Complexity      690      697       +7
============================================
  Files           106      106
  Lines          2074     2081       +7
  Branches        233      233
============================================
+ Hits           1513     1530      +17
+ Misses          503      493      -10
  Partials         58       58

Impacted Files
Coverage Δ
Complexity Δ

...va/seedu/address/logic/commands/CommandResult.java
84.21% <ø> (ø)
10.00 <0.00> (ø)

...java/seedu/address/logic/commands/ListCommand.java
90.47% <100.00%> (+2.97%)
11.00 <0.00> (+1.00)

...main/java/seedu/address/logic/parser/ListType.java
100.00% <100.00%> (ø)
1.00 <0.00> (ø)

...in/java/seedu/address/logic/parser/ParserUtil.java
98.33% <100.00%> (+3.41%)
26.00 <0.00> (+2.00)

...rc/main/java/seedu/address/model/ModelManager.java
91.57% <0.00%> (+1.05%)
41.00% <0.00%> (+1.00%)

src/main/java/seedu/address/model/InfoHandler.java
73.33% <0.00%> (+15.55%)
14.00% <0.00%> (+3.00%)

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 d462e45...712138a. Read the comment docs.


Fix locations: row and group selection

This PR addresses #466 by ensuring that group and row selection work across three scenarios:

position number
name string
expression

Note that column spanners currently can't do selection by polars selectors (and the concept of selection by position doesn't make sense for them, since they stuck vertically)

Restructured the Get Started guide sections, to split into structure, format, style, theme (and selection help)


show all current events on homepage

not only 3 like now

I think this is a fairly trivial fix, but it needs test data. I don't know how to set up the backend, or how to get data into the test environment, so I've used https://mswjs.io/ to produce a local mock that returns the five results for "missionday" that the test environment returns when searching.
To produce this, I did:
$ npm install msw --save-dev
$ https://mswjs.io/

I then created the following two files:
src/mocks/browser.js:
import { setupWorker } from 'msw/browser';
import { handlers } from './handlers';

export const worker = setupWorker(...handlers);

src/mocks/handlers.js:
import { http, HttpResponse, passthrough } from 'msw'

export const handlers = [
    http.get(/bnrs/, ({request}) => {
        const url = new URL(request.url)
        const minEventTimestamp = url.searchParams.get('minEventTimestamp')

        if (!minEventTimestamp) {
            return passthrough();
        }

        return HttpResponse.json([
                {
                    "id": "missionday-nürnberg-40c1",
                    "title": "MissionDay: Nürnberg",
                    "width": 6,
                    "numberOfMissions": 30,
                    "numberOfSubmittedMissions": 0,
                    "numberOfDisabledMissions": 0,
                    "startLatitude": 49.446999,
                    "startLongitude": 11.08132,
                    "startPlaceId": "nuremberg-4447",
                    "lengthMeters": 8727,
                    "formattedAddress": "Nuremberg, Germany",
                    "picture": "/bnrs/pictures/2104e045dafdef8399f8f8b76ec19f50",
                    "eventStartDate": "2024-01:01",
                    "eventstartTimestamp": "00:00:00",
                    "eventEndDate": "2024-12:31",
                    "eventendTimestamp": "23:59:59"
                },
                {
                    "id": "missionday-東北盛岡-0dec",
                    "title": "MissionDay 東北盛岡",
                    "width": 6,
                    "numberOfMissions": 12,
                    "numberOfSubmittedMissions": 0,
                    "numberOfDisabledMissions": 0,
                    "startLatitude": 39.709071,
                    "startLongitude": 141.154442,
                    "startPlaceId": "morioka-2ffc",
                    "lengthMeters": 20500,
                    "formattedAddress": "Morioka, Iwate, Japan",
                    "picture": "/bnrs/pictures/3594b9ec5777038c4e169d520f7c0119",
                    "eventStartDate": "2024-01:01",
                    "eventstartTimestamp": "00:00:00",
                    "eventEndDate": "2024-12:31",
                    "eventendTimestamp": "23:59:59"
                },
                {
                    "id": "missionday-hangzhou-20161203-2267",
                    "title": "MissionDay Hangzhou 20161203",
                    "width": 6,
                    "numberOfMissions": 24,
                    "numberOfSubmittedMissions": 0,
                    "numberOfDisabledMissions": 0,
                    "startLatitude": 30.277822,
                    "startLongitude": 120.158439,
                    "startPlaceId": "hangzhou-f6f8",
                    "lengthMeters": 29490,
                    "formattedAddress": "Hangzhou, Zhejiang, China",
                    "picture": "/bnrs/pictures/1c97207d45c7ac9d814b694a4d58c989",
                    "eventStartDate": "2024-01:01",
                    "eventstartTimestamp": "00:00:00",
                    "eventEndDate": "2024-12:31",
                    "eventendTimestamp": "23:59:59"
                },
                {
                    "id": "深圳印象-missionday纪念任务-8c87",
                    "title": "深圳印象·MissionDay纪念任务",
                    "width": 6,
                    "numberOfMissions": 6,
                    "numberOfSubmittedMissions": 0,
                    "numberOfDisabledMissions": 0,
                    "startLatitude": 22.540434,
                    "startLongitude": 113.934012,
                    "startPlaceId": "shenzhen-0db7",
                    "lengthMeters": 3008,
                    "formattedAddress": "Shenzhen, Guangdong Province, China",
                    "picture": "/bnrs/pictures/a74a4533116bb78e116831d9915b860e",
                    "eventStartDate": "2024-01:01",
                    "eventstartTimestamp": "00:00:00",
                    "eventEndDate": "2024-12:31",
                    "eventendTimestamp": "23:59:59"
                },
                {
                    "id": "mdsp-missionday-sapporo-2018-7-29-f570",
                    "title": "MDSP（MissionDay Sapporo） 2018.7.29",
                    "width": 6,
                    "numberOfMissions": 18,
                    "numberOfSubmittedMissions": 0,
                    "numberOfDisabledMissions": 0,
                    "startLatitude": 43.06775,
                    "startLongitude": 141.352179,
                    "startPlaceId": "sapporo-61f9",
                    "lengthMeters": 42356,
                    "formattedAddress": "Sapporo, Hokkaido, Japan",
                    "picture": "/bnrs/pictures/fbac665836db35dacefec78447376d3a",
                    "eventStartDate": "2024-01:01",
                    "eventstartTimestamp": "00:00:00",
                    "eventEndDate": "2024-12:31",
                    "eventendTimestamp": "23:59:59"
                }
            ])
    }),
]

Finally, I changed src/index.tsx to include this:
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -11,13 +11,25 @@ import './mobile.less'
 import<EMAIL_ADDRESS> import<EMAIL_ADDRESS> import<EMAIL_ADDRESS>-
-const container = document.getElementById('root')!
-const root = createRoot(container)
-root.render(
-  <Provider store={store}>
-    <PersistGate loading={null} persistor={persistor}>
-      <App />
-    </PersistGate>
-  </Provider>
-)
+async function enableMocking() {
+  if (process.env.NODE_ENV !== 'development') {
+    return;
+  }
+
+  const { worker } = await import('./mocks/browser');
+
+  // `worker.start()` returns a Promise that resolves
+  // once the Service Worker is up and ready to intercept requests.
+  return worker.start();
+}
+enableMocking().then(() => {
+  const container = document.getElementById('root')!
+  const root = createRoot(container)
+  root.render(
+    <Provider store={store}>
+      <PersistGate loading={null} persistor={persistor}>
+        <App />
+      </PersistGate>
+    </Provider>
+  )
+});

Having set all of this up, my local instance now sends back these five MD banners and produces the events block.
Removing the .slice(0, 3) from https://github.com/bannergress/website/blob/93e1ee8b343dcb5bcac5ce824266c2deb7e06f81/src/components/events-preview/EventsPreview.tsx#L24-L30 is of course trivial, and it works well, as below screenshot shows.

However, the "See Full List" button remains, even if we show all of them. If we remove that button, I don't think we'd have any other way of getting to the /events screen at all. Is it then even useful? It looks like the button and the functionality itself came in at the same time, so I don't think this ticket was created before the button was there.
When are there ever more than 3 events at the same time? Are events only MDs? Does this make sense at all?
I've pushed my fix to my local branch https://github.com/simbabque/bannergress-website/tree/308-more-mds. It has has two commits. One is the fix removing the slice completely, and the second one is adding the mocking so it can be used. I have not created a PR, as that would obviously not need the mocking. Note it's on top of my changes for #364 because that was more convenient.
Thoughts?

The limit on 3 events is there for a purpose, it happens sometimes that we have way more than three events on the same date:

The number of 3 events was picked because it fits into one row on desktop.

Than there will be more. Still required, as events are most important to be displayed.


[curl] update to 7.85.0

Library name: curl
New version number: 7.85.0
Other information that may be useful (release notes, etc...)
Two patches doesn't apply to 7.85 (0002_fix_uwp.patch and 0021-normaliz.patch are failing).
Once you comment these, just updating REF & SHA is enough to build it on MSVC 2022

And now there is 7.86.

It's ok for me to get 7.86 update, instead of 7.85

Update curl to 7.86 with websocket feature.

Can you please update to Curl 7.86 on priority, as we have High Vulnerability (CVE-2022-42915) with current version

Can you please update to Curl 7.86 on priority, as we have High Vulnerability (CVE-2022-42915) with current version

@tauseef-ah, I will submit a new pr today.

The latest version of curl in vcpkg is already 0.7.6, please use the "git pull" command to get the latest version.
Fixed by PR #27778


[question] find_min_global repeats argument choices if set to use integer variables

dlib version 19.23.0 on ubuntu 20.04 64 bit using dlib from python
When using find_min_global with is_integer_variable  set to True find_min_global repeats the same parameters at times. Is this expected?  It is not a big problem as I can just cache the results of the objective function to make it fast if you call it with the same arguments twice or more but it doesn't seem ideal.

Yeah that can happen.  If it matters you should do some caching inside the
function being optimized.
On Fri, Mar 11, 2022 at 3:59 PM lesshaste @.***> wrote:

dlib version 19.23.0 on ubuntu 20.04 64 bit using dlib from python
When using find_min_global with is_integer_variable set to True
find_min_global repeats the same parameters at times. Is this expected? It
is not a big problem as I can just cache the results of the objective
function to make it fast if you call it with the same arguments twice or
more but it doesn't seem ideal.
—
Reply to this email directly, view it on GitHub
https://github.com/davisking/dlib/issues/2542, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPYFR5FO3C5L4CD67YPD7LU7OX3DANCNFSM5QQVPFZQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Support of 8-bit and 4-bit quantization

Hey,
first of all thank you for your effort in building this library! Is it possible to combine tensor_parallel with new quantization techniques like 8-bit or 4-bit quantization (e.g. BitsAndBytes or GPTQ). This would be really useful, especially when it comes to Large language models like Llama2-70B. I think there will be a huge request on this topic!
Thank you again and best regards :)

It is supported. See this demo.


fix: keep sw activated during session

Service worker in manifest version 3 gets inactive if there is no activity for some time.
This causes a glitch in signify at certain points in workflow
Signify Client not connected
To cure this, an interval is added that keeps service worker activated during the session.
SW activated
This ensures that communication with content script and service worker does not get blocked due to a pause.

I'm not sure, but this approach of forcing the service-worker from automatically becoming inactive might later interfere or slow down Google's approval to publishing the extension to the Chrome Web Store.  Alternatively, using port-based messaging (as mentioned in #159), or using other events to wake up the service-worker might be safer (as far as approval is concerned).  See  service worker lifecycle and various web discussions such as here.

I'm not sure, but this approach of forcing the service-worker from automatically becoming inactive might later interfere or slow down Google's approval to publishing the extension to the Chrome Web Store. Alternatively, using port-based messaging (as mentioned in #159), or using other events to wake up the service-worker might be safer (as far as approval is concerned). See service worker lifecycle and various web discussions such as here.

Even if we use port-based messaging, that would not keep service worker active indefinitely.
I am not sure if it can create delay for chrome approval.
The idea is taken from meta mask extension as they are doing this specifically for manifest version 3.
The problem
We are facing a challenge to store signify client in storage or indexDB and it is being used as a global variable. That gets removed when service worker becomes inactivated. Client needs to be reconnected afterwards and in sometimes shows unexpected behaviour.


Band gets reset when editing an QSO

Hi, I found this error - not sure if it happens on all installs, just docker installs, or maybe just for me, but I figured it won't hurt to report it :)
Version Information

Environment: docker
OS: Docker container (host is Alpine 3.20)
PHP: 8.3.10
MySQL/MariaDB: 11.3.2-MariaDB-1:11.3.2+maria~ubu2204
Wavelog: 1.8.2

Steps to Reproduce

Go to Logbook -> Overview
Click on any callsign in the log
Click on Edit QSO
Band gets reset from whatever was set previously to the first one in the list (by default, 160m)

Expected Behavior
Band stays the same when clicking on Edit QSO
Desktop Information:

OS: Fedora 40
Browser: Firefox 129.0.2

Was not able to reproduce it.
e.g.:

Default Band is 40m
Log QSO on 20m
Go to overview and click on QSO.
At popup click Edit QSO
Band is still 20m

Even after saving it and doing point 3 and 4 again, it stays at 20m

Same here. Band does not change upon edit. Even for SAT QSOs with BAND and BAND_RX.

Wavelog: 1.8.2

You may want to repull the latest image to upgrade to 1.8.3. Maybe this solves your issue.

Updated the image, but it did not help :( I'll re-install everything on a different host and see if the same issue occurs

Clear your browser cache, cookies and history. Make sure your browser is absolutely clean.

i put this thing on Autoclose since there's no more activity.

Seems like it fixed itself after some time... weird, but it works now so that's great :)


translation mistake for QuickEdit

with German menus go to the agenda list
look at the context menu

result: there is an Entry "Quick-Edit". If you press it you get a window named "QuickEdit". This is inconsistent. So either always "Quick-Edit" or always "QuickEdit".

@donovaly Quick(-)Edit will be removed from all tables (may except the agenda table). If this will stay there which naming do you prefer?

which naming do you prefer?

I don't have a strong opinion. No matter what you decide, be consistent. If you ask me for a translation, I propose "Schnelländerung".

Seems like an anglicism to me. Therefore, I doubt that changing this is necessary. Every possible translation might be harder to understand.
also see: http://www.linguee.de/englisch-deutsch/uebersetzung/quick+edit.html


The prediction results of Chai-1 protein-ligand were significantly different from those of RoseTTA-Fold-All-Atom

output of Chai-1

output alignment

output of RFAA
Hi, in order to test the Chai-1, I used the protein-ligand example of RoseTTAFold-All-Atom for testing, but the result seemed to be quite different from the predicted result of RoseTTAFold-All-Atom, and the RMSD of the comparison of the two structures was 21.452 angstroms. Is this a normal situation? The following is the content of the fasta file I predict to use:

protein|7QXR_1
TATGDEWWAKCKQVDVLDSEMSYYDSDPGKHKNTVIFLHGNPTSSYLWRNVIPHVEPLARCLAPDLIGMGKSGKLPNHSYRFVDHYRYLSAWFDSVNLPEKVTIVCHDWGSGLGFHWCNEHRDRVKGIVHMESVVDVIESWDEWPDIEEDIALIKSEAGEEMVLKKNFFIERLLPSSIMRKLSEEEMDAYREPFVEPGESRRPTLTWPREIPIKGDGPEDVIEIVKSYNKWLSTSKDIPKLFINADPGFFSNAIKKVTKNWPNQKTVTVKGLHFLQEDSPEEIGEAIADFLNELT
ligand|NSW
c1c(ccc(Cn2[nH]c3c(Cc4ccccc4)nc(c4ccc(cc4)O)c[n+]3c2=O)c1)O

aggregate_score:
[0.15987574]
ptm:
[0.27837044]
iptm:
[0.13025206]
per_chain_ptm:
[[0.27259728, 0.7072335 ]]
per_chain_pair_iptm:
[[[0.27259728, 0.03284407],
[0.13025206, 0.7072335 ]]]
has_clashes:
[0.]
per_chain_intra_clashes:
[[0., 0.]]
per_chain_pair_inter_clashes:
[[[0., 0.],
[0., 0.]]]
This is the score information of the predicted result, it seems that ipTM is very low, is it because I manually updated several scripts that have been updated in the github repository recently?

Is Chai-1 more accurate than RFAA ?
https://www.chaidiscovery.com/blog/introducing-chai-1

Interesting. Do you have a ground truth so that you can compare the two predictions?

I performed a comparison, and the results show that the structure provided by RFAA is closer to the experimental structure in the PDB. This discrepancy might be due to my not using MSA information during the Chai-1 run. I am currently exploring how to incorporate MSA information and would greatly appreciate any suggestions you could offer.

@biochristmas we'll add some examples how to pass MSAs, but the simplest way right now is to use web server - search for MSAs is automated there.
Here is your example vs PDB:

also @biochristmas from you description it isn't clear how many samples your generated and how you selected best sample (that's what server does by default, but in code we return all samples)

Thank you very much for your prompt response. After modifying the input and output paths in example/predict_structure.py, I ran predictions on the case mentioned earlier and generated a total of 5 samples. However, the ipTM scores in the resulting npz files appear to be quite low. I am very much looking forward to the example on how to pass the MSA.

scores.model_idx_0.txt
scores.model_idx_1.txt
scores.model_idx_2.txt
scores.model_idx_3.txt
scores.model_idx_4.txt

output_pdb.zip
This is the PDB file for the five output results I obtained from the run.

arogozhnikov

Was there MSA here ? Is it ON by default on the web server? Would be interesting to see with/without MSA on web server to compare to @biochristmas local results

also @biochristmas from you description it isn't clear how many samples your generated and how you selected best sample (that's what server does by default, but in code we return all samples)

You have done an amazing job, but the server has recently not supported MSA. When will it be possible to perform MSA locally?

Closing, MSA/MSAContext discussion should goes in #73, and track corresponding PR in #109


Fix the “group 3000” situation

This patchset enforces uid == gid and creates groups appropriately when users are created.
For existing users, this needs to be fixed in LDAP by a script once this is merged.
For some reason, Github's web UI barfs up commit 0db127c in this PR, which is already merged according to git.

OP delivers.

@hashbang/administrators It's review time!

Also, after the group 3000 is fixed in LDAP, we must fix permissions on homedirs.

Looks good.

@daurnimator Better?

It's weird to compare gid with uid. can you add fields maxgid and mingid? Otherwise seems good

@daurnimator Well, the point of this PR is settling on the convention that primary gid == uid, so having two different ranges for uids and gids doesn't make sense to me.

@hashbang/administrators Pingity ping?

Go ahead and merge. It's at better than what we already have; we don't have to fix everything in one go :)

@daurnimator Ok.  Thanks a lot for reviewing.

Starting a rebuild of the hashbang.sh container.

@hashbang/administrators I wrote a script to create the missing groups; I tested it (without the group creation call) and found no gid colision/mismatch.
Ok for running this?

PS: Still need something (Ansible to the rescue?) to chown people's homedirs to the right group.

LDAP backup taken

Fixed the groups in LDAP

Fixed ownership of homedirs.


Consider adapter trimming just from 3' end

Per discussion in Twist here, @evanfields notes that

We run with adapters specified as -b, meaning could be 5’ or 3’ end, so when an adapter matches cutadapt gets to decide which way to trim from the adapter.)

Based on my understanding of Illumina sequencing, and Illumina's recommendation in Adapter trimming Why are adapter sequences trimmed from only the 3' ends of reads (Illumina Knowledge Base), for the paired end libraries we're typically working with it seems like we should just be trimming from the 3' end.
https://cutadapt.readthedocs.io/en/stable/guide.html#adapter-types

Noting that I believe this could be the reason that we see cutadapt overtrimming when benchmarking on a simulated dataset. Will look into this when I get back on adapter trimming.


Endless loop generating slashes in a file to correct 1.22.0

On upgrading rubocop from version 1.1.0 to 1.22.0 there was a problem running the auto-correct command. The issue causes a file to be continuously filled with '/'s.
Expected behavior
Normally, rubocop would replace the double ticks with single ticks in this statement:
:"Le produit avec le SKU "%1" n’existe pas"
Would be replaced with
:'Le produit avec le SKU "%1" n’existe pas'
Actual behavior
Rubocop gets caught in an endless loop continuously generating '/'s like below:
:"Le produit avec le SKU \\\\\\\\\\\\\\\\\\\\\\\\\\"%1" n’existe pas"
The file with this line is never corrected and CLI does not progress.
Steps to reproduce the problem
Create a ruby file with the line above.
Run rubocop -a
The command line will hang and when forced to exit the file should contain many '/'s.
RuboCop version
1.22.0
no output possible as the code hangs on an endless loop.

:"Le produit avec le SKU "%1" n’existe pas" is a syntax error because the inner quotes are not escaped, do you have a better example?


imploved Env provider

hi. I need AWS_SESSION_TOKEN from Enviroment variables please.

Thanks for this. There were a few changes I made and I ended up pushing those. Thanks for your help on this.


Property serializer

serialize property values to JSON + populate properties from JSON

Thanks for all the comments, but the PR is closed because we are refactoring a big part of it. The Lambda was useful (if not necessary) because it made the group->forEachGroup() call easier (we would have had to add a context to a function, so the lambda was an easier way to achieve this).
The recursion was the (I think) cleanest and easiest solution.


request: post-pull-request hook

I'd love to have a hook that fires after the successful creation of a pull request. My use case: setting a per-branch config variable prbranch=<the triggering pr's base branch>, which could be used to decorate my prompt to tell me "a PR was opened for this branch, and it hasn't been merged".
I imagine this would be made possible by some of the same work as #1179
(This would get stuck on closed-but-not-merged PRs, so even better would be a way for hub to query for PR info and store it somewhere. That's a much bigger request, and I don't know if it's in the hub scope)

Thanks for explaining! This is a worthwhile feature idea. I will leave open until we can figure out how to fit this on our roadmap.

Ola información xfavor son nueva en esto


Tisnew 4154 under notice tab review do not merge

For Omar: FE refactor. Have a look as per multiple discussions. External Modules running outside NGZone stay outside NGZone. Reduced boiler-plate code and increased code-coverage which could be much more improved if review is accepted.

i haven't had a chance to look at this pr in detail due to its size but here are my initial observations;

i noticed you have please do not merge in the title, is this meant to be a draft pr?
there's lots of conflicting files so please first rebase from master
not sure why you have added nested routes back in for /trainees? we discussed this previously and both agreed that nested routes are not needed. you asked me to remove the <router-outlet> as i did in this pr #44
adding a resolver to the trainees route will essentially block the ui which when we discussed previously with the wider team the other feds and myself were not keen on this idea. better to asynchronously load in and update the bits of the ui when and where needed alongside spinner/s rather then blocking the whole page from loading.
whats happened to the state actions? Looks like you've deleted all the actions except GetTrainees. I dont think its a good idea to cram so many events in to 1. We should leverage the advantages of the redux state management pattern that NGXS offers.

This is just for discussion. It has filtering, pagination, search, routing which allows default params for under-notice which we had previously discussed, no hard coded DEFAULT_ROUTE, global spinner, localhost reference to local build, less boiler-plate code on state management.
As stated its a discussion we should have as theres no hard-coding reroute /trainees etc as I cannot think of a way without hacking the planet to deliver under-notice

No worries I understand. The DEFAULT_ROUTE variable holds the string value of the /trainees route which has been re used in multiple places in the app. I thought a variable to be reused is better than the same string hard coded in multiple places. Which state management boiler plate code are you referring to? One improvement I have started to make in my recent pr https://github.com/Health-Education-England/TIS-REVALIDATION-V2/pull/46 is to leverage patchState over setState which feels a bit more cleaner.
I did pull the branch down and ran the app and also noticed that you've merged trainees and dashboard modules back in to one? The reason I create a seperate module for trainees module is for performance reasons. As because for example the details page doesn't consume or need the components that are displayed on the trainees page and vice versa so makes sense to have 2 lightweight js bundles otherwise each route is loading in code that it doesn't need. Plus it means we dont end up with one massive module that becomes harder to split down the line if and when the app grows.
Under notice & all doctors could require there own action/s - something like UnderNoticeTraineesFilter & AllDoctorsTraineesFilter or perhaps 1 action as TraineesFilter with a boolean payload as BE essentially expects underNotice=<true|false> as a query param? The store would then react to this event and patch the state. Then you'd have to append this param in the GetTrainees action listener in a similar fashion to how the other params are.
So basically clicking on one of the filter tabs would dispatch the filter action, GetTrainees action and then once resolved UpdateTraineesRoute action [to gracefully update the query params in the url]. This will essentially result in an api call being made with the required params, loading spinner in the meantime [as its bound to the async api call], and then the data in the table refreshed, and then finally the query params are updated in the url.


Possible to have rooms sorted by number of players ?

I'm logging that one on behalf of Numb (she should have an account in github as she posted once but cant find it...)
In the index page, the sorting of the rooms is strange to us to understand. Is there a current logic ?
The issue:
In some case, in order to find some rooms with more than 0 players, it's needed to click on the right side arrow and sometimes played rooms can be far away scrolling.

Numb also says sometimes a private room where people are playing is not even displayed. I personally haven't noticed that.
Possible change ; would it be possible to sort the rooms by number of players, with the most attended room appearing on the left?

Awesome and I observe that the update was longer before so that would explain why Numb didn't see rooms sometimes, and that now it will still happen but a bit less.
For the sorting i'll confirm for good tonight when more players will be online, but already that looks quite ok!


WIP: beidconnect: init at 2.10

Description of changes
beidconnect is a native messaging component for browsers to perform digital signing with Belgian eID cards.
It consists of a binary and a json file per browser.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

ping @emilazy

OK, I removed all other code changes, and only have the package remaining; I also added the paths for vivaldi & brave now.


Need to clean up example/test directories

Put example/test directories into isolated location to stop cluttering top level dir

This was aaddressed


Common Components: Details Page

Description
Common Details Page Layout
Links
Link to Page in Figma
Dependencies
None
Dependent Components
Feature Flags Details
Segments Details
Acceptance Criteria

Should project a details header container template as the 'header'
Should project a section card list component as the 'content'

Closing as done.


[Enhancement]: Support Unity 2021.3.15

Describe the new feature or enhancement
Self-explanatory by the title: make it support 2021.3.15. Even while it does not say 'unsupported', in the middle of the patching process it goes "java.io.FileNotFoundException: https://lemon.sircoolness.dev/android/2021.3.15.zip".

I do not host the dependencies and can't add more myself.

Dependencies can be generated with UDGB
Next installer update will allow you to easily use them for patching, bypassing that error


improved memory efficiency in _score_genes

In short: Avoids creating dense matrices for score calculation.
Currently, _score_genes() unnecessarily creates dense matrices to use the np.nanmean function (which doesn't work on sparse matrices out of the box).
This causes memory problems for larger datasets (anything 50k cells got me into trouble) and can be completely avoided with a nanmean() implementation of sparse matrices.
Not sure why the build is failing now in completely unrelated functions though!

hi,

yeah, it should work if the original array contain nan (i.e. it would just ignore these entries)
ah, just saw that there's a tests/test_score_genes.py file, I'll add a few tests the next days!

hi,
finally managed to add some tests. Had to refactor the original test_score_genes.py a little, I hope that's ok: The one test that was already there still exists, I just pulled out the creation of the adata into a separate function.

LGTM, thanks!


I set up a simple segue when I click the tableview cell but it has a weird animation and it covers the old root view controller. What is the best practice for segue to a new view controller after I click the menu cell?

New Issue Checklist

I have read the guidelines for contributing and I understand:

[x] My issue is happening in the latest version of SideMenu.
[x] My issue was not solved in the README.
[x] My issue can not be answered on stackoverflow.com.
[x] My issue is not a request for new functionality that I am unwilling to build and contribute with a pull request.
[ ] My issue is reproducible in the demo project.

Issue Description

Please read the README.


Implement can.getOwnEnumerableKeys symbol

getOwnEnumerableKeys is used to iterate over a defined class using {{#for(...)}}.

We can probably copy over https://github.com/canjs/can-define/blob/c3ea493a6a13587b679ac51077a8124c8c67280d/map/map.js#L234-L238

I would do that here: https://github.com/canjs/can-define-class/blob/526eda9d4be6c6c43b4ec725b3ed90e30aeb9cf2/can-define-class.js#L160


file_browser not opening the current buffer path

Description
When I do a :Telescope file_browser path='%:p:h', it does not open path/directory structure of the current open buffer.
I also tried with double quotes, meaning, path="%:p:h", still same issue.
See below GIF for more info.

Issue described by GIF shall be sufficient. Let me know if more info is required.
Neovim version
NVIM v0.7.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

Operating system and version
Linux 5.11.0-46-generic 20.04.1-Ubuntu
Steps to reproduce

Open a file
Run the command :Telescope file_browser path='%:p:h'

Expected behavior
No response
Actual behavior
The current buffer path should be opened, which is not happening.
Minimal config
vim.cmd [[set runtimepath=$VIMRUNTIME]]
vim.cmd [[set packpath=/tmp/nvim/site]]
local package_root = '/tmp/nvim/site/pack'
local install_path = package_root .. '/packer/start/packer.nvim'
local function load_plugins()
  require('packer').startup {
    {
      'wbthomason/packer.nvim',
      {
        'nvim-telescope/telescope.nvim',
        requires = {
          'nvim-lua/plenary.nvim',
          'nvim-telescope/telescope-file-browser.nvim',
        },
      },
      -- ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
    },
    config = {
      package_root = package_root,
      compile_path = install_path .. '/plugin/packer_compiled.lua',
      display = { non_interactive = true },
    },
  }
end
_G.load_config = function()
  require('telescope').setup()
  require('telescope').load_extension('file_browser')
  -- ADD INIT.LUA SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
end
if vim.fn.isdirectory(install_path) == 0 then
  print("Installing Telescope and dependencies.")
  vim.fn.system { 'git', 'clone', '--depth=1', 'https://github.com/wbthomason/packer.nvim', install_path }
end
load_plugins()
require('packer').sync()
vim.cmd [[autocmd User PackerComplete ++once echo "Ready!" | lua load_config()]]

Apologies, I've realized that the ' must go. It should be :Telescope file_browser path=%:p:h which works for me.
Many thanks for reporting! :) I've already corrected it on the README. Closing since I'm 99.9% sure that solves the issue. Please let me know in case that's not the case.
Once again, thanks!

Well, make it 100% sure. That did it thanks.


CMake find Boost dependency fail (post-installation)

Describe the bug
Under CMake 3.8.0, Itsy cannot properly find its dependency on the Boost library after installation.
To Reproduce
Steps to reproduce the behavior:

cd build && cmake .. && make && make install
cd boilerplate && cmake ..
Invalid arguments to find_dependency command

Environment (please complete the following information):

OS: Ubuntu 14.04 (Trusty)
Compiler: gcc 4.8.4
Other dependencies:

CMake 3.8.0
Boost 1.54.0

Additional context
No error when using the latest CMake release (3.14.4).

https://cmake.org/cmake/help/v3.9/release/3.9.html


Run without installer

I would like to run BrowserPicker without register it into Program list at Windows' Control Panel. Is it possible to develop or release a (portable?) version without installer?
Thank you!

For it to show up in the "set default browser" in windows, it would need to add registry keys to windows.
If you want a portable, I presume you are looking to use it without elevated privileges?
I have not done any research, but I suppose there might be a per-user way to register browsers in windows, if so it would be doable.
Are you able to elaborate a bit on your use case?

Sorry for the confusion.
I would like to let BrowserPicker not be listed in the Windows Control Panel\Programs\Programs and Features. However, the other registry and privileges are fine if need, so the installer/uninstaller feature maybe not required in my situation.

Can't really do that with an installer, as the list there is just windows reading the installed packages from the registry.
You could just install the msi and then remove the registry keys manually, or install it, copy the files, uninstall it, and use the executable from some custom location.
To get it to show up in the default browser selection dropdown, you will need to add some registry keys.
These are defined here in the source: https://github.com/mortenn/BrowserPicker/blob/master/Setup/Product.wxs#L46
The reason I have not coded the app to set these keys on startup, is to not require admin privileges to use it :)

As the application settings are stored in HKCU, a portable version shouldn't require special registry configuration.
I may as well provide a stand-alone .exe with future releases.

You may download Portable.7z from the v1.8.2 release and use that now :)

I have built a portable version of BrowserPicker which bundles the .net runtime with the executable in this build - but I did not make an msi for it at this time.


Pictos textures look weird

Pictos have desaturated pixels

You can share with input images? I need it for debugging purposes.

Thanks. I will research about this issue tomorrow.
P.s. I will post updates as new comments!

UPD. This was compression problem. I added re-masking functionality which can be useful in situations like this.
Example

First was made without --white-alpha parameter.
Second was made with --white-alpha parameter.

Warning! I don't recommend to using it for everything. Because of this, i made this function optional...


Would you consider a MapError?

Hi
I have a problem where methods return different error types and I can't see a way to reconcile them...
return from user in GetLoggedInUser() //Returns Either<User, ActionResult>
   from profile in _userSvc.GetUserProfile(user.Id) //Returns Either<Profile, string>
   select profile;

In F# the Result<Success, Error> monad has a mapError function so you can change the type of the returned error. Would adding that be the correct approach here or would is there some other way to structure my code so that it isn't required?
With MapError my code would be like this:
return from user in GetLoggedInUser() //Returns Either<User, ActionResult>
   from profile in UpdateProfile(user.Id, newProfile) //Returns Either<Profile, string>
   select profile;

private Either<Profile, ActionResult> UpdateProfile(int userId, Profile newProfile) =>
   _userSvc.UpdateProfile(userId, newProfile).MapError(e => BadRequestObjectResult(e));

I'm happy to add a PR if this is an ok suggestion.
Cheers

Yeah that seems reasonable - PR welcome :). I think it would fit into the extensions class, but if that doesn't work out that's ok too.


interleave whitespace between recursive let and module bindings

Fixes https://github.com/facebook/reason/issues/1958

Should we even allow whitespace between recursive let bindings? As much as possible I'd still like us to be opinionated on whitespace

I think we should for consistency, it would be a little bit weird if we didn't allow it here.
Imagine rewriting the Reason printer with recursive functions instead of using the object system:
let rec printExpression = (e) => beatifulPrinting(e)

and printPattern = (pat) => ...

and printModule = (m) => ...

Some space between the different bindings gives a little more room to breath

Would this actually happen though? Because the reality would be:
let rec printExpression = (e) => {
  beatifulPrinting(e)
  ...
}
and printPattern = (pat) => {
  ...
}
and printModule = (m) => {
   ...
}

Right?

Yes, but someone might want the right the following:
let rec main = (e) => {
  ...
}

and helper1 = (_) => {
  ...
}
and helper2 = (_) => {
   ...
}
and helper3 = (_) => {
   ...
}

helper1, helper2, helper3 could be grouped together. Visually it becomes very clear that what the relation between the helper{X} and main is.
I might be completely wrong though, no opinion, and can close the PR.

I have a mild preference for keeping recursive bindings together


fix backslash removed from string literal

Parsing a string Literal, if a backslash is detected and the following character is not a valid escape code, the backslash is removed from the string.
This doesn't allow to do checks with a backslash inside a Literal, such as:
Identifier == 'hello\world'

because the parsed Literal value will become helloworld
{
    type: 'BinaryExpression'
    operator: '=='
    left: {
        type: 'Identifier'
        name: 'Identifier'
    }
    right: {
        type: 'Literal'
        value: 'helloworld'
        raw: ''helloworld''
    }
}

With this fix I'll keep the character if the backslash is not used as an escape code.

Keeping this open for now, but added tests of the example that is correct/incorrect would be very valuable.
Feel free to close if this something that is no longer necessary.

I think the value is correct in how it is evaluating the escape code, but I think the raw should be the original string, shouldn't it?

Fixed in #193 (and see #192 )


ContainerApp revision suffix invalid example

The example provided in the revision suffix section of the Revisions in Azure Container Apps does not work because "1st-revision" does not match the naming rules and results in this error:
ERROR: Invalid Container App revision name '1st-revision'. A revision name must consist of lower case alphanumeric characters or '-', start with a letter, end with an alphanumeric character and cannot have '--'.
The article never specifies these rules.
Suggestion:

The section should include the naming rules.
The given example should conform to the naming rules.

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

ID: 902622ec-2934-7504-d943-11fc9cd595fa
Version Independent ID: 1a79044d-0ce4-1791-aaff-41e80a8eecd0
Content: Revisions in Azure Container Apps
Content Source: articles/container-apps/revisions.md
Service: container-apps
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@DJ4ddi
Thanks for your feedback! We will investigate and update as appropriate.

We have added this validation in CLI parameter https://github.com/RakeshMohanMSFT/azure-cli-extensions/commit/cf16bb6833ea3959e742e8ebbd5d8016217baa68 and will make the change to the doc as well.


Filtering and mapping facilities using a DSL

Summary
This concerns an implementation of each and filter functions on a Table.
Value
These are the basic functions for querying the frame and data exploration.
Specification
The API–level description is provided in this Gist: https://gist.github.com/kustosz/49e1c588de4c1513cf91b18dd6342c15
This library should use the specified JSON format for exchanging queries between Luna and the C++ engine.
Simple operations such as:
df.each v: v.at "NUM_INSTALMENT_VERSION" * 2 + 4

df.filter v: v.at "NUM_INSTALMENT_VERSION" > 2

df.filter v: v.at "NUM_INSTALMENT_VERSION" > v.at "NUM_INSTALMENT_NUMBER"

Should take no longer than 200ms (pandas takes ~130ms for each of these), where df is the installments_payments.csv file from the Credit Default Risk competition at Kaggle.
Acceptance Criteria & Test Cases
The provided functions need to return correct values. The returned values will be compared to pandas outputs on the same queries.

It was pointed to me that using relative times is wrong. Let's aim at max 50% slower than pandas.


Optimization: Cache the calculated color

In desktop area, the next color has high odds to be the same of previous color.
If we cache the value, it can be reused by the next pixel avoiding recalculation.
This optimization can halve the function's processing.

Thank you for the pull request, but could you give some statistics about improvement (and your test case so we can verify)?

The same as the other PR. The patch is:
https://github.com/rgfernandes/FreeRDP/commit/6a78a94a05cb380235b3d3b98b305a1fbee12824
I have created 2 functions (freerdp_image_copy_orig and freerdp_image_copy_opt) and called the 2 in freerdp_image_copy().

Valgrind's output:
freerdp_image_copy.zip

@freerdp-bot test

I have just changed the commit to comply with code format.

@freerdp-bot test

@akallabeth, can you approve the merge again?


Support for constants with PHP short array syntax

Added support for constants with PHP short array syntax. Applicable for PHP 5.6 and above.

Hi, consider to switch to the maintained version of token reflection library: goaop/parser-reflection


Open Referral fork?

Hi there,
Is this a separate codebase from the Open Referral hsds-transformer?
It looks like there's overlap and freshness here!
Any notes on how this repo departs from Open Referral's hsds-transformer ?
We've been poking around the OR transformer and @devinbalkind referred me here through a discussion in the OR spec.

This is a fork commissioned by Open Referral. It has been updated to output a zip file that aligns with the HSDS 2.0.1 specification.

Great, thanks for the quickness!
Any chance of getting it wired in?

I didn't realize it wasn't. Yes we will.

wired in now: https://github.com/sarapis/hsds-transformer


win32: add a workaround for a LTCG issue on Windows ARM64

Problem: LTCG would miscompile the write_chars
Solution: Explicitly initialise the storage to use data rather than BSS
It appears that the implicit initialisation which would push g_coords into BSS causes an aliasing issue with LTCG on ARM64.  By explicitly initialising the value, we use usual data storage but prevent the aliasing.  This allows the console version of VIM to run on Windows ARM64 again.
Issue: #13453

oh wow. good analysis.


General Discussion

This section is open for general discussion; requests, questions, etc. When opening a new issue, please make sure to assign me to it - otherwise I may never see it!
💬 Telegram Channel/Group Chat

Hi men, it works like a charm!!! Thank you!
But I was wondering if tehere is a way of controlling the FANS trough macintosh or I have to go directly to the BIOS setting and do it from there....
Apreciate it!

Hi men, it works like a charm!!! Thank you!
But I was wondering if tehere is a way of controlling the FANS trough macintosh or I have to go directly to the BIOS setting and do it from there....
Apreciate it!

I could be wrong but I don't think there's a way to control fan speeds inside of macOS with a Ryzen CPU right now... however the dev of SMCAMD has mentioned he has plans to add fan control.
Cheers!

Hi @willza3 since I updated to 10.15.4 my pc boots directly into BIOS ando from there I have to pick on the boot options the disk from which i want to boot opencore and it boots correctly but,
my boot option priorities keep getting blank, I tried to LOAD OPTIMIZED DEFAULTS and also I tried bootoption from maco os terminal and bootICE from windows... and my boot options priorities on BIOS keep going blank...
so every time I boot i go to bios and select manually my ssd and then it goes into opnecore and works fine
What could it be?

Hi @willza3 since I updated to 10.15.4 my pc boots directly into BIOS ando from there I have to pick on the boot options the disk from which i want to boot opencore and it boots correctly but,
my boot option priorities keep getting blank, I tried to LOAD OPTIMIZED DEFAULTS and also I tried bootoption from maco os terminal and bootICE from windows... and my boot options priorities on BIOS keep going blank...
so every time I boot i go to bios and select manually my ssd and then it goes into opnecore and works fine
What could it be?

@manutaberner - I'm not really too sure if I'm honest as I've not had this issue :/ I have both Windows and macOS on seperate drives, with macOS as the main drive as OpenCore is able to boot Windows too.

Are you running the latest BIOS version?
Are Windows and macOS on seperate drives?

You could see if anyone on the AMD OSX Discord is able to help with this problem as I'm not really sure what the cause is

Hi @willza3 since I updated to 10.15.4 my pc boots directly into BIOS ando from there I have to pick on the boot options the disk from which i want to boot opencore and it boots correctly but,
my boot option priorities keep getting blank, I tried to LOAD OPTIMIZED DEFAULTS and also I tried bootoption from maco os terminal and bootICE from windows... and my boot options priorities on BIOS keep going blank...
so every time I boot i go to bios and select manually my ssd and then it goes into opnecore and works fine
What could it be?

@manutaberner - I'm not really too sure if I'm honest as I've not had this issue :/ I have both Windows and macOS on seperate drives, with macOS as the main drive as OpenCore is able to boot Windows too.

Are you running the latest BIOS version?
Are Windows and macOS on seperate drives?

You could see if anyone on the AMD OSX Discord is able to help with this problem as I'm not really sure what the cause is

As for the first question, I honestly don't know in which version I am, but definitely will check it.
Ansewring the second question, yes I have them in separate drives. Maybe is some issue with the BIOS with the installation when I updated. Thank you!!
PS: Is there anyway to change the icons of the opencanopy UI boot??

No problem! Let me know how you get on, this guide might be useful to you! Multiboot baby...
As for the OpenCanopy icons, they're stored in EFI/OC/Resources/Image in the .icns format. If you just replaced the files with your own, I don't see why it wouldn't work but I haven't tried this myself so maybe make a backup before modifying!

No problem! Let me know how you get on, this guide might be useful to you! Multiboot baby...
As for the OpenCanopy icons, they're stored in EFI/OC/Resources/Image in the .icns format. If you just replaced the files with your own, I don't see why it wouldn't work but I haven't tried this myself so maybe make a backup before modifying!

Hi willza3! Updating to the latest BIOS worked like a charm, next thing I will try to change the icons :)
Thank you for your apportations!

No problem! Let me know how you get on, this guide might be useful to you! Multiboot baby...

As for the OpenCanopy icons, they're stored in EFI/OC/Resources/Image in the .icns format. If you just replaced the files with your own, I don't see why it wouldn't work but I haven't tried this myself so maybe make a backup before modifying!

Hi willza3! Updating to the latest BIOS worked like a charm, next thing I will try to change the icons :)
Thank you for your apportations!

Great! Could you let me know which BIOS version you were running before updating? Just so I know which is bugged.

No problem! Let me know how you get on, this guide might be useful to you! Multiboot baby...

As for the OpenCanopy icons, they're stored in EFI/OC/Resources/Image in the .icns format. If you just replaced the files with your own, I don't see why it wouldn't work but I haven't tried this myself so maybe make a backup before modifying!

Hi willza3! Updating to the latest BIOS worked like a charm, next thing I will try to change the icons :)
Thank you for your apportations!

Great! Could you let me know which BIOS version you were running before updating? Just so I know which is bugg

No problem! Let me know how you get on, this guide might be useful to you! Multiboot baby...

As for the OpenCanopy icons, they're stored in EFI/OC/Resources/Image in the .icns format. If you just replaced the files with your own, I don't see why it wouldn't work but I haven't tried this myself so maybe make a backup before modifying!

Hi willza3! Updating to the latest BIOS worked like a charm, next thing I will try to change the icons :)
Thank you for your apportations!

Great! Could you let me know which BIOS version you were running before updating? Just so I know which is bugged.

I was using BIOS version 2801, it wasn't bugging maybe I touched something or during one of the two last updates you made I did something wrong, maybe that was the problem.
Now I am using last BIOS available version 3004. Everything works fine but I am struggling to change the opencanopy icons(i've read the docs(page 50 of opencore guide) but I am not understanding them) and I do not know how to erase some of the entries that appear on the opencore bootpicker.
Thank you men!

So the Supplemental Update is safe to update to current Patch Kernel?

So the Supplemental Update is safe to update to current Patch Kernel?

YESS!!! if you are already updated to 10.15.4 you can do the suplemental update, for me it worked fine

Asus Strix B450 F
Corsair Vengance 32 = 2x16 ram
Saphire rx 570
Ryzen 5 2600
ssd PNY 120
hd Seagate 2 TB
Power Supply Corsair CX750 M
Case Corsair Carbide Spec-06
Working great. thanks man... only Apple TV shows green screen

Asus Strix B450 F
Corsair Vengance 32 = 2x16 ram
Saphire rx 570
Ryzen 5 2600
ssd PNY 120
hd Seagate 2 TB
Power Supply Corsair CX750 M
Case Corsair Carbide Spec-06
Working great. thanks man... only Apple TV shows green screen

Just afd shikigva=80 and Apple TV will be fixed

Thanks I will make the change.

It works . Thanks a lot . willza3 / simplelifeeee0 .
By the way my usb wifi is TP link TL-WN823N , only download driver and works speedy.
I hope it is useful.
Next test : Same hardware but changes MB with MSI Tomahawk B450 .
I don't know if this EFI works with it.

That'll be interesting to see if it works on the MSI board, I'm surprised it even works on the B450F. I'm actually in the middle of looking at wireless cards for this board as I want Bluetooth etc. That USB one looks like a good alternative option though!
P.S - Did you have to make any changes for it to run on the B450F or did it work with no changes?

Thanks . I only download the last driver from tp link page support and works very good , im surprised too , and its speedy , ( I have windows 10 on another ssd) . I didn't make any changes . Your EFI works very good . I have another b450 ( Asus Prime b450) it has different audio codec , maybe i will test it too, I hope this test be helpful. Thanks a lot , this General Discussion is a very good idea.

https://www.tp-link.com/us/support/download/tl-wn823n/v3/#Driver
My usb wifi is ver 2 but I download version 3 driver for the same item. Its mac driver for Catalina.

Honestly the best option I’ve found is a pcie card, it’s called fenvi T919, it offers Wi-Fi and Bluetooth out of the box compatibility on Mac OS, no drivers or anything https://www.amazon.com/fenvi-Continuity-BCM94360CD-1750Mbps-Beamforming/dp/B07VCCZS54

ah thanks for the recomendation. I don't use blue tooth but I will consider it. Thanks a lot. maybe I will buy it.

For sure, biggest part of it that I like is handoff and airdrop, can’t get that without it tbh

yes its a good idea and recommendation.

That Fenvi card looks great, but I've got no room for it in my case (NZXT H100) 😜
Weirdly enough, this motherboard is advertised to have an Intel WiFi chip but it's actually a god-awful Realtek one. I'm going to replace mine regardless so I'll try grab one that's fully compatible with macOS.

If you’re talking about no more slots yea but size it’s actually pretty small tbh but there’s nvme versions of that better suits your needs

Thats a good point . NZXT H100. and good case.

I try recently with Asus Prime B450M-A with the same EFI but has issues.
One is al before boot menu: OC: Setting Nvram xxxxNumber : Not found
Lags and freezes randomly .
Works with Safari but with Firefox keeps lagging.
Slow but works with this issues.
I don't know what will happen with MSI Tomahawk next week.

@manutaberner: Some updates about some questions you asked a while ago 🙂

Everything works fine but I am struggling to change the opencanopy icons

If you were still wondering about this... looks like it's possible if you change Misc -> PickerAttributes from 1 to 9 - there's more information about different settings at the very bottom of page 29 of the configuration PDF.

I do not know how to erase some of the entries that appear on the opencore bootpicker.

With the latest update, I've changed the configuration so that OpenCanopy will only show bootable operating systems. If you need to access the system partitions again, just press space while in the boot picker to load OpenCanopy in extended mode.

Upgraded to OpenCore 0.5.8 without issues.

@manutaberner: Some updates about some questions you asked a while ago

Everything works fine but I am struggling to change the opencanopy icons

If you were still wondering about this... looks like it's possible if you change Misc -> PickerAttributes from 1 to 9 - there's more information about different settings at the very bottom of page 29 of the configuration PDF.

I do not know how to erase some of the entries that appear on the opencore bootpicker.

With the latest update, I've changed the configuration so that OpenCanopy will only show bootable operating systems. If you need to access the system partitions again, just press space while in the boot picker to load OpenCanopy in extended mode.

THANK YOU!! It works like a charm, now I will rey tomchange the iconos, you are really kind :)

How can I blog info the recovery OS now? I al trying everything but seems impossible...

Press space on the boot picker

I am running into this issue but the fix does not work for me: https://dortania.github.io/OpenCore-Desktop-Guide/troubleshooting/troubleshooting.html#frozen-in-the-macos-installer-after-30-seconds
I head a  AMDRyzenCPUPowerManagement.kext instead of NullCPUPowerManagement.kext.
What can i try?

But I was wondering if tehere is a way of controlling the FANS trough macintosh or I have to go directly to the BIOS setting and do it from there....

Update on this: The latest version of SMCAMD has experimental fan control 😄

I am running into this issue but the fix does not work for me: https://dortania.github.io/OpenCore-Desktop-Guide/troubleshooting/troubleshooting.html#frozen-in-the-macos-installer-after-30-seconds
I had a AMDRyzenCPUPowerManagement.kext instead of NullCPUPowerManagement.kext.
What can i try?

Haven’t seen this issue before... 🧐
Could you open a new issue with more detail so I can look into this further? Thanks 🙂

Curently I have this issue! I need help!! I use 0.5.8 BOOT folder ( because seem like you havent update to 0.5.8) and use fully your OC folder.
2400G w/ RX580 MSI Gaming x 8Gb

@tranhoanvo - From what I remember, audio stuttering issues on G CPUs can't be fixed as it's caused by the APU. I had the exact same issue when I had a 2200G.
You can always try this possible solution... but I can't test anything myself as I don't have a G CPU anymore.
Let me know 👍

@willza3 - Thank you. Okay so first of all it's CPU's fault, and to anyone w/ 2400G might concern I found out a way to temporarily fix this. Do a sleep to your PC for a few minutes, then wake it. Problem solved!

@willza3 Everything ok except Slow booting(1-2minutes). :( stuck at "IOUSBHostInterface" and "AppleUserUSBHostHIDDevice"

Anyone has try catalina 10.15.5?

@willza3 - Did you experience sleep problem ?  Cannot wake after sleep at all ( cpu, psu fan still spin, keyboard + mouse disconnected and cannot wake0. Just change CPU from 2400G -> 3500 and native mac wifi card and face this issue. LOL too many things to handle. I heard that this is the known issue but why it works for me at first but now didn't ...

@tranhoanvo pm tôi. máy tôi ryzen 5 3600 sleep bth. :D. Email<EMAIL_ADDRESS>

Anyone has try catalina 10.15.5?

Updated through System Preferences with no issues 🙂

Hi willza3
I really appreciate your effort and fast updates.
I just wanted to say THANK YOU!

Hello all! i was thinking of buying an Asus strix b450-f to upgrade my PC and was wondering if this EFI is compatible with it? The boards are similar enough right? And if not, I’ve done some intel and AMD hackintoshes before so i presume i could troubleshoot too

Hello all! i was thinking of buying an Asus strix b450-f to upgrade my PC and was wondering if this EFI is compatible with it? The boards are similar enough right? And if not, I’ve done some intel and AMD hackintoshes before so i presume i could troubleshoot too

Yes, it can use for b450-f...

Epic, thanks

Heads up - Big Sur doesn't boot.

@willza3 will u work on Big Sur?

@willza3 will u work on Big Sur to fix boot? Would be nice could install and use it

I'm not a maintainer for OpenCore or AMD Vanilla, so while it won't be me specifically developing those fixes (props to the OC & AMDOSX team), I will be implementing those fixes into this configuration whenever they become available. To seperate Catalina and Big Sur (until it's official release), I've added a new branch that will add those fixes. As of now it's identical to the main branch and doesn't work.
I'm guessing the new kernel is because Apple will be transitioning to using their own processors over the next two years, starting this week with the Mac mini DTK.

Thanks for this. I have the same itx motherboard and was able to use this to install Mac OSX on my system. However you recommend to enable secure boot (Windows UEFI) on the main page, but I was unable to boot to the usb install or OSX partition until I set secure boot to Other.

Thanks for this. I have the same itx motherboard and was able to use this to install Mac OSX on my system. However you recommend to enable secure boot (Windows UEFI) on the main page, but I was unable to boot to the usb install or OSX partition until I set secure boot to Other.

Hmm strange... I can boot into the installer with it enabled. Will update the readme anyway, thanks for letting me know 🙏

I put all your newest EFI folder into my EFI partition, and only changed the SN number.(also changed the DeviceProperties to make the Audio work). But the 「OpenCore Configurator」 and 「Hackintool」both warning me that the opencore is 0.5.7.
There is a new BIOS outed on ASUS's website.

I put all your newest EFI folder into my EFI partition, and only changed the SN number.(also changed the DeviceProperties to make the Audio work). But the 「OpenCore Configurator」 and 「Hackintool」both warning me that the opencore is 0.5.7.

Not sure why that's happening, it shouldn't cause any issues though, probably just a bug.

There is a new BIOS outed on ASUS's website.

Thanks for letting me know 🙂 I'm hoping it won't cause any issues 🤞

Maybe you should create a chat group on Telegram to let us communicate more easily and we can help each other with some easy questions.

You're right, I did say I'd create one but never did 🥴 If you open the channel there should be a new "Discuss" tab, which will take you to the new group chat.

I put all your newest EFI folder into my EFI partition, and only changed the SN number.(also changed the DeviceProperties to make the Audio work). But the 「OpenCore Configurator」 and 「Hackintool」both warning me that the opencore is 0.5.7.

Not sure why that's happening, it shouldn't cause any issues though, probably just a bug.

There is a new BIOS outed on ASUS's website.

Thanks for letting me know 🙂 I'm hoping it won't cause any issues 🤞

Maybe you should create a chat group on Telegram to let us communicate more easily and we can help each other with some easy questions.

You're right, I did say I'd create one but never did 🥴 If you open the channel there should be a new "Discuss" tab, which will take you to the new group chat.

hey im on the newest bios and so far no issue at all, also would you like to look at my efi? its a modded version of yours with full sleep and hibernation (this is using the usb 2.0 port thing from the sleep discussion which I can send a link for so others can buy it and have working sleep)

@willza3 hey just wanted to let you know i got Big Sur installed and booted with my efi, posted it on your telegram discuss channel

I'm looking for a procedure to move all required boot components from USB disk to internal drive. How it can be done?

Can we use this config with Ryzen 7 3700x?

I'm looking for a procedure to move all required boot components from USB disk to internal drive. How it can be done?

Use MountEFI to mount your EFI (duh) and then transfer the files from the USB to your internal drive.

Can we use this config with Ryzen 7 3700x?

yes

Have you tried to install and run HWMonitor on this motherboard ?

BigSur does boot now?

BigSur does boot now?

You can join the Telegram group. There is another EFI file that can boot BigSur.

Cheers @willza3 for this repository, worked out of the box.
I just used GenSMBIOS to generate new SMBIOS, and for my RX 5700XT, I had to add agdpmod=pikera to boot-args to fix the black screen after boot. (from docs: https://dortania.github.io/OpenCore-Install-Guide/AMD/zen.html#add-4 > GPU-Specific boot-args section)
There is one thing I found weird is that Bluetooth is working out of the box on Asus ROG STRIX B450-E. (Not WiFi though.)

Hello everyone, I had Catalina installed with efi-willza3 but updating bios of b450-i asus now shows error:
Err (0xE), locHB 71B4903C-14ec -.....
someone pass this some way to correct it .. checking
https://forum.amd-osx.com/index.php?threads/asus-bios-upgrade-stuck-eb-log-exitbs-start.546/
RebuildAppleMemoryMap: true
SetupVirtualMap: false
SyncRuntimePermissions: true
AND IT BOOTED!
I think getting bios up to AGESA V2 PI <IP_ADDRESS> was the fix.
!!!! but to me with my asus b450-i r5 3600 and rx5500xt it DOES NOT WORK

SOLVED ASUS B450-I BIOS 4204 with catalina
-v debug=0x100 keepsyms=1 npci=0x2000 shikigva=128 agdpmod=pikera
SetupVirtualMap:false
RebuildAppleMemoryMap:true
SyncRuntimePermissions:true
JumpstartHotPlug:true
re-sizebar off

Have enabled the new 'Discussions' section! 👍
https://github.com/willza3/macOS-strix-B450i/discussions


simplify x = x <op> ... to x <op>= ...

Found using https://go-critic.github.io/overview#assignOp-ref

Codecov Report

Merging #1538 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #1538   +/-   ##
=======================================
  Coverage   89.05%   89.05%
=======================================
  Files         123      123
  Lines        8610     8610
=======================================
  Hits         7667     7667
  Misses        642      642
  Partials      301      301

Impacted Files
Coverage Δ

internal/congestion/cubic_sender.go
92.48% <100%> (ø)
:arrow_up:

internal/ackhandler/sent_packet_handler.go
80.23% <100%> (ø)
: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 085a777...8ff3bf8. Read the comment docs.


All textures use TEXCOORD 0

Certain models have a second layer of textures (Diffuse 2 for example) with alpha that should be rendered on top of the first.  These should use an alternate UV Map (usually TEXCOORD 3), but use the first one (TEXCOORD 0) instead.  Probably has something to do with incorrect binding of the UV map to the material, and should be correctable with the <bind_vertex_input> element I think... but I can't get the compiler to do anything with this element.  (instance_controller -> bind_material -> technique_common -> instance_material -> ... -> bind_vertex_input)

Per Arc, a workaround for now is to duplicate the part of the mesh to a new mesh, move it very slightly off the original mesh and set the TEXCOORD3 to TEXCOORD0 and Diffuse 2 to Diffuse 1 (and whatever other second layer textures you need) and assign a shader with transparency.  Not ideal, but it works.


Delete any in _app.tsx and find a real solution

For an unknown reason the build didn't work anymore on Vercel (I think it's because typescript versions or certain package versions are different between Vercel and local).
I wasn't able to find a clean solution so I added this piece of code which is very dirty (making it work was urgent). Ideally, we'll find the real solution.

Link of the PR making the changes https://github.com/starknet-id/affiliate.starknet.id/pull/16


Adding new range check32 table implementation

Might be useful to have a look at https://github.com/o1-labs/proof-systems/pull/2395/


Linux_build_test flutter_gallery__transition_perf tasks not being scheduled

The list of builds in the status page for that task is all green, but the column on the dashboard has had the same 5 or 6 gray boxes (and 1 yellow) since last night with no progress. (In that same amount of time, the entire grid of tasks back-filled except for this one column). It looks like the scheduling of these tasks stalled at some point...
https://ci.chromium.org/p/flutter/builders/prod/Linux_build_test flutter_gallery__transition_perf

Seems tasks are updated as In Process though they failed to get scheduled to run. Sounds an issue when scheduling targets. Updated the title to reflect the real issue.
With In Progress in the column, top recent grey ones will not be picked up by back filler (which back fills targets only when no In Progress entries exist). To unblock, manually updated the In Progress task to New.
For context: this is not a blocking issue in long term. The back filler checks recent 20 runs and it will start back filling grey boxes when the In Progress box falls out of the range. At the same time, the scheduler also forces a schedule every 6 commits even though there is an earlier In Progress box.

@keyonghan to be clear, the entry in the most recent row was gray the entire night and was still gray in the morning about 10-11 hours later. It's not just the back fill that was missing, it didn't even complete the testing on the most recent commit.

Several changes/improvements about scheduler and backfiller have been landed over the past months. I expect the issue has been resolved. Please reopen if you see the issue repros.


Accept Icon Type as a prop

In some situations I need to have different icon type for specific icons.

This would be super useful as it means we can use icons from other sets without having to manually import from vector-icons and lose the NB theme support.

I need this! much more easier...

Related issues: #389

@alexrussell thank you, i fixed that. i thought all rules can be chain but it looks like its specific to isRequired.

np, just hoping we can get this merged :)

@yeknava Can you share example snippet with output for this

Sample intended use:
<View>
    <Icon name='person' />
    <Icon type='FontAwesome' name='user' />
</View

//  Will actually 'translate' to the followoing:

<View>
    <Ionicons name='person' />
    <FontAwesome name='user' />
</View>

// (Assuming the icon theme is the default of Ionicons.)

The only two issues I see right now is that the entirety of props is proxied to the actual icon that'll be used, so actually my example above isn't quite correct, as the second example (Font Awesome) will also get the type prop passed along. Arguably, this should be removed from the props being proxied.
The second issue is that the type prop will only be used if the Icon has a theme set in the context. Now, I think a theme is passed in by default anyway so it's unlikely that there won't be one, but arguably the type prop should always set the icon type regardless of the context theme.

Also, setting this.Icon in cWM might be asking for trouble - if the Icon received a different type in props, the new type will not be used as the previous Icon instance won't be unmounted and remounted, but just re-rendered with the new props sent through cWRP.
Of course this isn't an issue with this PR per se, it's just the way that this component was originally set up (setting a class property in cWM), but this PR makes it meaningful that this is done as a class property in cWM so it is something that should be addressed by this PR.
That said, I'd say that for now the PR is fine to be merged, and the things I've mentioned can be documented as current caveats, which can be fixed later.

@alexrussell i like your approach but i see this problem in any NB components. they lacks of customization when i compare them with RNE or other react or vuejs components. there are a lot of options as props and accept style also for more customization.

@yeknava sorry I don't quite understand - isn't this PR specifically to add customisation to the Icon component?
All I was saying above, for clarity, is that there's a potential issue with the type prop not being respected if it were to change dynamically during runtime. Consider the following code:
render () {
  return (
    <View>
      <Icon type={this.state.iconTypeFA ? 'FontAwesome' : 'Ionicons'} name='arrow-up' />
      <Button onPress={() => this.setState({ iconTypeFA: ! Boolean(this.state.iconTypeFA) })}>
        Change icon type
      </Button>
    </View>
  )
}

That will render an "arrow-up" icon in Ionicons and a button underneath which switches the icon's type to 'FontAwesome'. But using the current code as in this PR, the icon's type will not update to FontAwesome as the Icon itself is not unmounted and remounted, but instead just sent new props and asked to re-render.

@alexrussell nice catch, i addressed dynamic type change issue in patch-2 (didnt tested it yet btw)

Looks like it'd probably do the job, though I'd be inclined to actually go back to the original code that did the theme decision on mount and just do the props check in the render method - if props.type exists use that, otherwise use the this.Icon value we worked out before.

@alexrussell its still get icon type from theme but in some cases we need to overwrite theme icon type for a specific icon. (i had a case like this)

Not sure what you're getting at there. No worries anyway, it's all good.

@alexrussell Some set of icons might not have the icon you need but the other one has it so we should be able to decide which icon set to use at component level.

@OogieBoogieInJSON I totally get that (I even gave the example of use that @SupriyaKalghatgi asked for), but that's what this PR does. I'm all for that.

@alexrussell is this already implemented, i'm currently using native base 2.3.3

@webdevsyd this is not merged yet, that's why this PR is still open

Works but getting this error in typescript:

@JeremyBradshaw7 #1594

Thanks @SupriyaKalghatgi - this will hopefully be merged soon.


Add link to cancan-inherited_resources on wiki page

It looks like the wiki is not editable to normal humans like myself (which surprised me greatly as I've never seen a project that locked it down before; I had to do a double take to see if the edit link was just somewhere else on the page).
May I suggest, first of all, adding some instructions on https://github.com/CanCanCommunity/cancancan/wiki for what the preferred way of making/requesting edits to the wiki is? I've cloned the wiki repo but I don't think there's a way to submit a MR directly to it, is there?
Here is a patch from git format-patch for your consideration.
0001-Mention-cancan-inherited_resources.patch.txt
(Rather than making it sound like it's simply not possible in versions later than 2.)
Thanks!

Thanks. Help is always appreciated also from normal human beings.


SM-612 - Device definitions api dd on chain

Proposed Changes
Impacted Routes

Caveats

let's re-review this based on recent learnings.
rebase with main (lmk if need help)
objective is: logic that creates or updates on device-definitions also pushes through to tableland / on-chain. Either from vin-decode or manual operations on Admin tool.

closed since this is in prod.


New About Mattermost Landing Page

Summary
Adds guided content to the About Mattermost landing page.
Ticket Link
n/a

@cwarnermm - I just want to confirm the new redirects will navigate to new subscriptions page and product page from these links?
@BenLloydPearson - We added some new content in the about sections (see this preview)


[feature] Trigger an event when events are received for Inactive calls

We found it useful for monitoring/alerting whenever an event is received for an inactive call. This adds a new event that is triggered for handling that scenario.

Test failures are unrelated (and probably my fault).

Thanks for contributing this @fractalis!


[Feature Request] Integration with Git

One of great down-points of Git diff is its programming language ignorance,
making some of the diff output difficult to understand from a programming POV.
Since both difftastic and Git used mainly for programming, it would be great to
run git diff using difftastic engine.
Is it possible/makes sense?

Read the docs!
Have you seen https://difftastic.wilfred.me.uk/git.html ?

Yep, this is already supported, see the manual :) https://difftastic.wilfred.me.uk/git.html


Create theme from scratch - mime error!?

So i created a new theme and used themekit to setup the theme locally. Works fine and i can edit the files. But when i try to edit my scss i get this error in the console
"Refused to apply style from 'https://cdn.shopify.com/s/files/1/0175/8072/0228/t/2/assets/application.scss.css?3366955993252409450' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled."
and css changes isnt applied. Everything else works fine. Frustrating!! SOS - anyone?

closing because it is a duplicate of #609


How to separate View from Fragment

Hi,
I love your code example, I wanted to develop separated design where View is separated from Fragment.
In activity it's easy, you inject View and setContentView() to that view. In fragment it's messed up because view is created on onCreateView(). Is there any way to implement that design to Fragment?

the onCreateView() method returns a view so instead of inflating a view you just return the inject/created one.