Golden Sun Hacking Community
April 27, 2017, 03:30:49 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
  Home   Forum   DC Wiki Help Search Calendar Downloads Login Register  
Pages: 1 [2]   Go Down
  Print  
Author Topic: Programming rant  (Read 2335 times)
0 Members and 1 Guest are viewing this topic.
Fox
(Your name), the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 17
Offline Offline

I am: You. (What's your name?)
Clan Position: Head Gallant
Posts: 2234

« Reply #15 on: December 06, 2016, 01:12:17 AM »

Lazy programmer shouldn't be that ironic, really... Get to lay down in your bed all day (At least figuratively), watch t.v., get fat, eat tons of sugar and have diabetes ... all that fun stuff...
--
Quote
The chances of hitting something important is small
I agree with that likeliness... but wasn't sure if there was anything I was missing...

The worst case scenario I can imagine being the most likely, is if you're trying to hack a program with violent anti-hack features. :/ (However, the chance of a program being created as such is pretty tiny.)

I remember once messing something up because I cleaned out the registry... via using a program to do so... ...  it's been so long now, though... (Maybe even a decade?? ... (I think it was the empty keys?) But note, I forget exactly all the details, but anyway.)  So you also have to use common sense as well.

Stack Smash
« Last Edit: December 06, 2016, 01:26:47 AM by Fox » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Isaac Isaac Isaac Isaac Mwahahaha!!!
Garet Aah! Get away from me Issac!
Isaac Why do you spell my name wrong?
Garet They said to add 's' if it's plural.
View Profile
Seto Kaiba
the blind-oriented developer
Jupiter Clan

Regular Member
*

Coins: 2
Offline Offline

Gender: Male
I am: owner of kaiba corp
Posts: 173

« Reply #16 on: December 06, 2016, 01:43:00 PM »

Windows Registry is just a database with settings for your operating system. It can cause issues if you were to clear it out since many pieces of software rely on the registry for things like software expiration and even critical system processes. In rom hacking terms, it would be like deleting a table used to lookup sprites or battle scripts.

By the time you're screwing around with the stack, you're more than likely not doing "random bytes" anyways; either you just crash the program with a number of stack-related crashes or you trigger arbitrary code that doesn't do anything or potentially crashes the computer.

Anyways, developer laziness is one of the key problems facing accessibility today. Most software is not made accessible because most people don't know what's required and they don't fill in all the accessibility labels, let alone try to build a logical focus order.
Logged

View Profile WWW
Luna_blade
The last member of the Luna clan
Luna Clan

Great Member
*

Coins: 0
Offline Offline

I am: Timeless. As in, i don't have much free time.
Posts: 525

« Reply #17 on: December 06, 2016, 02:21:34 PM »

Anyways, developer laziness is one of the key problems facing accessibility today. Most software is not made accessible because most people don't know what's required and they don't fill in all the accessibility labels, let alone try to build a logical focus order.
https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/
Does that include translation?
I know windows supports lot's of languages. But Android IDK?
http://stackoverflow.com/questions/7973023/what-is-the-list-of-supported-languages-locales-on-android
Quite a lot, but likely not in the earlier versions.

Logged

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
View Profile
Fox
(Your name), the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 17
Offline Offline

I am: You. (What's your name?)
Clan Position: Head Gallant
Posts: 2234

« Reply #18 on: December 06, 2016, 02:25:09 PM »

-I know what the registry is... and you are correct. In fact, I believe the files for them are in... System32 /config...
I think I'd like to think of it as some sort of SQL-like thing.. (But not really.) Since SQL happens to be about managing tables as well. (But SQL is more of a coding type of thing. SQL = Structured Query Language)

@cleaned out = I don't mean deleting the whole thing, no... Just things that fell into a specific category at the time... apparently the program I was using wasn't clear about the dangers. Maybe I wasn't thinking? -- But it was so long ago, so do not think of it as anything recent.

-Well... I more just thinking of worst-case scenarios.... (Which I would think, requires knowing what all the boot files are... etc.) ... I mean... I could go on to say the registry is a type of "app" (In some way")... some people say to be careful in the registry...  and now maybe I want to know what files/keys to not touch... it's basically the same premise of what I'm trying to say. (In a somewhat(?) different form.) Since the more specific the information, the better.

Perhaps it can be made (Assuming you're designing an OS) so that the Kernel (and maybe a specialized back-up sector) is the only thing you need to actually be careful of, but I dunno... (Since that way, we could have several different forms of admin access.. The top owner status could have Kernel access, while regular admins don't, but has access to everything else... including boot files that could be repaired by Kernel. (Assuming you allocate that feature to the Kernel, in this example.))

-That's understandable... It already takes a lot of crazy time to build a game... so I'd admire those who are able to do frequent updates to whatever software they're developing. (Even if the updates are relatively small.)
« Last Edit: December 06, 2016, 03:23:37 PM by Fox » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Isaac Isaac Isaac Isaac Mwahahaha!!!
Garet Aah! Get away from me Issac!
Isaac Why do you spell my name wrong?
Garet They said to add 's' if it's plural.
View Profile
Seto Kaiba
the blind-oriented developer
Jupiter Clan

Regular Member
*

Coins: 2
Offline Offline

Gender: Male
I am: owner of kaiba corp
Posts: 173

« Reply #19 on: December 06, 2016, 03:23:56 PM »

Anyways, developer laziness is one of the key problems facing accessibility today. Most software is not made accessible because most people don't know what's required and they don't fill in all the accessibility labels, let alone try to build a logical focus order.
https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/
Does that include translation?
I know windows supports lot's of languages. But Android IDK?
http://stackoverflow.com/questions/7973023/what-is-the-list-of-supported-languages-locales-on-android
Quite a lot, but likely not in the earlier versions.



I'm referring to blind accessibility, but that's another example of laziness. What usually happens with a developer is that they assume that since it works for them under certain circumstances that it works for everyone. In the case of blind accessibility, that problem is pretty obvious since blind accessibility requires that you 1) set up an appropriate focus order of your elements, so that a blind person can navigate via tabbing/keyboard, and 2) requires labels so that blind people can tell more about an object than "Radiobutton, radiobutton, button, frame) ect. Poorly made websites oftentimes will have you tabbing through a long list of "table/row/column" before reaching any substantial text. Many developers don't even realize they're forgetting it. Those who do know how time consuming it can be, especially to fix it.

What you're talking about more has to do with character sets which is another problem entirely rooted in the same psychological idea - "it works for me so it will work for everyone". Smaller character sets have limited space for characters and therefore other alphabets such as cryllic or greek either are installed on larger character sets, or replace latin ones, which in the latter case often causes display issues. I'm no expert on character sets but I do know that at least.

@ Fox - Restoring the registry is fairly easy though, as long as you're able to, in some way, access the file system. For example, if you managed to bork your system so badly that it can't boot, but just need to replace the registry, if you have a backup file that you can use, you could boot using an alternative boot method (for example, using a disk to boot with Ubuntu or something) and replace the file that way. On systems like a Wii or other closed software systems this is much harder to do, but on something like your PC you should be fine. Hell, once I completely destroyed my windows Vista through some crazy overflow that somehow corrupt some system files; I was able to get all my data backed up through running an ubuntu DVD and just loading them on my portable hard drive, then reimaged the hardware. Was down for a good 2 days though.
« Last Edit: December 06, 2016, 03:27:36 PM by Seto Kaiba » Logged

View Profile WWW
Fox
(Your name), the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 17
Offline Offline

I am: You. (What's your name?)
Clan Position: Head Gallant
Posts: 2234

« Reply #20 on: December 06, 2016, 03:51:39 PM »

Hm... Good point. Which files are required to access the file system? (Besides the Kernel, since we know it comes first.)
And how long does that take to replace? (As part of the worst-case scenario statistic.)
I am not sure about boot methods... assuming you don't have a disk (Esp. not a built-in CD drive this time... Thumb drives could probably work... since all computers typically have USB,, and they're pretty small/easily portable...).... I suppose you could dual boot with an iso file, but I haven't really set them up. (There is a screen for dual booting though... but the other option (I was going to have it be a Linux/Ubuntu since like... a long time ago), basically is messed up/whatever word goes here.)

@Your experience with overflow:  And that's nice to know. (Although sad to see happen to someone.) Thanks for sharing.


---
I think it's interesting how we went off-topic (assuming the topic is about the programming community's way of doing things.), and how it's still related in some... really strange way.
« Last Edit: December 06, 2016, 04:08:45 PM by Fox » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Isaac Isaac Isaac Isaac Mwahahaha!!!
Garet Aah! Get away from me Issac!
Isaac Why do you spell my name wrong?
Garet They said to add 's' if it's plural.
View Profile
Seto Kaiba
the blind-oriented developer
Jupiter Clan

