Join us on Discord!
You can help CodeWalrus stay online by donating here.
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - bb010g

#91
Quote from: alexgt on May 12, 2015, 02:15:57 AM
Quote from: bb010g on May 12, 2015, 12:30:55 AM
Quote from: alexgt on May 12, 2015, 12:05:13 AM
/\ ? Commands might be possible. If I find a way to make "mods" then I might make it an addon, any ideas on how to do that, it people could make mods for MinePrime I think game play could be really interesting and involve you guys more :)
The thing that bugs me about extensible behaviors, like mods, on the Prime is that they would have to be referenced (AFAIK) through strings and called via expr. That makes things slow. Even in a simple paint program, using strings and expr function calls, as opposed to direct calls, is noticeably slower. The alternative I see is hard coding in your mods when adding them, but that smells. PPL needs some way to deal with program/namespace, variable, and function references for a mod API to work. With more than 3 calls per tick, it'll get slow.
Yeah I thought you would have to hard code it into the game but the problem with that is I didn't start this project with other people understanding my code enough to make a mod so I should go through and comment it all <_<.

I hope subs don't slow it down too much I have 99999999999999999 of them it seems O.O
As I said with @DJ Omnimaga¸ functions aren't the problem. A nice method of dispatching arbitrary functions is. It would be nice to be able to auto-detect mods and load them on startup and disable them live. You could do this right now with Programs and checking MyMod.isMinePrimeMod or something, adding it to a list, and then iterating through that every tick, calling functions that have been separated out on functionality likewise like tickMods(i).onGameTick(state, whatever) and invMods(i).onInvTick(state, whatever) (I'm not familiar with your code), but to make those calls currently you'd need to use strings and EXPR. You'd STRING the arguments, EXPR would re-tokenize them, the function would be evaluated, and the result would be returned. String manipulation is slow. That is why a nice reference system for programs/namespaces, variables, and functions would be great. That wouldn't be as slow. It wouldn't be as fast as a single compiled program, but it's still compiled at compile-time, not run-time repeatedly, and would be very usable (unless they're implemented extremely jankily). See also: C function pointers.
#92
Quote from: DJ Omnimaga on May 12, 2015, 01:52:44 AM
This totally smells like the TI-OS VAT on the 83+/84+ series >.<. Games with lots of sub-programs gets atrociously slow, especially under low RAM conditions.
Functions themselves aren't the problem. They're fine. The problem is that using strings for higher-order functions is horrible because strings.
#93
Quote from: alexgt on May 12, 2015, 12:05:13 AM
/\ ? Commands might be possible. If I find a way to make "mods" then I might make it an addon, any ideas on how to do that, it people could make mods for MinePrime I think game play could be really interesting and involve you guys more :)
The thing that bugs me about extensible behaviors, like mods, on the Prime is that they would have to be referenced (AFAIK) through strings and called via expr. That makes things slow. Even in a simple paint program, using strings and expr function calls, as opposed to direct calls, is noticeably slower. The alternative I see is hard coding in your mods when adding them, but that smells. PPL needs some way to deal with program/namespace, variable, and function references for a mod API to work. With more than 3 calls per tick, it'll get slow.
#94
Quote from: Lionel Debroux on May 10, 2015, 09:28:27 PM
As hinted above, the signed drivers of the libticables version accompanying TILP II 1.16 made unsigned driver mode superfluous :)
TILP II 1.16 was released in November 2011...
Whaaaat? I had to do unsigned on my install... <_<
#95
Quote from: Lionel Debroux on May 09, 2015, 03:57:54 PM
I downloaded the very first Windows 10 developer preview, and successfully checked TILP's operation on that version. I just hope the final version will behave the same (that is, it won't be even more obnoxious wrt. driver requirements).
Do you still have to do Microsoft's unsigned driver dance as of right now to get it working?
#96
Quote from: DJ Omnimaga on May 01, 2015, 04:57:51 AM
Quote from: Strontium on April 30, 2015, 04:57:54 AM
Quote from: DJ Omnimaga on April 29, 2015, 04:00:30 PM
As long as your parents don't block CodeWalrus in the filters or stuff like that. <_< Make sure to keep your grades up, though, in case.

Thats what proxies are for :P
Yeah and if you get caught using one I heard stories about people getting banned for life from the computer labs and worse. Although I would personally be tempted to do it if I absolutely wanted to access a website, I would rather first make sure that my grades are good before thinking about visiting gaming/social sites and then make sure to not get caught. Of course sometimes you have no choice if some schools/parents use abusive restrictive measures, but you do it at your own risk (and the risk of having even more restrictions afterward).
I had to use a proxy for a school-sanctioned program at my school once because I was setting up a nginx server for FRC and the firewall was all like "OH NOEZ PROXY" because it's a web server, of course they'll be talking about proxies. :D
#97
Dang it, I knew I should have taken French instead of Spanish. grumble grumble "Spanish is used more" grumble grumble "French sounds cooler" grumble grumble
#98
Other / Re: Pi day!
March 14, 2015, 05:50:31 PM
Happy ½τ day all!
#99
Oooh! I didn't know about this topic. :)

A nice, full cover of Viva la Vida:


And a Money Island dance remix:

#100
General Music Talk / Re: What are you listening to?
February 09, 2015, 01:03:46 AM
http://rakohus.bandcamp.com/album/another-castle

All those pop songs, but chiptune and without the weird lyrics! Really well done.
#101
Which of these are actual names? I think most of them are just permutations & mixings of actual product names.
#102
Quote from: Juju on December 06, 2014, 10:39:25 PM
Ah yeah I posted it on Telegram yesterday.
Is there a Codewalr.us Telegram group?
#103
General Music Talk / Re: What are you listening to?
January 28, 2015, 04:26:06 AM
Currently on the second hour of my trip down that endless road, searching for that unknowable answer:
#104
Other / Re: Happy new year !
January 01, 2015, 01:54:44 AM
Happy new year! FRC kickoff is nigh!
#105
What about a NOTICE?
Powered by EzPortal