Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (741)
Games in Android Showcase (225)
games submitted by our members
Games in WIP (823)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2 3 ... 311
1  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-16 16:34:22
Thanks! That will keep me excited to do, it was boring a bit to stare at the screen doing nothing while the migration is done. Currently for 11513 users, it is taking me ~12 minutes to do the port, that is with the reduced data which excludes people who have never logged in after activating their accounts and also non-activated accounts.

Typically data-migration is fastest if you let the database do the bulk of the work:

1  
2  
3  
4  
SELECT ... some data-transformations in the select-statement
  INTO dst_table
  FROM src_table
  JOIN ... potentially some more JOINs to be able to properly fill dst_table


Migrating 11K users should take a split second, with this approach.
2  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-11-16 12:41:30
.. and optimisations by the JIT. You can have multiple (inlined) implementations of 1 callsite at a time, which all store these references in different registers, or (differently laid out) stack memory.
3  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-15 22:37:40
Porting of users is done, but however they are created with no password, and hence they cannot log in. They are required to click on forget password link and create new password for the accounts.
Ofcourse this is one of the first snags of a data-migration: how do we get application X to understand the password-encryption (salted-hash) from application Y. Typically this involves a bit of custom code in the new application. I could PM you your own SMF credentials (as hash+salt) and you could test your new implementation with that.
4  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-15 22:34:27
Great progress dudes!


Hey @Riven, I started migrating the users and found that there are a ton of users who have activated the accounts but haven't logged in even once. The lastLogin field for some is set to 0. Should I migrate them too? Or can I optimize the script to remove them?
Once you get 10% of data pumped over, it's typically a breeze to do the remaining 90%, especially on such a simple data-model.

So by all means, feel free to reduce your dataset, if it makes porting easier/speedier. In the final stages of the migration you would take the whole dataset.
5  Game Development / Performance Tuning / Re: Simple way to show quickly-changing values on: 2017-11-13 15:00:32
I'm not too sure about this, but I think you have to use SwingUtilities.invokeAndWait - because otherwise the String str could change be changed by your non-swing thread while the last runnable is still being executed on the EDT.

1  
2  
3  
4  
5  
6  
final String refCopy = str; // just in case 'str' was actually a field, and not a local-var
SwingUtilities.invokeLater(new Runnable() {
   public void run() {
      textArea.setText(refCopy);
   }
});


If you only want to view data, you should use a JLabel, not a JTextArea.
6  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-12 16:47:43
Do we want to port the database?

I personally like the "fresh start" option, but it's at least worth trying. This might require direct access, not an obfuscated dump.

Surely a few swapped words won't put you off? Smiley

Here's the dump, enjoy Smiley (and good luck!)

http://java-gaming.org/jgo-dump-20171116-shared.zip
7  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-11 18:14:26
I have cleaned up a database-dump, removing privacy sensitive information, like ip-addresses, locations, ages, emailaddresses, secret-question/secret-answer pairs for login-recovery, etc, etc. I also subtly mangled the messages, without structurally changing the posts, as to simply prevent a fork based on this shared dump. I'll do a few more sanity checks, and will make the dump available shortly.
8  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-10 09:29:40
Just chiming in here: sharing a database-dump with you, to attempt building a next-gen frontend, would not imply hosting the final product elsewhere.
9  Discussions / General Discussions / Re: Move to Kotlin? on: 2017-11-07 11:32:05
Java ... doesn't change at rates other languages change.

With the new 6-monthly releases I think we're about to see Java evolving much more rapidly
5 (or 10?) years ago they promised us annual releases - that didn't quite happen Smiley

I certainly hope we get 6-month releases, but odds are we should be happy if we get 24-month schedules.
10  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-06 08:18:55
Emphasis on will be. Smiley

Quote
... I'll prepare a database dump 'soon' (this week) ...
11  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-06 07:24:47
The JGO database dump will be publicly available - it is the community's data after all. Besides the IP-addresses, emailaddresses and private messages, everything in the dump could (in theory) be retrieved with a scraper.
12  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-06 01:07:16
Ah, the gloves just came off...

To suggest you're the only one without a lot free time then, now or otherwise is at the very least misguided.
jonjava, I'm wondering where you got that - you may want to reread my earlier replies, because I never even hinted at that.