Regular Member
*

Coins: 2
Offline Offline

Gender: Male
I am: owner of kaiba corp
Posts: 173

« Reply #21 on: December 06, 2016, 04:23:50 PM »

It really depends on what system you're using and I don't know a ton about it, especially on PCs. However, this is the very basic jist of how bootstrapping works:

When you boot a computer (or any device), electricity is powered to the device, and there is a point in memory that basically defines the first memory address to be read. The bootstrap code is designed so that it allows access to more and more memory and devices. Once memory has been allocated the code starts setting up the framework for the filesystem and operating system.

Any device that can be connected to the computer and is able to be booted through the computer's boot sequence could be used. When you boot a computer, there's an option to select your "boot order", or the order of devices being read. On older computers, it was well known to remove a floppy from your computer before booting since it would be hard coded to read from the A drive first before the C drive (namely because hard drives were not always a thing on these older computers!). In fact, some viruses propogated in this manner in the old days by basically running code that runs on boot from the floppy, and give it the illusion of not being a bootable device.

You could use a bootable thumb drive, removable hard drive, DVD, ect. but the volume would probably have to be labeled as bootable when you set up the partition. Again not an expert but this is what I know.

What this means is that as long as whatever software you're running is able to initialize themselves in this way, they can be used to boot a computer.
Logged

