Question
Assignment Overview:

Your portfolio will consist of:
• A learning journal that uses the specified template.
• Your source code and data files that use the specified structure.
• It is recommended that you use a revision control system, such as subversion, for maintaining your source code. This will enable your code to be backup up and will also provide a source of evidence in your defence if collusion is suspected.
The module is assessed by evidence that you provide of:
• Analysis of supplied programs and experimentation with them.
• Capturing results and depicting them as graphs.
• Written answers to the given related theoretical questions.
• Writing programs to solve computationally expensive problems that require High Performance Computing.
• Written explanations of your results and reflections of your learning.
Two different technologies, POSIX Threads and CUDA will be combined with one application domain of password cracking. The following sections are first ordered, by technology then by application domain.

Task 1 Parallel and Distributed Systems

1. What are threads and what they are designed to solve?

2. Name and describe two process scheduling policies. Which one is preferable and does the choice of policies have any influence on the behavior of Java threads?

3. Distinguish between Centralized and Distributed systems?

4. Explain transparency in D S?

5. The following three statements contain a flow dependency, an antidependency and an output dependency. Can you identify each? Given that you are allowed to reorder the statements, can you find a permutation that produces the same values for the variables C and B? Show how you can reduce the dependencies by combining or rearranging calculations and using temporary variables.

Note: Show all the works in your report and produce a simple C code simulate the process of producing the C and B values.
B=A+C B=C+D C=B+D

6. What output do the following 2 programs produce and why?

#include <pthread.h>
#include <stdio.h>
#include <pthread.h>
#include <stdio.h>
int counter;
static void * thread_func(void * _tn)
{
int i;
int counter;
static void * thread_func(void * _tn)
{
int i;
for (i = 0; i < 100000; i++)
for (i = 0; i < 100000; i++)
counter++; counter++;
return NULL; return NULL;
}
}
int main() {
int main() {

int i, N = 5; pthread_t t[N];
for (i = 0; i < N; i++)

pthread_create(&t[i], NULL, thread_func, NULL);
for (i = 0; i < N; i++) pthread_join(t[i], NULL);
printf("%d\n", counter);
return 0;
}
int i, N = 5; pthread_t t[N];
for (i = 0; i < N; i++) {

pthread_create(&t[i], NULL, thread_func, NULL);
pthread_join(t[i], NULL);

}

printf("%d\n", counter);
return 0;
}

Task 2: Applications of Matrix Multiplication and Password Cracking using HPC- based CPU system:

Part A: Single Thread Matrix Multiplication
Study the following algorithm that is written for multiplying two matrices A and B and storing the result in C.

Now answer each of the following questions:
• Analyse the above algorithm for its complexity.
• Suggest at least three different ways to speed up the matrix multiplication algorithm given here. (Pay special attention to the utilisation of cache memory to achieve the intended speed up).
• Write your improved algorithms as pseudo-codes using any editor. Also, provide a reasoning as to why you think the suggested algorithm is an improvement over the given algorithm.
• Write a C program that implements matrix multiplication using both the loop as given above and the improved versions that you have written.
• Measure the timing performance of these implemented algorithms. Record your observations. (Remember to use large values of N, M and P – the matrix dimensions when doing this task).

Part B: Write a code to implement matrix multiplication using multithreading
• Write a C program to implement matrix multiplication using multithreading. The number of threads should be configurable at run time, for example, read via an external file.
• The code should print the time it takes to do the matrix multiplication using the given number of threads by averaging it over multiple runs.
• Plot the time it takes to complete the matrix multiplication against the number of threads and identify a sweet spot in terms of the optimal number of threads needed to do the matrix multiplication.
(In doing this exercise, you should use matrices of large sizes e.g. 1024 * 1024 sized matrices).

Part C: Password cracking using POSIX Threads

You will be provided with a template code of encrypting a password using SHA-512 algorithm. You are asked to run a code using the given template to encrypt a password contains TWO uppercase letters and TWO integer numbers (total 4 digits). Afterwards, you need to run the given code to crack the password, i.e. find the plain- text equivalents. An example password is AS12.
1. Run the given cracking program 10 times and calculate the mean running time (Using 2 uppercase letters and 2 integer numbers).
2. In your learning journal make an estimate of how long it would take to run on the same computer if the number of initials were increased to 3. Include your working in your answer.
3. Modify the program to crack the three-initials-two-digits password given in the three_initials variable. An example password is HPC19.
4. Write a short paragraph to compare the running time (average of 10 times) of your three_initials program with your earlier estimate. If your estimate was wrong explain why you think that is.
5. Modify the original version of the program to run on 2 threads. It does not need to do anything fancy, just follow the following algorithm.
• Record the system time a nano second timer
• Launch thread_1 that calls kernel_function_1 that can search for passwords starting from A-M
• Launch thread_2 that calls kernel_function_2 that can search for passwords starting from N-Z
• Wait for thread_1 to finish
• Wait for thread_2 to finish
• Record the system time using a nano second time and print the elapsed time.
6. Compare the results of the mean running time of the original program, (obtained by step no. 1), with the mean running time of the multithread version (10 running times).

Task 3: Applications of Password Cracking and Image Blurring using HPC-based CUDA system

