A sentinel is a loop exit value or list delimiter whose value is outside the range of valid input, such as -1 for a zero-based array index, or ~ for alphabetic strings.
Questions tagged [sentinel]
410 questions
1
vote
1 answer
Sentinel for Laravel: Customising everything
I'm finding a way to authenticate my users in Laravel application.
However, all I want is that I can configure the table name, and specify the field for logging in (as I want to use Username and Password).
Aside from changing the table name and…

srakrn
- 352
- 2
- 16
1
vote
2 answers
How to group laravel routes based on logged users and guest users
I want to group the Laravel 5 routs based on the logged users and guest users. Is there any inbuilt framework methods in Laravel 5 to do this?

Chathurika Mahanama
- 11
- 1
- 1
- 6
1
vote
0 answers
How do I augment the Cartalyst Sentinel Sign Up/Sign In functionality?
I am trying to learn more about Cartalyst Sentinel in Slim PHP for user sign up and authentication. I'm a bit out of my depth as I've not attempted this type of thing in the past.
I have been following this tutorial on how to implement Sentinel in…

Shane McCarthy
- 109
- 3
- 12
1
vote
2 answers
Insertionsort and Sentinels
I am trying to understand Insertionsort. I have heard that I can improve it with a sentinel.
This is my code without a sentinel:
public static int[] insertionSort(int[] sortieren) {
int temp;
for (int i = 1; i < sortieren.length; i++) {
…
user6121656
1
vote
0 answers
Laravel Sentinel Class Sentinel\Middleware\SentryAuth does not exist
I have installed Sentinel package to my laravel web application.
Sentinel user login and activation is working good.
The issue is that i have added the miiddle ware to the route as follow
Route::group(['middleware' => ['track', 'sentry.auth']],…

Iman Mohammed
- 11
- 1
1
vote
1 answer
Trying to use a sentinel controlled loop to add and average a bunch of integers
I want to add a bunch of numbers together, with the final number being the sentinel (999). If 999 is typed, then the input loop ends and the answers are printed, otherwise it keeps looping and adding input. But when I run the program, it shows the…

dez82
- 77
- 1
- 12
1
vote
1 answer
Laravel 5 with Sentinel using 'username' to login/register
I've followed the other posts/tutorials
-Made a new model - put it into app/Models(I created this folder)/User.php
use Cartalyst\Sentinel\Users\EloquentUser as CartalystUser;
class User extends CartalystUser {
protected $fillable = [
…

user3905081
- 21
- 4
1
vote
1 answer
Sentinel and Laravel 5.2
I cant make Sentinel work. I don't know what to do anymore, i tried everything, hopefully someone else have some advice.
Problem is in online middleware where check method is false...
EDIT: i found out problem is sessions are not working in…

Tommy
- 189
- 1
- 2
- 10
1
vote
1 answer
Laravel user get relation tables
To get all the user informations in laravel 5.2 I use the Sentinel user system.
I can recive with $request->user() all the informations from the 'users' table. But i want get also every row from the 'messages' table.
I create a relation between…

Philipp Nies
- 945
- 4
- 20
- 38
1
vote
2 answers
Circular Doubly Linked List End Function
In the bool end() function will the program know whether the sentinel is the beginning or end? Is there a check I can make to make sure it's reading the sentinel as the end?
#include "ring.h"
#include
#include
struct node {
…

user5647965
- 11
- 1
1
vote
1 answer
Integrating Sentinel with a script
I'm trying to use Cartalyst Sentinel for my scripts. I've downloaded the files from github. (https://github.com/cartalyst/sentinel). I've put it on my wamp, and I am trying to follow the instructions here…

JP Foster
- 1,725
- 4
- 17
- 23
1
vote
0 answers
How do I change a program from converting 1 character (A-Z) to Leetspeek/1337 conversion, to converting multiple?
I have successfully written a program to convert 1 character at a time, However I must now ask the user to choose the number of characters they wish to convert and use a sentinel-controlled loop for data validation and a counter-controlled loop for…

J. Doe
- 11
- 2
1
vote
1 answer
How to use callsite layout renderer with Sentinel log viewer?
I am using NLog in my one of the application and I am able to log the information in different targets like File,Console,EventLog and also to NLogViewer.
I am using the layout as

shary.sharath
- 649
- 2
- 14
- 29
1
vote
2 answers
Show largest value after sentinel ends loop using a conditional statement
I need to create a program that will allow the users to enter a series of
integers with 0 as the sentinel. At the end, the largest integer will be displayed.
I originally had the statement largest = value under the if statement but changed it to a…

Mary
- 211
- 1
- 8
- 18
1
vote
1 answer
Redis fail over with sentinel not working
I am trying to setup redis-sentinel configuration for the fail over support .Here is my configuration ,
machine1 : IP : 10.0.0.1 6379 with redis-sentinel port 26379
machine2 : IP : 10.0.0.2 6379 with redis-sentinel port 26379
machine3…

mbdvg
- 2,614
- 3
- 21
- 39