View Profile WWW
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

Cbox
Today at 12:17:52 AM
Fox: (e.g. The process of reomving, replacing, adding, and/or moving around current ability effects to other index numbers.... ETC.)
Today at 12:15:33 AM
Fox: Or an Ability Effect editor, even.... But I imagine most of those would involve have patches applied to help with compatibility, and what not.?
Today at 12:10:36 AM
Fox: Hm. Oh! Did Atrius's Editor contain code from the April Fools version? Might be cool to have that, I'm guessing? - And yes, tools... even specific feature tools... Like an Intellect Editor, maybe.... If it was practical. (Not saying doable, but practical.)
Yesterday at 11:58:08 PM
Lord Squirtle: And yeah, "far less user-friendly" as an argument relies on the current lack of tools that could make using that easier.
Yesterday at 11:57:26 PM
Lord Squirtle: Since the GS editor is actually slower than using a hex editor is when it comes to classes, especially if you are mostly copying or tweaking existing classes to make full lines for them.
Yesterday at 11:56:18 PM
Lord Squirtle: Well I mean, it's the kind of effect that could easily be applied to a number of abilities if one wants. Having to open up a hex editor to use it for each of those abilities would take some time, and wouldn't really be as worthwhile as it can be for classes.
Yesterday at 11:50:27 PM
Fox: Far less user-friendly? Hm? I would say it depends on the tools/and such... For example, still haven't gotten my Exporter project done....
Yesterday at 10:07:39 PM
Lord Squirtle: But what I was thinking of doing with the unused effects was figuring out which ones are still available and combining them; averaging out the differences between each one so they make up for the ones that are missing.
Yesterday at 10:05:36 PM
Lord Squirtle: I may consider moving the effects to the end of the effect list, since I moved the pointer table and added some empty space on the end. My main concern with that is that it would be far less user friendly.
Yesterday at 08:06:20 PM
Fox: Heh... Starting to make me want to add the Ability Editor to my own Editor now... So I can do that, and have chance values listed for each and every one. (So it is more specific than Atrius's editor.)
Yesterday at 08:03:06 PM
Fox: Well, 0-255.
Yesterday at 08:02:53 PM
Fox: The max probably being 255.
Yesterday at 08:00:09 PM
Fox: (@Editor modification: In which case, I would recommend adding support up to the maximum number for future purposes.... if at all reasonably possible.)
Yesterday at 07:53:50 PM
Fox: @Disabling them: It kinda would be a trade-off for those who want to use those effects that went unused.... ...  I have a suggestion, though... and it might be rather interesting. But have you thought about using one of the unused flags to like... switch out Effect lists? (So you can have your own if you don't want to modify the editor.) I imagine it is rather unnecessary, though. Since it is easy enough to extend the list with a quick editor modification.
Yesterday at 04:46:01 PM
Lord Squirtle: And elements too from the looks of things.
Yesterday at 04:44:05 PM
Lord Squirtle: Makes me wonder how much work it would take to add more djinn slots.
Yesterday at 04:30:45 PM
Lord Squirtle: Well, total - 1.
Yesterday at 04:30:13 PM
Lord Squirtle: Huh, neat. I think I found the part of the djinn battle menu code that decides how many djinn of each element exist.
Yesterday at 02:53:07 PM
Lord Squirtle: I should probably look into disabling the multiplier chance for those now that I think about it.
Yesterday at 02:52:17 PM
Lord Squirtle: I still am, but mainly because it doesn't look like there are any abilities that use those effects.

Affiliates
Temple of Kraden Golden Sunrise
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.096 seconds with 22 queries.