As I recall, and I may have some of the details wrong, you weren't willing to accept any help let alone entertain the possibility. It seemed to me like you were using the idea to some degree as an excuse or opportunity to learning modern web development with aspects of it masquerading as some kind of heroic altruism. Not at all a serious or competent consideration in my estimation.

And to imply that suggestions or expertise was lacking is quite presumptuous given that you weren't listening and, at least at the time, your own understanding of modern web development was quite self evidently - in my opinion - somewhat bankrupt.
The rest of your response equally reads like a surreal plot twist, not sure where all the anger is coming from... me using JGO to learn modern web-dev for selfish reasons? You've gotta be kidding. If you have criticism, fine, share it, and I might identify with it, and try to improve my ways, I'm far from perfect, and we all know that, but this is just silly.
13  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-05 23:53:03
That has never been done before, for good reason Wink
14  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-05 22:38:59
But it fell flat partly because Riven wouldn't play ball IIRC
There was nothing properly suggested, just 2 or 3 forum-posts of devs that were willing and lacked relevant experience - in the mean time, I had (and still have) an extraordinary tiny amount of spare time, even my evenings and weekends are swallowed up. It's easy to suggest you're willing to take up the task, it's very hard to actually finish a project to the state it's ready for 'production'. Not just for the small group of inexperienced volunteers, but also for me.

I think java-gaming.org should pivot to some degree.
You guys really seem to insist that for the current ~20 active regular members, a large investment of time and effort with unknown outcome is the best thing to do... well, I'm willing to play ball, as I said earlier. I'll prepare a database dump 'soon' (this week) and we'll see who is willing to make a JGO clone worthy and capable of replacing the current forum. If it's any good, I'll seriously discard SMF and roll out whatever is ready to replace it.
15  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-05 17:48:50
Migrating a forum's content from one backend to the other is not a trivial amount of work, it takes experience with both old and new backends to properly migrate. As a side-note, you don't know half of SMF's crappy UBB implementation, and you really wouldn't want every other post in the new software to have garbled contents. Another point would be that you wouldn't want all the current links to webpages to yield 404. There are seriously a million little details concerning data-migration, especially if you're working with a heavily modified current backend.

I could provide a database-dump of JGO (lacking the PMs and other sensitive data), and you could give it a whirl. If anybody gets it to at least the level of stability and accessibility of the current site, we could talk about a migration. Keep in mind though, that you're basically doing a lot of work for a forum that is already tumble-weeding.
16  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-05 10:47:41
Surprisingly, the peak of the community was as recent as 2014...
http://www.java-gaming.org/content/stats
17  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-04 19:31:36
One big turn off for me here is the site though (sorry RIven!), its very dated , its broken in key places (like changing your email address) and I can't read it well on my mobile.
That's like asking for brain-surgery for a perpetually drunk 90 year old. Smiley
18  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-04 11:16:32
Oh, and forums are so 1990-2010 Emo
19  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-03 20:27:05
Multiple reasons:
Java is no longer cool among the youngsters.
High schools / colleges / universities are moving to python.
Java itself is a piss-poor platform for game development, you need mature engines/frameworks, and those tend to have their own communities, bleeding this site dry.

After posts dwingle, it's a race to the bottom, it's a self-reinforcing effect: why post if there is nobody to read it, why read anything if nobody posts. You need a minimum of posts per day to sustain a community and we have long sunk below the threshold.

In other news: I'm way too busy with work, which makes the upgrades few and far between. As it's now, it's simply not worth the effort to invest heavily in modernising the forum either... so there's that Pointing
20  Game Development / Newbie & Debugging Questions / Re: Hosting game/demo file for download on: 2017-10-04 22:49:19
Blah blah blah Cranky

Back on topic please, or I'll wake the chatchat monster from it's slumber.
21  Game Development / Newbie & Debugging Questions / Re: creating a turn based framework with libgdx on: 2017-10-04 16:23:53
It's basically the distinction between a comparison
==
, and an assignment:
=


