Simple, clean, privacy-friendly analytics (SaaS)

Why are you selling this site?
This is what I do most of the time. I usually build starter sites and sell them.

How is it monetized?
Given that this website costs virtually nothing to operate, any revenue made is pure profit. Analyzz is a SaaS platform. Therefore it can be monetization through either subscription or advertisements. At the time, Analyzz has two paid plan for its users. You can either add more plans or edit them through Analyzz's admin panel.

There is an…

Simple, clean, privacy-friendly analytics (SaaS)

Cannot get aspect ration to 1 with simple Graphics

I am learning Mathematica and doing a simple animation project which animates the harmonic motion of a pendulum. For some reason, I cannot get the simplest thing to work — the aspect ratio for my pendulum graph will not go to 1. I have whittled my code down to something extremely simple that illustrates my problem:

Graphics[Line[{{0, 0}, {.5, -.5}}], Axes -> True, PlotRange -> {{-1.1, 1.1}, {-1.1, 0}}, AspectRatio -> 1]

Output of the code above

Is it possible than two simple updates on same table interlocks?

Table A is:

id integer version varchar data jsonb (large data 1mb) fkToBid integer 

Table B is:

id integer other...  

Processes are aggressively running these two updates, in any order. Sometimes with same and sometimes with same


Why this can interlock? They should lock the A pk and the B pk always in the same order, so it should never interlock, isn’t it ? I heard somewhere about deadlock graph, how to see it?

SQL Server log file in “Simple” recovery model

Can someone please shed some light on log growth in simple recovery model. If I understand correctly, even in "Simple" recovery model the transaction log can grow? So if I have open transaction(s) (Update, Insert, Delete, Index Rebuilds, etc.) these start to re-use inactive VLF’s and if none are present the log will start growing based on log configuration until it reaches the configured size or hits disc space available limit? Can any of the active VLF’s be marked as "inactive" due to a checkpoint and\or full backups?

In short, it was requested that I change all databases to "Simple" recovery model and issue a "DBCC SHRINKFILE (N’LogName’ , 0, TRUNCATEONLY)" every hour. I received a Error 9002 and the Full database backup and dbcc shrink failed. I guess, eventually, the transactions completed and the checkpoint, full backup and dbcc shrinkfile were able to complete.

How to Connect a Website to a Simple Database Using PHP?

I watched this video here and want to build a simple database. Source code:

When I connect to my domain, I get the following error message whenever I type anything in: Connect Error (1045) Access denied for user ‘root’@’localhost’ (using password: NO)

i did exactly like the video did, except called my database IDK. What do I have to do to have values start showing up in my database? I already created a table, and I feel like I am missing something.

Java simple dusk cleaner game simulator

I am working on a dusk cleaner simulator on Java, in this case the shape of the cleaner is a circular ball.

The program is quite simple, the user puts in the width and length of the "room" and coordinates x and y.

What I want to do and cannot is create a series of commands, each represented by a character. There are three commands that I want to imnplement:

  1. char ‘A’ = Move forward 1 meter

  2. char ‘L’ = Turn left 90 degrees

  3. char ‘R’ = Turn right 90 degrees

Example of user input AALA, in this case the expected output is that the machine moves 2 meters and then turns left 90 degrees and then moves 1 meter again. Hope I am clear.

As you can see in the code, I have tried to create an array of chars but I dont know what the next step should be…

The code:

public class Cleaner extends JPanel { /* int lx = 1, ly = 1; int x = 200, y = 250;  */ int x, y; int width = 52, height = 50; // width and height of the "dust sucker" int lx , ly;   // an array of chars char[] charArray ={ 'A', 'L', 'R'};       java.util.Timer move; // making the instance of Timer class from the util package static JFrame frame;   Cleaner() {          frame = new JFrame ("Cleaner started!"); // passing attributes to our fame     frame.setSize (400, 400); // setting size of the starting window     frame.setVisible (true);          setForeground(; // setting color          move = new java.util.Timer();          move.scheduleAtFixedRate(new TimerTask()     {                       public void run()          {             if(x<0)                 lx = 1;             if(x>=getWidth()-45)                 lx = -1; // -1 sets boundry for the dusk sucker             if(y<0)                 ly = 1;             if(y>=getHeight()-45)                 ly = -1; // -1 sets boundry for the dusk sucker                          x+=lx; // to make the machine move             y+=ly;                          repaint();         }              }, 0, 5// speed of the machine             );          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);      }  public void paint (Graphics g)  {     super.paint(g);     Graphics2D g2d = (Graphics2D) g;     g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);     g2d.fillOval(x, y, width, height); }  public static void main (String[] args)  {     // lx value          String lxValue =               JOptionPane.showInputDialog( "Enter lx" );     // ly value     String lyValue =               JOptionPane.showInputDialog( "Enter ly" );          String xValue =               JOptionPane.showInputDialog( "Enter x value" );     // ly value     String yValue =               JOptionPane.showInputDialog( "Enter y value" );        // convert String inputs to int values        int firstInput = Integer.parseInt( lxValue );        int secondInput = Integer.parseInt( lyValue );       int thirdInput = Integer.parseInt( xValue );        int forthInput = Integer.parseInt( yValue );               Cleaner cleaner = new Cleaner();                       frame.add(cleaner);       cleaner.lx = firstInput; = secondInput;       cleaner.x = thirdInput;       cleaner.y = forthInput;             }      } 

All help is appreciated!