Question
The assignment consists of creating a rudimentary game similar to "Guitar Hero".

1. Create a 1024x768 GLFW window, which should should remain open for 5 minutes.

2. 2 empty-circle "Targets" should be placed at 1/4 and 3/4 of the window width and each at the screen height, minus the radius. The radius will be set to 50. These targets will be immobile.

3. 2 filled-circle "Stimuli" should be continuously generated over the course of the 5 minutes. The source of these stimuli should also be set to 1/4 and 3/4 the screen width (in line with the "targets"), but vertically placed above the visible limit of the GLFW window by a length equal to that of their radius (radius = 50).

4. These stimuli should travel in a straight line down toward the targets. They should be generated in a staggered manner- one generated and sent moving downward at a speed of y = 10 on the left side, then on the right, and back again - separated by 1 second each.

5. This is the game element. The user should be able to press the "A_Key" for the left stimulus/target and the "L_Key" for the right. If either key is pressed while the stimuli is touching their respective target at all, it should be registered as a correct response. Otherwise, it should be an incorrect response. If it is a correct response, the stimulus circle should cease it's motion and fade to invisible over 0.25 seconds (alpha = 0). If it is an incorrect response, the circle should just continue travelling down, beyond the lower edge without ceasing motion.

6. All data of the game should be printed to a file. Each time either the A or L key are pressed and whether or not they were correct or incorrect presses. The output should be printed to a file named output.txt.
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.

#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>

// constant
#define SCREEN_WIDTH 1024
#define SCREEN_HEIGHT 768
#define SIDE_NUM    36    // numnber of triangles we use to draw a circle
#define RADIUS      50    // radius of a circle
#define TOTAL_TIME 5.0   // 5 minutes
#define NOTES       2       // number of node in the application
#define COLOR_NUM   3       // number of color RGB

#define Y_HOLLOW_CIRLCE RADIUS
#define Y_SOLID_CIRLCE ( SCREEN_HEIGHT + RADIUS )

// These stimuli should travel in a straight
// line down toward the targets.
// They should be generated in a staggered manner-
// one generated and sent moving downward at a
// speed of y = 10 on the left side,
// then on the right, and back again -
// separated by 1 second each.
#define Y_SPEED    10          // moving speed

#define SLEEP_TIME 0.1          // 0.01 seconds
#define DELAY_TIME 1            // 1 seconds
#define INVISIBLE_TIME 0.25    // 0.25 seconds
#define BLACK       255
#define BLACK_F    0.0
#define WHITE       0
#define TRUE       1
#define FALSE       0
#define ALPHA_STEP 1.0 / 250.0 // fade away in 0.25 seconds each step will be 0.004 seconds

// structure of a circle

struct Circle {
    GLfloat x; // center points
    GLfloat y;
    GLfloat z;
    GLfloat radius; // circle radius
    GLint numberOfSides; // number of side
    GLfloat xVector; // horizontal vecotr
    GLfloat yVector; // vertical vector
    GLfloat colour[3]; // color of the circle
    int movable;
    GLfloat invisibleStartTime;
    int fadeAway;
    GLfloat alpha;
};

typedef struct Circle Circle;

struct Node {
    Circle circle;
    struct Node * next;
};

typedef struct Node Node;