Part A: Password cracking using CUDA
Using the same concept as before, you will now crack passwords using CUDA. Your program will take in an encrypted password and decrypt using many threads. CUDA allows multidimensional thread configurations so your kernel function (which runs on the GPU) will need to be modified according to how you configure the execution command.

Crack passwords using CUDA
Comparison, analysis and evaluation of CUDA version for password cracking (compare with normal and “pthread” version)

Part B: Image blur using multi dimension gaussian matrices (multi-pixel processing)
Your program will decode a PNG file into an array (or 2D array) and apply the gaussian blur filter. Blurring an image reduces noise by taking the average RGB values around a specific pixel and setting its RGB to the mean values individually. For this assessment, you will use a 3x3 matrix however, higher marks will be given to those who allow the user to specify the blur matrix dimensions. This could be 5x5, 7x7, 9x9 etc.

Here is an example of how the blur works:
Suppose you have a 5x5 image such as the following (be aware that the coordinate values may change how you format your 2-dimensional array):

0,4 1,4 2,4 3,4 4,4
0,3 1,3 2,3 3,3 4,3
0,2 1,2 2,2 3,2 4,2
0,1 1,1 2,1 3,1 4,1
0,0 1,0 2,0 3,0 4,0

The shaded region above represents the matrix blur position, the yellow highlighted pixel is the one we want to blur, in this case, we are focusing on pixel 1,2 (x,y) (Centre of the matrix). To apply the blur for this pixel, you would sum all the Red values from the surrounding coordinates including 1,2 (total of 9 R values) and find the average (divide by 9). This is now the new Red value for coordinate 1,2. You must then repeat this for Green and Blue values. This must be repeated throughout the image. If you are working on a pixel which is not fully surrounded by pixels (8 pixels), you must take the average of however many neighbouring pixels there are.

Applying gaussian blur with 3x3 matrix using CUDA
Applying gaussian blur with multiple dimension matrices using CUDA
Solution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references.
Students may use these solutions for personal skill-building and practice.
Unethical use is strictly forbidden.

/*
* matrix_utils.c
*/

#include <stdio.h>
#include <stdlib.h>

void print_matrix(float** matrix, int n_rows, int n_columns)
{
for (int i = 0; i < n_rows; i++)
{
for(int j = 0; j < n_columns; j++)
{
printf("%2.2f ", matrix[i][j]);
}
printf("\n");
}
printf("\n");
}

float** random_matrix(const int n_rows, const int n_columns)
{
float** matrix = (float**)malloc(sizeof(float*) * n_rows);

for(int i = 0; i < n_rows; i++)
{
matrix[i] = (float*)malloc(sizeof(float) * n_columns);
for(int j = 0; j < n_columns; j++)
{
matrix[i][j] = rand() % 10;
}
}

return matrix;
}

float** zero_matrix(const int n_rows, const int n_columns)
{
float** matrix = (float**)malloc(sizeof(float*) * n_rows);

for(int i = 0; i < n_rows; i++)
{
matrix[i] = (float*)malloc(sizeof(float) * n_columns);
for(int j = 0; j < n_columns; j++)
{
matrix[i][j] = 0;
}
}

return matrix;
}

void delete_matrix(float** matrix, const int n_rows, const int n_columns)
{
for(int i = 0; i < n_rows; i++)
{
free(matrix[i]);
}
free(matrix);
}
This is only a preview of the solution.
Please use the purchase button to see the entire solution.
By purchasing this solution you'll be able to access the following files:
Solution.zip
Purchase Solution
$50.00
Google Pay
Amazon
Paypal
Mastercard
Visacard
Discover
Amex
View Available Computer Science Tutors 529 tutors matched
Ionut
(ionut)
Hi! MSc Applied Informatics & Computer Science Engineer. Practical experience in many CS & IT branches.Research work & homework
5/5 (5,654+ sessions)
2 hours avg response
Leo
(Leo)
Hi! I have been a professor in New York and taught in a math department and in an applied math department.
4.9/5 (5,652+ sessions)
2 hours avg response
Pranay
(math1983)
Ph.D. in mathematics and working as an Assistant Professor in University. I can provide help in mathematics, statistics and allied areas.
4.6/5 (5,512+ sessions)
1 hour avg response

Similar Homework Solutions

