silas

joined 1 year ago
 

Hello all!

I'm a beginner in web development. I'm building a simple small library application for learning purposes that has processes such as:

  1. The landing page is an main index page with links to people page, books page, etc.
  2. Suppose the user clicks "books", it will be redirected to a page with a list of all registered books, let's call it "books index".
  3. The user can edit one of the books or click the "new" link. Both choices will redirect they to "edit-book" page, with a simple form that can be submitted.
  4. After submission, the user is redirected to the "books index" to edit or add another book.

In summary:

[1: index] -> [2: books index] -> [3: edit book form] -> [4: books index]

In step 4, if the user clicks the "back button" in browser, it is redirected to the form page. If they edited 20 books, they will be redirected to the form page 20 times. It is rather confusing, so I want they to be redirected to the main index page if they are on the books index page.

It seems I cannot just remove things from browser history with Javascript.

Do you have any suggestion? I'm thinking about just adding a "back" button in the page which works differently from the browser button, but it would still add stuff in history, which could make things even more confusing.

Thank you very much.

 

Hi. I'm playing emulated Driver using pcsxr on Linux. Sometimes, when I'm being chased by three or more police cars for example, I'm observing a drop rate (from ~59 fps to ~45 fps). I first thought my computer (which is an old i3 540!), but I soon changed my mind because of two reasons:

  1. I was playing 1080p, but when I decreased resolution to 480p, this problem persisted.

  2. When I disabled emulator frame rate limiting, it jumped to ~120 fps and it dropped to only ~90 fps on other situations. Well, it is impossible to play the game in this situation as it seems you are playing in fast-forward mode.

Because of that, I thought that the game itself could be dropping frames in some situations. Maybe it is considering the limitations of original PS1 hardware and prefer to drop frames instead of delaying the game itself? If this is right, it is impossible to "fix" it changing the emulator configuration. Unfortunately I have no PS1 original hardware to test it myself.

Thanks!

P.S.: I recently discovered there is a Driver game for PC which seems to run much better, but now I'm past half of the PS1 version, so it is not worth to start it over again :-)