struct Queue {
    Node * head;
    Node * tail;
};
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.c
Purchase Solution
$110.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 Version423msRequest Duration45MBMemory UsageGET college-homework-library/{category}/{subject}/{id}Route
    • Booting (253ms)time
    • Application (170ms)time
    • 1 x Booting (59.87%)
      253ms
      1 x Application (40.13%)
      170ms
      • Illuminate\Routing\Events\Routing (1.39ms)
      • Illuminate\Routing\Events\RouteMatched (536μs)
      • Illuminate\Foundation\Events\LocaleUpdated (4.79ms)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (190μs)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (168μs)
      • Illuminate\Database\Events\ConnectionEstablished (911μs)
      • Illuminate\Database\Events\StatementPrepared (21.98ms)
      • Illuminate\Database\Events\QueryExecuted (1.23ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (104μs)
      • eloquent.booting: App\Models\Subject (102μs)
      • eloquent.booted: App\Models\Subject (47μs)
      • Illuminate\Database\Events\StatementPrepared (1.56ms)
      • Illuminate\Database\Events\QueryExecuted (1.55ms)
      • eloquent.retrieved: App\Models\Subject (112μs)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (1.01ms)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (54μs)
      • Illuminate\Database\Events\StatementPrepared (683μs)
      • Illuminate\Database\Events\QueryExecuted (1.04ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (88μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (16μ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 (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.booting: App\Models\SubjectCat (326μs)
      • eloquent.booted: App\Models\SubjectCat (41μs)
      • Illuminate\Database\Events\StatementPrepared (647μs)
      • Illuminate\Database\Events\QueryExecuted (864μs)
      • eloquent.retrieved: App\Models\SubjectCat (86μs)
      • Illuminate\Cache\Events\CacheHit (10.96ms)
      • Illuminate\Cache\Events\CacheMissed (205μs)
      • Illuminate\Database\Events\StatementPrepared (913μs)
      • Illuminate\Database\Events\QueryExecuted (20.41ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (91μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (16μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (9μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (7μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (8μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (5μs)
      • Illuminate\Database\Events\StatementPrepared (749μs)
      • Illuminate\Database\Events\QueryExecuted (1.51ms)
      • eloquent.retrieved: App\Models\Subject (115μs)
      • Illuminate\Cache\Events\KeyWritten (1.95ms)
      • Illuminate\Database\Events\StatementPrepared (1.9ms)
      • Illuminate\Database\Events\QueryExecuted (1.31ms)
      • Illuminate\Database\Events\StatementPrepared (804μs)
      • Illuminate\Database\Events\QueryExecuted (1.09ms)
      • Illuminate\Database\Events\StatementPrepared (732μs)
      • Illuminate\Database\Events\QueryExecuted (1.02ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (73μs)
      • Illuminate\Cache\Events\CacheHit (816μs)
      • creating: homework.show (380μs)
      • composing: homework.show (165μs)
      • creating: components.breadcrumbs (424μs)
      • composing: components.breadcrumbs (184μs)
      • Illuminate\Database\Events\StatementPrepared (1.13ms)
      • Illuminate\Database\Events\QueryExecuted (1.24ms)
      • eloquent.retrieved: App\Models\SubjectCat (77μs)
      • Illuminate\Cache\Events\CacheMissed (6.63ms)
      • Illuminate\Database\Events\StatementPrepared (672μs)
      • Illuminate\Database\Events\QueryExecuted (927μs)
      • eloquent.retrieved: App\Models\SubjectCat (64μs)
      • Illuminate\Cache\Events\KeyWritten (406μs)
      • Illuminate\Cache\Events\CacheHit (384μs)
      • Illuminate\Cache\Events\CacheHit (235μs)
      • Illuminate\Cache\Events\CacheHit (241μs)
      • Illuminate\Cache\Events\CacheHit (224μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (206μs)
      • Illuminate\Cache\Events\CacheHit (259μs)
      • Illuminate\Cache\Events\CacheHit (202μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (151μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheMissed (289μs)
      • Illuminate\Database\Events\StatementPrepared (637μs)
      • Illuminate\Database\Events\QueryExecuted (966μs)
      • eloquent.retrieved: App\Models\SubjectCat (69μs)
      • Illuminate\Cache\Events\KeyWritten (321μs)
      • Illuminate\Cache\Events\CacheHit (212μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (148μs)
      • Illuminate\Cache\Events\CacheHit (299μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (133μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheMissed (237μs)
      • Illuminate\Database\Events\StatementPrepared (612μs)
      • Illuminate\Database\Events\QueryExecuted (815μs)
      • eloquent.retrieved: App\Models\SubjectCat (67μs)
      • Illuminate\Cache\Events\KeyWritten (307μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (147μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (153μs)
      • Illuminate\Cache\Events\CacheHit (301μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (141μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (154μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheMissed (219μs)
      • Illuminate\Database\Events\StatementPrepared (644μs)
      • Illuminate\Database\Events\QueryExecuted (1.16ms)
      • eloquent.retrieved: App\Models\SubjectCat (78μs)
      • Illuminate\Cache\Events\KeyWritten (335μs)
      • Illuminate\Cache\Events\CacheHit (207μs)
      • Illuminate\Cache\Events\CacheHit (221μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (141μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (205μs)
      • Illuminate\Cache\Events\CacheHit (142μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (324μs)
      • Illuminate\Cache\Events\CacheHit (152μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (136μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheMissed (241μs)
      • Illuminate\Database\Events\StatementPrepared (646μs)
      • Illuminate\Database\Events\QueryExecuted (903μs)
      • eloquent.retrieved: App\Models\SubjectCat (74μs)
      • Illuminate\Cache\Events\KeyWritten (271μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • Illuminate\Cache\Events\CacheHit (139μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (98μs)
      • Illuminate\Cache\Events\CacheMissed (220μs)
      • Illuminate\Database\Events\StatementPrepared (545μs)
      • Illuminate\Database\Events\QueryExecuted (846μs)
      • eloquent.retrieved: App\Models\SubjectCat (65μs)
      • Illuminate\Cache\Events\KeyWritten (276μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (308μs)
      • Illuminate\Cache\Events\CacheHit (140μs)
      • Illuminate\Cache\Events\CacheHit (136μs)
      • Illuminate\Cache\Events\CacheHit (137μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (137μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (583μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (210μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheMissed (211μs)
      • Illuminate\Database\Events\StatementPrepared (686μs)
      • Illuminate\Database\Events\QueryExecuted (858μs)
      • eloquent.retrieved: App\Models\SubjectCat (71μs)
      • Illuminate\Cache\Events\KeyWritten (276μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (139μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (152μs)
      • Illuminate\Cache\Events\CacheHit (133μs)
      • Illuminate\Cache\Events\CacheHit (143μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (98μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (302μs)
      • Illuminate\Cache\Events\CacheHit (130μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (157μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (142μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (149μs)
      • Illuminate\Cache\Events\CacheHit (316μs)
      • Illuminate\Cache\Events\CacheHit (153μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (130μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (97μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheMissed (205μs)
      • Illuminate\Database\Events\StatementPrepared (700μs)
      • Illuminate\Database\Events\QueryExecuted (848μs)
      • eloquent.retrieved: App\Models\SubjectCat (79μs)
      • Illuminate\Cache\Events\KeyWritten (299μs)
      • Illuminate\Cache\Events\CacheHit (177μs)
      • Illuminate\Cache\Events\CacheHit (294μs)
      • Illuminate\Cache\Events\CacheHit (136μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (136μs)
      • Illuminate\Cache\Events\CacheHit (136μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (653μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (146μs)
      • Illuminate\Cache\Events\CacheHit (133μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (98μs)
      • Illuminate\Cache\Events\CacheHit (138μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (138μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (155μs)
      • Illuminate\Cache\Events\CacheHit (134μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (138μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheMissed (203μs)
      • Illuminate\Database\Events\StatementPrepared (671μs)
      • Illuminate\Database\Events\QueryExecuted (887μs)
      • eloquent.retrieved: App\Models\SubjectCat (75μs)
      • Illuminate\Cache\Events\KeyWritten (288μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (153μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (210μs)
      • Illuminate\Cache\Events\CacheHit (138μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • creating: site.layouts.app (364μs)
      • composing: site.layouts.app (18μs)
      • creating: components.canonical (501μs)
      • composing: components.canonical (82μs)
      • creating: components.open-graph (154μs)
      • composing: components.open-graph (49μs)
      • creating: site.headers.header (216μs)
      • composing: site.headers.header (50μs)
      • Illuminate\Cache\Events\CacheHit (1.23ms)
      • creating: components.footer (73μs)
      • composing: components.footer (72μs)
      • Illuminate\Cache\Events\CacheHit (659μs)
      • Illuminate\Cache\Events\CacheMissed (261μs)
      • Illuminate\Database\Events\StatementPrepared (665μs)
      • Illuminate\Database\Events\QueryExecuted (1.06ms)
      • eloquent.retrieved: App\Models\SubjectCat (94μs)
      • Illuminate\Cache\Events\KeyWritten (398μs)
      • Illuminate\Cache\Events\CacheHit (328μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (455μs)
      • Illuminate\Cache\Events\CacheHit (199μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (196μs)
      • creating: components.forms.contact-us (451μs)
      • composing: components.forms.contact-us (185μs)
      • creating: components.forms.get-started (223μs)
      • composing: components.forms.get-started (96μs)
      • creating: components.forms.free-tool-download (149μs)
      • composing: components.forms.free-tool-download (79μs)
      • creating: components.forms.claim-free-worksheet (144μs)
      • composing: components.forms.claim-free-worksheet (77μs)
      • creating: components.forms.tutor-subscription-waitlist (141μs)
      • composing: components.forms.tutor-subscription-waitlist (79μs)
      • creating: components.forms.tutor-subscription-join (141μs)
      • composing: components.forms.tutor-subscription-join (77μs)
      • creating: components.forms.tutor-support (149μs)
      • composing: components.forms.tutor-support (74μs)
      • 311 x Illuminate\Cache\Events\CacheHit (13.21%)
        55.85ms
        20 x Illuminate\Database\Events\QueryExecuted (9.59%)
        40.54ms
        20 x Illuminate\Database\Events\StatementPrepared (8.89%)
        37.57ms
        11 x Illuminate\Cache\Events\CacheMissed (2.11%)
        8.93ms
        11 x Illuminate\Cache\Events\KeyWritten (1.21%)
        5.13ms
        1 x Illuminate\Foundation\Events\LocaleUpdated (1.13%)
        4.79ms
        1 x Illuminate\Routing\Events\Routing (0.33%)
        1.39ms
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.24%)
        1.01ms
        1 x Illuminate\Database\Events\ConnectionEstablished (0.22%)
        911μs
        12 x eloquent.retrieved: App\Models\SubjectCat (0.21%)
        899μs
        1 x Illuminate\Routing\Events\RouteMatched (0.13%)
        536μs
        1 x creating: components.canonical (0.12%)
        501μs
        1 x creating: components.forms.contact-us (0.11%)
        451μs
        1 x creating: components.breadcrumbs (0.1%)
        424μs
        1 x creating: homework.show (0.09%)
        380μs
        1 x creating: site.layouts.app (0.09%)
        364μs
        1 x eloquent.booting: App\Models\SubjectCat (0.08%)
        326μs
        7 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (0.06%)
        240μs
        2 x eloquent.retrieved: App\Models\Subject (0.05%)
        227μs
        1 x creating: components.forms.get-started (0.05%)
        223μs
        1 x creating: site.headers.header (0.05%)
        216μs
        8 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.05%)
        208μs
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (0.04%)
        190μs
        1 x composing: components.forms.contact-us (0.04%)
        185μs
        1 x composing: components.breadcrumbs (0.04%)
        184μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (0.04%)
        168μs
        1 x composing: homework.show (0.04%)
        165μs
        1 x creating: components.open-graph (0.04%)
        154μs
        1 x creating: components.forms.free-tool-download (0.04%)
        149μs
        1 x creating: components.forms.tutor-support (0.04%)
        149μs
        1 x creating: components.forms.claim-free-worksheet (0.03%)
        144μs
        1 x creating: components.forms.tutor-subscription-waitlist (0.03%)
        141μs
        1 x creating: components.forms.tutor-subscription-join (0.03%)
        141μs
        1 x eloquent.booting: App\Models\Subject (0.02%)
        102μs
        1 x composing: components.forms.get-started (0.02%)
        96μs
        1 x composing: components.canonical (0.02%)
        82μs
        1 x composing: components.forms.free-tool-download (0.02%)
        79μs
        1 x composing: components.forms.tutor-subscription-waitlist (0.02%)
        79μs
        1 x composing: components.forms.claim-free-worksheet (0.02%)
        77μs
        1 x composing: components.forms.tutor-subscription-join (0.02%)
        77μs
        1 x composing: components.forms.tutor-support (0.02%)
        74μs
        1 x creating: components.footer (0.02%)
        73μs
        1 x composing: components.footer (0.02%)
        72μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.01%)
        54μs
        1 x composing: site.headers.header (0.01%)
        50μs
        1 x composing: components.open-graph (0.01%)
        49μs
        1 x eloquent.booted: App\Models\Subject (0.01%)
        47μs
        1 x eloquent.booted: App\Models\SubjectCat (0.01%)
        41μs
        1 x composing: site.layouts.app (0%)
        18μ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 duplicated62.59ms
      • 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` = '23897' limit 1
        22.35mstwenty4_siteHomeworkLibraryController.php#97
        Bindings
        • 0: published
        • 1: 0
        • 2: 23897
        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 (16)
        1.51mstwenty4_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 (23897)
        1.05mstwenty4_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
        980μ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` <> 23897 and `subject` = 16 and `status` = 'published' and `price` > 0 order by RAND() limit 6
        20.58mstwenty4_siteHomeworkLibraryRepository.php#30
        Bindings
        • 0: 23897
        • 1: 16
        • 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 (16)
        1.53mstwenty4_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` = 23897 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'question' order by `order` asc, `id` asc
        1.16mstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 23897
        • 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` = 23897 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'teaser' order by `order` asc, `id` asc
        1.05mstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 23897
        • 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` = 23897 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'solution' order by `order` asc, `id` asc
        1.03mstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 23897
        • 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
        1.31mstwenty4_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
        970μstwenty4_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.06mstwenty4_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
        920μstwenty4_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
        930μstwenty4_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
        920μ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
        990μstwenty4_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.03mstwenty4_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.09mstwenty4_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\SubjectCat
      12SubjectCat.php
      App\Models\HomeworkLibrary\HomeworkLibraryFile
      8HomeworkLibraryFile.php
      App\Models\HomeworkLibrary\HomeworkLibrary
      7HomeworkLibrary.php
      App\Models\Subject
      2Subject.php
          _token
          6AyqHcTuqUeqrggwOCLIQuQki7O2l0PULV9RGci0
          utm_source
          direct
          redirectUrl
          /college-homework-library/Computer-Science/C-Family-Programming/23897
          _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/C-Family-Programming/23897
          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-680dd599-65e19365669716f7488f38cf" ] "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 => "3.16.215.186" ] "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 => "Sun, 27 Apr 2025 06:58:33 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IkRwbjRvTml2alFpTlFjSVN4enVkWFE9PSIsInZhbHVlIjoiNUlLTDhmMWZNaGZvYkNKSUVHbndyRVg1bk5wVWZVTmRJTnhXemRMSzBJcytUZktRckdWZWpabjdRYlE1SDRIOEw4Y2xqbW93ZVNHY3FFRVRBNWhTaUpBL0Y1M1VhS1dXOEw1bVF0a2xiZTZLeUIvQzdwMnEvVUlocHNxdzlzb1MiLCJtYWMiOiIwMjAyNjg5NjAwOWUxYmQ5NGRmMzRkYThmODU4ZGFlMjI3MmU0MzgxNGIzYmY0ZTg1YzUxOGU4NDJjODlmMzk2IiwidGFnIjoiIn0%3D; expires=Sun, 27 Apr 2025 08:58:33 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; samesite=laxXSRF-TOKEN=eyJpdiI6IkRwbjRvTml2alFpTlFjSVN4enVkWFE9PSIsInZhbHVlIjoiNUlLTDhmMWZNaGZvYkNKSUVHbndyRVg1bk5wVWZVTmRJTnhXemRMSzBJcytUZktRckdWZWpabjdRYlE1SDRIOEw4Y2xqb" 1 => "24houranswers_session=eyJpdiI6IllRcG83Y3JSeHBjaUhkSGFPM0ZaaWc9PSIsInZhbHVlIjoiM2Y2TDhtcnJWUHdzQ2RyejNLRG4renlHR2x2VDEzbWtCQmlrNWVBN2JFQzJtYkFNcmplTVBnMURad2VpZitxNlR6UWNuNSs3VFN2R3Z1QXNDS0o5eldmdDJTL3RlWTdUb2JIVlA5azFZY0N2eDhmVTRQY2lSUnpWOVVMNmJDdjgiLCJtYWMiOiI4ZWI2MTFkZDIzOTZhYjliMDY0ODk4YzQ1ZWI0MDZhZTBhYTQxMjc5ODkzODBjZmM3MzVkNTc2ZTYwYzVkNWZlIiwidGFnIjoiIn0%3D; expires=Sun, 27 Apr 2025 08:58:33 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; httponly; samesite=lax24houranswers_session=eyJpdiI6IllRcG83Y3JSeHBjaUhkSGFPM0ZaaWc9PSIsInZhbHVlIjoiM2Y2TDhtcnJWUHdzQ2RyejNLRG4renlHR2x2VDEzbWtCQmlrNWVBN2JFQzJtYkFNcmplTVBnMURad2VpZi" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IkRwbjRvTml2alFpTlFjSVN4enVkWFE9PSIsInZhbHVlIjoiNUlLTDhmMWZNaGZvYkNKSUVHbndyRVg1bk5wVWZVTmRJTnhXemRMSzBJcytUZktRckdWZWpabjdRYlE1SDRIOEw4Y2xqbW93ZVNHY3FFRVRBNWhTaUpBL0Y1M1VhS1dXOEw1bVF0a2xiZTZLeUIvQzdwMnEvVUlocHNxdzlzb1MiLCJtYWMiOiIwMjAyNjg5NjAwOWUxYmQ5NGRmMzRkYThmODU4ZGFlMjI3MmU0MzgxNGIzYmY0ZTg1YzUxOGU4NDJjODlmMzk2IiwidGFnIjoiIn0%3D; expires=Sun, 27-Apr-2025 08:58:33 GMT; domain=.24houranswers.com; path=/XSRF-TOKEN=eyJpdiI6IkRwbjRvTml2alFpTlFjSVN4enVkWFE9PSIsInZhbHVlIjoiNUlLTDhmMWZNaGZvYkNKSUVHbndyRVg1bk5wVWZVTmRJTnhXemRMSzBJcytUZktRckdWZWpabjdRYlE1SDRIOEw4Y2xqb" 1 => "24houranswers_session=eyJpdiI6IllRcG83Y3JSeHBjaUhkSGFPM0ZaaWc9PSIsInZhbHVlIjoiM2Y2TDhtcnJWUHdzQ2RyejNLRG4renlHR2x2VDEzbWtCQmlrNWVBN2JFQzJtYkFNcmplTVBnMURad2VpZitxNlR6UWNuNSs3VFN2R3Z1QXNDS0o5eldmdDJTL3RlWTdUb2JIVlA5azFZY0N2eDhmVTRQY2lSUnpWOVVMNmJDdjgiLCJtYWMiOiI4ZWI2MTFkZDIzOTZhYjliMDY0ODk4YzQ1ZWI0MDZhZTBhYTQxMjc5ODkzODBjZmM3MzVkNTc2ZTYwYzVkNWZlIiwidGFnIjoiIn0%3D; expires=Sun, 27-Apr-2025 08:58:33 GMT; domain=.24houranswers.com; path=/; httponly24houranswers_session=eyJpdiI6IllRcG83Y3JSeHBjaUhkSGFPM0ZaaWc9PSIsInZhbHVlIjoiM2Y2TDhtcnJWUHdzQ2RyejNLRG4renlHR2x2VDEzbWtCQmlrNWVBN2JFQzJtYkFNcmplTVBnMURad2VpZi" ] ]
          session_attributes
          0 of 0
          array:6 [ "_token" => "6AyqHcTuqUeqrggwOCLIQuQki7O2l0PULV9RGci0" "utm_source" => "direct" "redirectUrl" => "/college-homework-library/Computer-Science/C-Family-Programming/23897" "_previous" => array:1 [ "url" => "https://staging.dev.24houranswers.com/college-homework-library/Computer-Science/C-Family-Programming/23897" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]