8.1.0PHP Version705msRequest Duration45MBMemory UsageGET college-homework-library/{category}/{subject}/{id}Route
    • Booting (505ms)time
    • Application (200ms)time
    • 1 x Booting (71.64%)
      505ms
      1 x Application (28.35%)
      200ms
      • Illuminate\Routing\Events\Routing (6.23ms)
      • Illuminate\Routing\Events\RouteMatched (1.91ms)
      • Illuminate\Foundation\Events\LocaleUpdated (5.08ms)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (251μs)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (221μs)
      • Illuminate\Database\Events\ConnectionEstablished (1.2ms)
      • Illuminate\Database\Events\StatementPrepared (13.23ms)
      • Illuminate\Database\Events\QueryExecuted (1.23ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (155μs)
      • eloquent.booting: App\Models\Subject (139μs)
      • eloquent.booted: App\Models\Subject (65μs)
      • Illuminate\Database\Events\StatementPrepared (2.18ms)
      • Illuminate\Database\Events\QueryExecuted (968μs)
      • eloquent.retrieved: App\Models\Subject (164μs)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (170μs)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (140μs)
      • Illuminate\Database\Events\StatementPrepared (764μs)
      • Illuminate\Database\Events\QueryExecuted (735μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (210μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (28μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (9μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.booting: App\Models\SubjectCat (603μs)
      • eloquent.booted: App\Models\SubjectCat (41μs)
      • Illuminate\Database\Events\StatementPrepared (651μs)
      • Illuminate\Database\Events\QueryExecuted (928μs)
      • eloquent.retrieved: App\Models\SubjectCat (88μs)
      • Illuminate\Cache\Events\CacheHit (14.15ms)
      • Illuminate\Cache\Events\CacheMissed (345μs)
      • Illuminate\Database\Events\StatementPrepared (1.01ms)
      • Illuminate\Database\Events\QueryExecuted (16.27ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (96μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (18μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (8μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (7μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (6μs)
      • Illuminate\Database\Events\StatementPrepared (646μs)
      • Illuminate\Database\Events\QueryExecuted (793μs)
      • eloquent.retrieved: App\Models\Subject (82μs)
      • Illuminate\Cache\Events\KeyWritten (839μs)
      • Illuminate\Database\Events\StatementPrepared (2.32ms)
      • Illuminate\Database\Events\QueryExecuted (898μs)
      • Illuminate\Database\Events\StatementPrepared (734μs)
      • Illuminate\Database\Events\QueryExecuted (891μs)
      • Illuminate\Database\Events\StatementPrepared (709μs)
      • Illuminate\Database\Events\QueryExecuted (837μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (44μs)
      • Illuminate\Cache\Events\CacheHit (650μs)
      • creating: homework.show (411μs)
      • composing: homework.show (125μs)
      • creating: components.breadcrumbs (288μs)
      • composing: components.breadcrumbs (121μs)
      • Illuminate\Database\Events\StatementPrepared (1.19ms)
      • Illuminate\Database\Events\QueryExecuted (820μs)
      • eloquent.retrieved: App\Models\SubjectCat (66μs)
      • Illuminate\Cache\Events\CacheMissed (5.46ms)
      • Illuminate\Database\Events\StatementPrepared (708μs)
      • Illuminate\Database\Events\QueryExecuted (1.09ms)
      • eloquent.retrieved: App\Models\SubjectCat (123μs)
      • Illuminate\Cache\Events\KeyWritten (360μs)
      • Illuminate\Cache\Events\CacheHit (364μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (259μs)
      • Illuminate\Cache\Events\CacheHit (219μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (201μs)
      • Illuminate\Cache\Events\CacheHit (219μs)
      • Illuminate\Cache\Events\CacheHit (207μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (199μs)
      • Illuminate\Cache\Events\CacheHit (174μs)
      • Illuminate\Cache\Events\CacheHit (202μs)
      • Illuminate\Cache\Events\CacheHit (175μs)
      • Illuminate\Cache\Events\CacheMissed (297μs)
      • Illuminate\Database\Events\StatementPrepared (705μs)
      • Illuminate\Database\Events\QueryExecuted (1.02ms)
      • eloquent.retrieved: App\Models\SubjectCat (84μs)
      • Illuminate\Cache\Events\KeyWritten (413μs)
      • Illuminate\Cache\Events\CacheHit (266μs)
      • Illuminate\Cache\Events\CacheHit (239μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (237μs)
      • Illuminate\Cache\Events\CacheHit (196μs)
      • Illuminate\Cache\Events\CacheHit (265μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheMissed (325μs)
      • Illuminate\Database\Events\StatementPrepared (730μs)
      • Illuminate\Database\Events\QueryExecuted (1.15ms)
      • eloquent.retrieved: App\Models\SubjectCat (76μs)
      • Illuminate\Cache\Events\KeyWritten (422μs)
      • Illuminate\Cache\Events\CacheHit (311μs)
      • Illuminate\Cache\Events\CacheHit (227μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (225μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (232μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (201μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (204μs)
      • Illuminate\Cache\Events\CacheHit (182μs)
      • Illuminate\Cache\Events\CacheHit (217μs)
      • Illuminate\Cache\Events\CacheHit (196μs)
      • Illuminate\Cache\Events\CacheHit (207μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (218μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (216μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (218μs)
      • Illuminate\Cache\Events\CacheHit (172μs)
      • Illuminate\Cache\Events\CacheHit (206μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (221μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (220μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheMissed (308μs)
      • Illuminate\Database\Events\StatementPrepared (806μs)
      • Illuminate\Database\Events\QueryExecuted (1.06ms)
      • eloquent.retrieved: App\Models\SubjectCat (220μs)
      • Illuminate\Cache\Events\KeyWritten (502μs)
      • Illuminate\Cache\Events\CacheHit (315μs)
      • Illuminate\Cache\Events\CacheHit (332μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (238μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (199μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (226μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (217μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (259μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (283μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (325μs)
      • Illuminate\Cache\Events\CacheHit (260μs)
      • Illuminate\Cache\Events\CacheHit (471μs)
      • Illuminate\Cache\Events\CacheHit (505μs)
      • Illuminate\Cache\Events\CacheHit (221μs)
      • Illuminate\Cache\Events\CacheHit (196μs)
      • Illuminate\Cache\Events\CacheHit (205μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (205μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (202μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (253μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (202μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (277μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (220μs)
      • Illuminate\Cache\Events\CacheHit (177μs)
      • Illuminate\Cache\Events\CacheHit (208μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheMissed (304μs)
      • Illuminate\Database\Events\StatementPrepared (909μs)
      • Illuminate\Database\Events\QueryExecuted (2.34ms)
      • eloquent.retrieved: App\Models\SubjectCat (181μs)
      • Illuminate\Cache\Events\KeyWritten (449μs)
      • Illuminate\Cache\Events\CacheHit (382μs)
      • Illuminate\Cache\Events\CacheHit (279μs)
      • Illuminate\Cache\Events\CacheHit (481μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (244μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheMissed (293μs)
      • Illuminate\Database\Events\StatementPrepared (656μs)
      • Illuminate\Database\Events\QueryExecuted (1.03ms)
      • eloquent.retrieved: App\Models\SubjectCat (91μs)
      • Illuminate\Cache\Events\KeyWritten (366μs)
      • Illuminate\Cache\Events\CacheHit (216μs)
      • Illuminate\Cache\Events\CacheHit (215μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (245μs)
      • Illuminate\Cache\Events\CacheHit (233μs)
      • Illuminate\Cache\Events\CacheHit (301μs)
      • Illuminate\Cache\Events\CacheHit (204μs)
      • Illuminate\Cache\Events\CacheHit (217μs)
      • Illuminate\Cache\Events\CacheHit (172μs)
      • Illuminate\Cache\Events\CacheHit (222μs)
      • Illuminate\Cache\Events\CacheHit (272μs)
      • Illuminate\Cache\Events\CacheHit (1.04ms)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (210μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (206μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (206μs)
      • Illuminate\Cache\Events\CacheHit (297μs)
      • Illuminate\Cache\Events\CacheHit (242μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (221μs)
      • Illuminate\Cache\Events\CacheHit (356μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (272μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (223μs)
      • Illuminate\Cache\Events\CacheHit (277μs)
      • Illuminate\Cache\Events\CacheMissed (432μs)
      • Illuminate\Database\Events\StatementPrepared (1.01ms)
      • Illuminate\Database\Events\QueryExecuted (1.13ms)
      • eloquent.retrieved: App\Models\SubjectCat (66μs)
      • Illuminate\Cache\Events\KeyWritten (315μs)
      • Illuminate\Cache\Events\CacheHit (1.19ms)
      • Illuminate\Cache\Events\CacheHit (208μs)
      • Illuminate\Cache\Events\CacheHit (292μs)
      • Illuminate\Cache\Events\CacheHit (203μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (196μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (210μs)
      • Illuminate\Cache\Events\CacheHit (245μs)
      • Illuminate\Cache\Events\CacheHit (244μs)
      • Illuminate\Cache\Events\CacheHit (175μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (294μs)
      • Illuminate\Cache\Events\CacheHit (223μs)
      • Illuminate\Cache\Events\CacheHit (192μs)
      • Illuminate\Cache\Events\CacheHit (653μs)
      • Illuminate\Cache\Events\CacheHit (209μs)
      • Illuminate\Cache\Events\CacheHit (174μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (229μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (292μs)
      • Illuminate\Cache\Events\CacheHit (210μs)
      • Illuminate\Cache\Events\CacheHit (286μs)
      • Illuminate\Cache\Events\CacheHit (262μs)
      • Illuminate\Cache\Events\CacheHit (203μs)
      • Illuminate\Cache\Events\CacheHit (209μs)
      • Illuminate\Cache\Events\CacheHit (436μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (228μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (209μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (199μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (192μs)
      • Illuminate\Cache\Events\CacheHit (254μs)
      • Illuminate\Cache\Events\CacheHit (201μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (175μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheMissed (296μs)
      • Illuminate\Database\Events\StatementPrepared (820μs)
      • Illuminate\Database\Events\QueryExecuted (1.05ms)
      • eloquent.retrieved: App\Models\SubjectCat (65μs)
      • Illuminate\Cache\Events\KeyWritten (1.61ms)
      • Illuminate\Cache\Events\CacheHit (250μs)
      • Illuminate\Cache\Events\CacheHit (235μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (444μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (222μs)
      • Illuminate\Cache\Events\CacheHit (172μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (262μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (210μs)
      • Illuminate\Cache\Events\CacheHit (228μs)
      • Illuminate\Cache\Events\CacheHit (208μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (209μs)
      • Illuminate\Cache\Events\CacheHit (174μs)
      • Illuminate\Cache\Events\CacheHit (993μs)
      • Illuminate\Cache\Events\CacheHit (268μs)
      • Illuminate\Cache\Events\CacheHit (206μs)
      • Illuminate\Cache\Events\CacheHit (317μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (227μs)
      • Illuminate\Cache\Events\CacheHit (268μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (262μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (238μs)
      • Illuminate\Cache\Events\CacheHit (201μs)
      • Illuminate\Cache\Events\CacheHit (214μs)
      • Illuminate\Cache\Events\CacheHit (246μs)
      • Illuminate\Cache\Events\CacheHit (202μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (211μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (206μs)
      • Illuminate\Cache\Events\CacheHit (174μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (338μs)
      • Illuminate\Cache\Events\CacheHit (172μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (229μs)
      • Illuminate\Cache\Events\CacheHit (301μs)
      • Illuminate\Cache\Events\CacheHit (204μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (211μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (157μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (286μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheMissed (300μs)
      • Illuminate\Database\Events\StatementPrepared (773μs)
      • Illuminate\Database\Events\QueryExecuted (1.27ms)
      • eloquent.retrieved: App\Models\SubjectCat (162μs)
      • Illuminate\Cache\Events\KeyWritten (387μs)
      • Illuminate\Cache\Events\CacheHit (1.16ms)
      • Illuminate\Cache\Events\CacheHit (354μs)
      • Illuminate\Cache\Events\CacheHit (456μs)
      • Illuminate\Cache\Events\CacheHit (613μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (211μs)
      • Illuminate\Cache\Events\CacheHit (211μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (248μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (204μs)
      • Illuminate\Cache\Events\CacheHit (240μs)
      • Illuminate\Cache\Events\CacheHit (370μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • creating: site.layouts.app (624μs)
      • composing: site.layouts.app (26μs)
      • creating: components.canonical (519μs)
      • composing: components.canonical (121μs)
      • creating: components.open-graph (209μs)
      • composing: components.open-graph (80μs)
      • creating: site.headers.header (315μs)
      • composing: site.headers.header (82μs)
      • Illuminate\Cache\Events\CacheHit (2.19ms)
      • creating: components.footer (208μs)
      • composing: components.footer (129μs)
      • Illuminate\Cache\Events\CacheHit (1.01ms)
      • Illuminate\Cache\Events\CacheMissed (401μs)
      • Illuminate\Database\Events\StatementPrepared (910μs)
      • Illuminate\Database\Events\QueryExecuted (1.39ms)
      • eloquent.retrieved: App\Models\SubjectCat (99μs)
      • Illuminate\Cache\Events\KeyWritten (416μs)
      • Illuminate\Cache\Events\CacheHit (264μs)
      • Illuminate\Cache\Events\CacheHit (144μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (328μs)
      • Illuminate\Cache\Events\CacheHit (481μs)
      • Illuminate\Cache\Events\CacheHit (241μs)
      • Illuminate\Cache\Events\CacheHit (209μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (211μs)
      • Illuminate\Cache\Events\CacheHit (212μs)
      • creating: components.forms.contact-us (320μs)
      • composing: components.forms.contact-us (202μs)
      • creating: components.forms.get-started (224μs)
      • composing: components.forms.get-started (100μs)
      • creating: components.forms.free-tool-download (160μs)
      • composing: components.forms.free-tool-download (86μs)
      • creating: components.forms.claim-free-worksheet (149μs)
      • composing: components.forms.claim-free-worksheet (87μs)
      • creating: components.forms.tutor-subscription-waitlist (152μs)
      • composing: components.forms.tutor-subscription-waitlist (88μs)
      • creating: components.forms.tutor-subscription-join (148μs)
      • composing: components.forms.tutor-subscription-join (93μs)
      • creating: components.forms.tutor-support (139μs)
      • composing: components.forms.tutor-support (70μs)
      • 311 x Illuminate\Cache\Events\CacheHit (12.41%)
        87.58ms
        20 x Illuminate\Database\Events\QueryExecuted (5.23%)
        36.90ms
        20 x Illuminate\Database\Events\StatementPrepared (4.46%)
        31.46ms
        11 x Illuminate\Cache\Events\CacheMissed (1.24%)
        8.76ms
        1 x Illuminate\Routing\Events\Routing (0.88%)
        6.23ms
        11 x Illuminate\Cache\Events\KeyWritten (0.86%)
        6.08ms
        1 x Illuminate\Foundation\Events\LocaleUpdated (0.72%)
        5.08ms
        1 x Illuminate\Routing\Events\RouteMatched (0.27%)
        1.91ms
        12 x eloquent.retrieved: App\Models\SubjectCat (0.19%)
        1.32ms
        1 x Illuminate\Database\Events\ConnectionEstablished (0.17%)
        1.20ms
        1 x creating: site.layouts.app (0.09%)
        624μs
        1 x eloquent.booting: App\Models\SubjectCat (0.09%)
        603μs
        1 x creating: components.canonical (0.07%)
        519μs
        1 x creating: homework.show (0.06%)
        411μs
        14 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.05%)
        347μs
        1 x creating: components.forms.contact-us (0.05%)
        320μs
        1 x creating: site.headers.header (0.04%)
        315μs
        7 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (0.04%)
        296μs
        1 x creating: components.breadcrumbs (0.04%)
        288μs
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (0.04%)
        251μs
        2 x eloquent.retrieved: App\Models\Subject (0.03%)
        246μs
        1 x creating: components.forms.get-started (0.03%)
        224μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (0.03%)
        221μs
        1 x creating: components.open-graph (0.03%)
        209μs
        1 x creating: components.footer (0.03%)
        208μs
        1 x composing: components.forms.contact-us (0.03%)
        202μs
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.02%)
        170μs
        1 x creating: components.forms.free-tool-download (0.02%)
        160μs
        1 x creating: components.forms.tutor-subscription-waitlist (0.02%)
        152μs
        1 x creating: components.forms.claim-free-worksheet (0.02%)
        149μs
        1 x creating: components.forms.tutor-subscription-join (0.02%)
        148μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.02%)
        140μs
        1 x eloquent.booting: App\Models\Subject (0.02%)
        139μs
        1 x creating: components.forms.tutor-support (0.02%)
        139μs
        1 x composing: components.footer (0.02%)
        129μs
        1 x composing: homework.show (0.02%)
        125μs
        1 x composing: components.breadcrumbs (0.02%)
        121μs
        1 x composing: components.canonical (0.02%)
        121μs
        1 x composing: components.forms.get-started (0.01%)
        100μs
        1 x composing: components.forms.tutor-subscription-join (0.01%)
        93μs
        1 x composing: components.forms.tutor-subscription-waitlist (0.01%)
        88μs
        1 x composing: components.forms.claim-free-worksheet (0.01%)
        87μs
        1 x composing: components.forms.free-tool-download (0.01%)
        86μs
        1 x composing: site.headers.header (0.01%)
        82μs
        1 x composing: components.open-graph (0.01%)
        80μs
        1 x composing: components.forms.tutor-support (0.01%)
        70μs
        1 x eloquent.booted: App\Models\Subject (0.01%)
        65μs
        1 x eloquent.booted: App\Models\SubjectCat (0.01%)
        41μs
        1 x composing: site.layouts.app (0%)
        26μs
      14 templates were rendered
      • 1x homework.showshow.blade.phpblade
      • 1x components.breadcrumbsbreadcrumbs.blade.phpblade
      • 1x site.layouts.appapp.blade.phpblade
      • 1x components.canonicalcanonical.blade.phpblade
      • 1x components.open-graphopen-graph.blade.phpblade
      • 1x site.headers.headerheader.blade.phpblade
      • 1x components.footerfooter.blade.phpblade
      • 1x components.forms.contact-uscontact-us.blade.phpblade
      • 1x components.forms.get-startedget-started.blade.phpblade
      • 1x components.forms.free-tool-downloadfree-tool-download.blade.phpblade
      • 1x components.forms.claim-free-worksheetclaim-free-worksheet.blade.phpblade
      • 1x components.forms.tutor-subscription-waitlisttutor-subscription-waitlist.blade.phpblade
      • 1x components.forms.tutor-subscription-jointutor-subscription-join.blade.phpblade
      • 1x components.forms.tutor-supporttutor-support.blade.phpblade
      uri
      GET college-homework-library/{category}/{subject}/{id}
      middleware
      web, utm.parameters
      controller
      App\Http\Controllers\HomeworkLibraryController@show
      namespace
      where
      as
      homework.show
      file
      app/Http/Controllers/HomeworkLibraryController.php:79-176
      20 statements were executed, 5 of which were duplicates, 15 unique. Show only duplicated49.67ms
      • Connection Establishedtwenty4_siteHomeworkLibraryController.php#91
        Backtrace
        • 13. app/Http/Controllers/HomeworkLibraryController.php:91
        • 14. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 15. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 16. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `solutionslibrary` where `status` = 'published' and `price` > 0 and `solutionslibrary`.`id` = '53925' limit 1
        13.27mstwenty4_siteHomeworkLibraryController.php#97
        Bindings
        • 0: published
        • 1: 0
        • 2: 53925
        Backtrace
        • 16. app/Http/Controllers/HomeworkLibraryController.php:97
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 18. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 19. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 20. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `subjects` where `subjects`.`id` in (56)
        1.11mstwenty4_siteHomeworkLibraryController.php#97
        Backtrace
        • 21. app/Http/Controllers/HomeworkLibraryController.php:97
        • 22. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 23. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 24. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 25. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` in (53925)
        900μstwenty4_siteHomeworkLibraryController.php#97
        Backtrace
        • 21. app/Http/Controllers/HomeworkLibraryController.php:97
        • 22. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 23. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 24. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 25. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        950μstwenty4_siteHomeworkLibrary.php#201
        Bindings
        • 0: 3
        Backtrace
        • 20. app/Models/HomeworkLibrary/HomeworkLibrary.php:201
        • 26. app/Http/Controllers/HomeworkLibraryController.php:105
        • 27. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 28. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 29. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • select * from `solutionslibrary` where `id` <> 53925 and `subject` = 56 and `status` = 'published' and `price` > 0 order by RAND() limit 6
        16.37mstwenty4_siteHomeworkLibraryRepository.php#30
        Bindings
        • 0: 53925
        • 1: 56
        • 2: published
        • 3: 0
        Backtrace
        • 14. app/Repositories/HomeworkLibraryRepository.php:30
        • 15. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 16. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 18. app/Repositories/HomeworkLibraryRepository.php:39
        • 19. app/Http/Controllers/HomeworkLibraryController.php:139
      • select * from `subjects` where `subjects`.`id` in (56)
        920μstwenty4_siteHomeworkLibraryRepository.php#30
        Backtrace
        • 19. app/Repositories/HomeworkLibraryRepository.php:30
        • 20. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 21. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 23. app/Repositories/HomeworkLibraryRepository.php:39
        • 24. app/Http/Controllers/HomeworkLibraryController.php:139
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 53925 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'question' order by `order` asc, `id` asc
        1.02mstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 53925
        • 1: question
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:58
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 53925 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'teaser' order by `order` asc, `id` asc
        840μstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 53925
        • 1: teaser
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:69
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 53925 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'solution' order by `order` asc, `id` asc
        870μstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 53925
        • 1: solution
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:80
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        990μstwenty4_siteHomeworkLibrary.php#201
        Bindings
        • 0: 3
        Backtrace
        • 20. app/Models/HomeworkLibrary/HomeworkLibrary.php:201
        • 32. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • 33. vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • 34. vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:69
        • 35. vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
      • select * from `subject_cats` where `subject_cats`.`id` = 1 limit 1
        1.11mstwenty4_siteSubject.php#100
        Bindings
        • 0: 1
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        1.01mstwenty4_siteSubject.php#100
        Bindings
        • 0: 3
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 4 limit 1
        1.2mstwenty4_siteSubject.php#100
        Bindings
        • 0: 4
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 10 limit 1
        1.11mstwenty4_siteSubject.php#100
        Bindings
        • 0: 10
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 33 limit 1
        2.45mstwenty4_siteSubject.php#100
        Bindings
        • 0: 33
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 11 limit 1
        940μstwenty4_siteSubject.php#100
        Bindings
        • 0: 11
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 5 limit 1
        1.32mstwenty4_siteSubject.php#100
        Bindings
        • 0: 5
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 34 limit 1
        1.1mstwenty4_siteSubject.php#100
        Bindings
        • 0: 34
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 31 limit 1
        1.02mstwenty4_siteSubject.php#100
        Bindings
        • 0: 31
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 36 limit 1
        1.17mstwenty4_siteSubject.php#100
        Bindings
        • 0: 36
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 28. view::components.footer:170
      App\Models\HomeworkLibrary\HomeworkLibraryFile
      14HomeworkLibraryFile.php
      App\Models\SubjectCat
      12SubjectCat.php
      App\Models\HomeworkLibrary\HomeworkLibrary
      7HomeworkLibrary.php
      App\Models\Subject
      2Subject.php
          _token
          xLbN5OkiwOj4SFbv52Gxw8mzLAd0znS4kyOFS0z5
          utm_source
          direct
          redirectUrl
          /college-homework-library/Computer-Science/Computer-Science-Other/53925
          _previous
          array:1 [ "url" => "https://staging.dev.24houranswers.com/college-homework-library/Computer-Scienc...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          PHPDEBUGBAR_STACK_DATA
          []
          path_info
          /college-homework-library/Computer-Science/Computer-Science-Other/53925
          status_code
          200
          
          status_text
          OK
          format
          html
          content_type
          text/html; charset=UTF-8
          request_query
          []
          
          request_request
          []
          
          request_headers
          0 of 0
          array:21 [ "priority" => array:1 [ 0 => "u=0, i" ] "accept-encoding" => array:1 [ 0 => "gzip, deflate, br, zstd" ] "sec-fetch-dest" => array:1 [ 0 => "document" ] "sec-fetch-user" => array:1 [ 0 => "?1" ] "sec-fetch-mode" => array:1 [ 0 => "navigate" ] "sec-fetch-site" => array:1 [ 0 => "none" ] "accept" => array:1 [ 0 => "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" ] "user-agent" => array:1 [ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "upgrade-insecure-requests" => array:1 [ 0 => "1" ] "sec-ch-ua-platform" => array:1 [ 0 => ""Windows"" ] "sec-ch-ua-mobile" => array:1 [ 0 => "?0" ] "sec-ch-ua" => array:1 [ 0 => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" ] "cache-control" => array:1 [ 0 => "no-cache" ] "pragma" => array:1 [ 0 => "no-cache" ] "x-amzn-trace-id" => array:1 [ 0 => "Root=1-6800c909-63743b4b7303f49028c9a9db" ] "host" => array:1 [ 0 => "staging.dev.24houranswers.com" ] "x-forwarded-port" => array:1 [ 0 => "443" ] "x-forwarded-proto" => array:1 [ 0 => "https" ] "x-forwarded-for" => array:1 [ 0 => "18.191.232.50" ] "content-length" => array:1 [ 0 => "" ] "content-type" => array:1 [ 0 => "" ] ]
          request_cookies
          []
          
          response_headers
          0 of 0
          array:5 [ "content-type" => array:1 [ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [ 0 => "no-cache, private" ] "date" => array:1 [ 0 => "Thu, 17 Apr 2025 09:25:30 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IjdncXRwL211WklCNytmT3B2THZoQVE9PSIsInZhbHVlIjoiRS9WWlNHTGpGU09sbHBCeDRzVDZqaktHSW5qM3lIUzM3bW1FbUFVeDhldHRaL1VJeUVQampDbGpNWVZXU0dQdkxKZCt4Z3Rxc0VyNjRkaE53VkFYMWtSNHhaWS9LUjlHbThPajFQN3NaRVFHTXZZWWl5UGdFZlJmbjZsSlloSVMiLCJtYWMiOiIzMTBjYTRiODZjNzlhZjIwYzU1YTczZTg1ZWI0ZmI5NTEzNzQ4Mzc3ZjE2NGM2NDQyYzBjMjJhY2U0YzFmYzNjIiwidGFnIjoiIn0%3D; expires=Thu, 17 Apr 2025 11:25:30 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; samesite=laxXSRF-TOKEN=eyJpdiI6IjdncXRwL211WklCNytmT3B2THZoQVE9PSIsInZhbHVlIjoiRS9WWlNHTGpGU09sbHBCeDRzVDZqaktHSW5qM3lIUzM3bW1FbUFVeDhldHRaL1VJeUVQampDbGpNWVZXU0dQdkxKZCt4Z" 1 => "24houranswers_session=eyJpdiI6IjJvR1ZGUjdOV0pHUFdIei9zZFJiOWc9PSIsInZhbHVlIjoiMWZVRzZqQmVRN1ZmOFZhYkRaYUJuaGZQZTRhb2NOYWNEcnR2RzlscmRRYkQxYzJGV3hGQmJkVWwvQmpiZENEb212VHpRazFFbVVMaHlPSGRWSDhVaVlrOVcrTCtFMW03ZWhXeFhySCtUN3V6MXV1QTkrRGdxVUpiUmRmeG1SNzIiLCJtYWMiOiI1N2ZhNDQ4NWZjZmRiOGQ1Njg0YzdiYWUzYjM2MjE4ZDc4ZDFlNDE4OTExOTM2NWRmNjM0OGFlOTQ2Y2Q1ZjM4IiwidGFnIjoiIn0%3D; expires=Thu, 17 Apr 2025 11:25:30 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; httponly; samesite=lax24houranswers_session=eyJpdiI6IjJvR1ZGUjdOV0pHUFdIei9zZFJiOWc9PSIsInZhbHVlIjoiMWZVRzZqQmVRN1ZmOFZhYkRaYUJuaGZQZTRhb2NOYWNEcnR2RzlscmRRYkQxYzJGV3hGQmJkVWwvQmpiZE" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IjdncXRwL211WklCNytmT3B2THZoQVE9PSIsInZhbHVlIjoiRS9WWlNHTGpGU09sbHBCeDRzVDZqaktHSW5qM3lIUzM3bW1FbUFVeDhldHRaL1VJeUVQampDbGpNWVZXU0dQdkxKZCt4Z3Rxc0VyNjRkaE53VkFYMWtSNHhaWS9LUjlHbThPajFQN3NaRVFHTXZZWWl5UGdFZlJmbjZsSlloSVMiLCJtYWMiOiIzMTBjYTRiODZjNzlhZjIwYzU1YTczZTg1ZWI0ZmI5NTEzNzQ4Mzc3ZjE2NGM2NDQyYzBjMjJhY2U0YzFmYzNjIiwidGFnIjoiIn0%3D; expires=Thu, 17-Apr-2025 11:25:30 GMT; domain=.24houranswers.com; path=/XSRF-TOKEN=eyJpdiI6IjdncXRwL211WklCNytmT3B2THZoQVE9PSIsInZhbHVlIjoiRS9WWlNHTGpGU09sbHBCeDRzVDZqaktHSW5qM3lIUzM3bW1FbUFVeDhldHRaL1VJeUVQampDbGpNWVZXU0dQdkxKZCt4Z" 1 => "24houranswers_session=eyJpdiI6IjJvR1ZGUjdOV0pHUFdIei9zZFJiOWc9PSIsInZhbHVlIjoiMWZVRzZqQmVRN1ZmOFZhYkRaYUJuaGZQZTRhb2NOYWNEcnR2RzlscmRRYkQxYzJGV3hGQmJkVWwvQmpiZENEb212VHpRazFFbVVMaHlPSGRWSDhVaVlrOVcrTCtFMW03ZWhXeFhySCtUN3V6MXV1QTkrRGdxVUpiUmRmeG1SNzIiLCJtYWMiOiI1N2ZhNDQ4NWZjZmRiOGQ1Njg0YzdiYWUzYjM2MjE4ZDc4ZDFlNDE4OTExOTM2NWRmNjM0OGFlOTQ2Y2Q1ZjM4IiwidGFnIjoiIn0%3D; expires=Thu, 17-Apr-2025 11:25:30 GMT; domain=.24houranswers.com; path=/; httponly24houranswers_session=eyJpdiI6IjJvR1ZGUjdOV0pHUFdIei9zZFJiOWc9PSIsInZhbHVlIjoiMWZVRzZqQmVRN1ZmOFZhYkRaYUJuaGZQZTRhb2NOYWNEcnR2RzlscmRRYkQxYzJGV3hGQmJkVWwvQmpiZE" ] ]
          session_attributes
          0 of 0
          array:6 [ "_token" => "xLbN5OkiwOj4SFbv52Gxw8mzLAd0znS4kyOFS0z5" "utm_source" => "direct" "redirectUrl" => "/college-homework-library/Computer-Science/Computer-Science-Other/53925" "_previous" => array:1 [ "url" => "https://staging.dev.24houranswers.com/college-homework-library/Computer-Science/Computer-Science-Other/53925" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]