What you basically did was:
1  
2  
3  
4  
playerturn = false;
if(playerturn){
   ...
}
As you assigned 'false' to 'playerturn', before the if-condition was evaluated.
22  Game Development / Newbie & Debugging Questions / Re: creating a turn based framework with libgdx on: 2017-10-04 15:27:06
1  
if(playerturn = false){

This does not do what you think it does Pointing
It sets playerturn to false, then checks whether it is true.

1  
if(playerturn == false){
23  Java Game APIs & Engines / JavaFX / Re: Off screen rendering, drawing images onto themselves and other shenanigans on: 2017-10-02 19:02:33
Call me cynical, but I never even bothered with JavaFX after I saw their first demo: a 2D 'clockwork' comprised of half a dozen (!) rotating opaque arcs. It was stuttering for over 10sec before it became somewhat smooth at 15fps. This was their tech to showoff JavaFX to the world... with the promise that it would become less stuttery, blaming JIT compilers and cold caches. Meanwhile LWJGL was spitting out tens of thousands sprites per frame at 60fps. I lost faith in the competence of the developers right there.

After... applets, poor graphics APIs, poor audio APIs, poor media APIs, why even consider looking at Suns/Oracles clientside tech, where even if they'd succeed, by making it part of the JRE they tied themselves to the backward-compatibility ball-and-chain from day one. We'd have to live forever with every single design-flaw: a revamp would be out of the question, or it would have a clunky API.

Rant. Rant. Rant.

Any project, clientside, serverside or middleware, will have a few flawed iterations. Why ship it in an eco-system that does not allow you to shed your mistakes?

24  Java Game APIs & Engines / jMonkeyEngine / Re: Correct JME URL: https://hub.jmonkeyengine.org/ on: 2017-10-02 17:02:55
One wonders why the JME devs don't bother to redirect all those millions of hits from the old URL to the new?

Seems like jmonkeyengine.com and jmonkeyengine.org have the same owner.
25  Game Development / Newbie & Debugging Questions / Re: Hosting game/demo file for download on: 2017-10-02 14:18:09
AWS/S3 is merely a directory-tree with files and access-control, you cannot host JGO on it Smiley
26  Game Development / Newbie & Debugging Questions / Re: Hosting game/demo file for download on: 2017-10-02 06:06:33
These VPS providers massively oversell. With S3 there is no overselling (you pay what you use), hence it's more expensive. If every customer of RamNode would actually use 1000GB, their pricing would be unsustainable at $2.66. (S3 would charge you $88.00). Having said that, by all means pick the cheapest Smiley (for non-critical applications)
27  Game Development / Newbie & Debugging Questions / Re: Hosting game/demo file for download on: 2017-10-01 13:03:15
Amazon S3 is the cheapest and very reliable (4 nines) option when it comes to storage-only, since you don't need compute capability, let alone a full virtual server.
You can even calculate your estimated per-month costs here: https://calculator.s3.amazonaws.com/index.html
Let's say you live in the UK and may require 4GB of total storage and your game will _probably_ be downloaded 100 times per month, then you will be charged 22 UScents per month (edit: wrong calculation) $2.25 per month.

He mentioned 400mb download, you mentioned 1000x per month = 400GB/month = $34.65, according to that calculator.

Edit: right, you changed it to 100x per month... and corrected yourself in the pricing too, so you were 2 orders of magnitude off Smiley Bandwidth is still expensive Pointing
28  Game Development / Shared Code / Re: take ScreenShoot on: 2017-09-11 21:07:54
Why are the w & h parameters floats?
29  Discussions / General Discussions / Re: Shit hit the fan during my midnight slumber on: 2017-08-30 17:44:40
JGO runs on arcane piles of silliness. I'm sure whatever broke, was patched a decade ago.
30  Discussions / General Discussions / Re: Shit hit the fan during my midnight slumber on: 2017-08-30 09:36:58
It's back up - better than everTM Kiss
Pages: [1] 2 3 ... 311
 
Ecumene (108 views)
2017-09-30 02:57:34

theagentd (135 views)
2017-09-26 18:23:31

cybrmynd (245 views)
2017-08-02 12:28:51

cybrmynd (240 views)
2017-08-02 12:19:43

cybrmynd (238 views)
2017-08-02 12:18:09

Sralse (252 views)
2017-07-25 17:13:48

Archive (864 views)
2017-04-27 17:45:51

buddyBro (1007 views)
2017-04-05 03:38:00

CopyableCougar4 (1567 views)
2017-03-24 15:39:42

theagentd (1373 views)
2017-03-24 15:32:08
List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!