Kuribo64
Views: 20,052,015 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
04-25-24 02:20 AM
Guest:

Main - Posts by Arisotura

Pages: 1 2 3 4 5 ... 378 379 380 381 382 383 384 385 386 ... 447 448 449 450 451
Arisotura
Posted on 08-02-17 09:33 PM, in Whitehole 1.5 Link | #85549
the code is a pile of shit.

WhiteholeCS might be a good base to build onto.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Arisotura
Posted on 08-02-17 09:41 PM, in Whitehole 1.5 Link | #85551
WhiteholeCS was pretty barebones. I don't think it even supported editing.


but of course, if people sit there calling it 'useless' instead of working on it, well

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Arisotura
Posted on 08-02-17 09:50 PM, in Whitehole 1.5 (rev. 3 of 08-02-17 09:52 PM) Link | #85561
first one, although it's not really about Java itself


JOGL is a dumb pile of shit compared to OpenTK. one is a cleverly designed wrapper that takes advantage of its language's features, the other is a dumb verbatim wrapper that ends up overcomplicating things.

for example, shader compilation code:

https://github.com/StapleButter/WhiteholeCS/blob/master/BmdRenderer.cs#L133 vs https://github.com/StapleButter/Whitehole/blob/master/src/whitehole/rendering/BmdRenderer.java#L301

esp. how to get the shader compile log, in C#:
string log = GL.GetShaderInfoLog(vertid);
all the complexity of the original OpenGL API is cleverly hidden behind a simple API call that handles everything for you and returns a nice string.

in Java:
gl.glGetShaderiv(vertid, GL2.GL_INFO_LOG_LENGTH, sillyarray, 0);
int loglength = sillyarray[0];
byte[] _log = new byte[loglength];
gl.glGetShaderInfoLog(vertid, loglength, sillyarray, 0, _log, 0);
CharBuffer log;
try { log = Charset.forName("ASCII").newDecoder().decode(ByteBuffer.wrap(_log)); } catch (Exception ex) { log = CharBuffer.wrap("lolfail"); }
the API sticks to the original OpenGL design. you must first retrieve the length of the log (and use a one-entry array because Java doesn't have pointers). then the log is given to you, but it's a raw char array. you need to convert it to a string, and be sure to catch any exceptions that process could throw. this code is a horrid pile of crap, for something the other API did in one line.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Arisotura
Posted on 08-02-17 10:02 PM, in Whitehole 1.5 Link | #85563
oh also, let me talk you about the exception handling nightmare


C# exception handling is bad, the dialog gives you the option to continue running in a fucked-up state


so Java forces you to handle all exceptions. except runtime exceptions, like NullPointerException.

and when those happen, all it does is print the message to stdout and continue running. if you have no console attached, you have no idea that something went wrong, all you get is that your program may become weird.

atleast C# always lets you know and gives you an opportunity to do the sensible thing -- close the program. Java just hopes you noticed.


I had eventually tried to catch all exceptions in Whitehole. the idea was to log the exception stack trace somewhere, inform the user that something went wrong and that they might want to exit the program. you'd think it must be doable, right?

ahahahahah.

it only worked half the time. the other half, it completely froze the program without giving anything useful.


I haven't tried doing that in C#, so can't tell if it would work there.


I'm no C# fanboy -- it does have its share of issues, and unless you stick to trivial programs, things quickly degrade once you run on anything that isn't Windows.

But Java is bad too.


Java also has no unsigned types! every decent programming language has them.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Arisotura
Posted on 08-03-17 04:34 PM, in Kuribo64 Town Square Link | #85612
can we not be repetitive pls

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Arisotura
Posted on 08-03-17 05:24 PM, in The movie and TV shows thread Link | #85616
F o r t   B o y a r d

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

(post in restricted forum)

Arisotura
Posted on 08-03-17 11:06 PM, in Kuribo64 Town Square Link | #85650
my condolences

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Arisotura
Posted on 08-04-17 04:07 PM, in how to hack the main.dol of wii games Link | #85691
you not very speak english

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

(post in restricted forum)

Arisotura
Posted on 08-05-17 04:03 PM, in How to modify the main.dol of smg / smg2 Link | #85746
uh, no

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Arisotura
Posted on 08-05-17 04:34 PM, in What keyboard to buy? (rev. 2 of 08-05-17 04:34 PM) Link | #85750
I never had the occasion to try a mechanical keyboard. But, to give you an idea:

* regular desktop keyboard: :UP:
I type well and all, and given the French keyboard layout, the numpad is handy

* laptop-style, flat keyboard: :DOWN:
I keep missing keypresses. argl. probably not enough key height or feedback or whatever.

* Sun keyboard w/ oversized space bar: :DOWN:
That one occured at engschool and kept tripping me whenever I wanted to use Alt-Gr.

* Touchscreen keyboard: :DOWN: :DOWN: :DOWN: :DOWN: :DOWN: :DOWN:
Tried typing on my tablet as if it was a keyboard. The lack of physical feedback or limit between keys is unsettling.


So, basically: physical buttons are good. Get your keys as physical as possible.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Arisotura
Posted on 08-05-17 05:01 PM, in Kuribo64 Town Square Link | #85754
Posted by Bboy Thetdra
Hey guys, maybe some of you remembered me from Rvlution last year, not sure. But happy to be on board again.

hey hey, welcome aboard


I knew your name sounded familiar

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

(post in restricted forum)

(post in restricted forum)

(post in restricted forum)

Arisotura
Posted on 08-06-17 10:56 PM, in Kuribo64 Town Square Link | #85821
speaking of that, your signature is too tall, shrink it pls


and arlg, I can't type anymore, not that I typo shit but it seems my brain isn't into it anymore. I guess I shoul sleep

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Arisotura
Posted on 08-06-17 10:58 PM, in The Introductions Thread Link | #85822
shows that showing newer comments first doesn't bode too well with reply comments. it's counter-intuitive, you read the original comment then have to go to the bottom of the replies list and start going up to read it in order



regardless, welcome aboard Skek

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

(post in restricted forum)

(post in restricted forum)
Pages: 1 2 3 4 5 ... 378 379 380 381 382 383 384 385 386 ... 447 448 449 450 451

Main - Posts by Arisotura

Page rendered in 0.083 seconds. (2048KB of memory used)
MySQL - queries: 22, rows: 228/228, time: 0.032 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.