good info (amateur level)

link

have i ever mentioned my knowledge of programming has random gaps that are sometimes a bitch to fill in? most of the day stuff that looked like 0x0400 or 0xA447F was being really confusing. wtf is that!? yes i can see the second half looks like hex, but it still appears kinda random. well turns out 0x is a special code in C that means the numbers after it are in hexidecimal. that's it. so those are really saying HEX0040 and HEXA447F. oh. and now it makes perfect sense.


Elliot Temple | Permalink | Messages (0)

hex editors

So i needed a hex editor. (for war3 modding stuffz) (modding is modifying). but i didn't know that. see, someone had the bright idea of naming it a hex editor. hex means six. hex editors, i knew, had something to do with hexidecimal (base 16). i wanted to edit raw data. ya know, 1s and 0s. aka binary, not hex.

once you use one, the name does make sense. 1s and 0s are generally arranged into blocks of 8 with 256 possible values. you can write 256 possible values in 2 digits of hexidecimal. so displaying binary files in hex makes sense (they show the binary versions too) (and the ASCII aka text version too) (and various other versions like what integer the selected bit would be, if it was representing an integer).

anyway, hex editors are cool. cause now i can, for example, open a war3map.w3e file and find the integer near the start saying how many tiles the map has (which is written as a string of 32 1s and 0s), and change it to 16 (well, the 1s and 0s that mean 16). this could not be done with a text editor. this means i can do something really important to my map without using someone else's buggy program that i'm very afraid might break other stuff.

oh hey, wanna see specs on war3 files? no? well, here they are.

PS there's quite a lack of ez to find hex tutorials on google. feh


Elliot Temple | Permalink | Messages (0)

Elliot Temple | Permalink | Messages (0)

programmers only

Here's an example of terrible structure, but fine denotation:

global int i, j;
for(j=0; j < 10; j++)
{
    i = j;
    for(j=0; < 10; j++)
        print( my_array[i][j] )
    j = i;
}

Elliot Temple | Permalink | Message (1)

Elliot Temple | Permalink | Messages (0)

i took the time to post; you should be thanking me

source

Two leading Israeli cabinet ministers have said Israel should resume peace negotiations with Syria.

Really? Do they? I thought Sharon was opposed to the thing, so that's a bit odd.

Former Prime Minister Binyamin Netanyahu

Oh. The BBC is lying again. "leading cabinet minsters"!? yeah, and Jimmy Carter is a leading US President.

update: fuck. apparently he's a former something *and* a current something. but still, he's not a leading part of sharon's government. israel has a proportional representation system. so sharon is in charge, but there are ppl in government from the other parties too. this is like finding a democrat who'll say bush sucks, and calling that news. and then saying the democrat was a leading part of bush's government b/c he was in congress or something. ok actually i'm told guy is from same party as sharon, but opposite faction. so it's like finding Tracy (a libertarian i know) and getting him to criticise me. (sorry, that's only amusing if u know tracy)

oh, and before i go on, there's a nice picture of a BULLDOZER with a caption saying Israel captured the Golan Heights from Syria in 1967. From the picture, you'd think Israel just built stuff there and took it, and maybe knocked down the homes of the peace-loving Syrians who lived there. did the BBC forget about the six days WAR? fought not with bulldozers, but with bullets. i know they both start with 'bull', but they really are different things.

[Successful peace talks with Syria] would mean Israel withdrawing from nearly all of the Golan Heights, which were captured from Syria in 1967.

ummm

fuck you BBC

The Defence Minister Shaul Mofaz, for example, has said publicly that he does not think Syria is serious, and Prime Minister Ariel Sharon has shown little interest in the proposal so far.

Mr Mofaz wants the Syrians to end support for radical Palestinians and for the militant group Hezbollah, before Israel thinks about resuming negotiations.

Amazing how all the people "totally serious about peace with Israel" want concessions before they give even their word to fight anti-Jew terrorism.

There have also been contacts between Israeli and Libyan officials in recent weeks, but both sides have been alarmed that news of the meetings leaked out.

heh heh. well thanks for telling me. *sweatdrop*

PS West Wing rocks

PPS go read IMAO


Elliot Temple | Permalink | Messages (2)

i'm amused

For myself, calling someone irrational is irrational.

If i call you irrational, would you say we're both irrational, or just me?


Elliot Temple | Permalink | Message (1)

not posting much cause obsessed with my buggy warcraft map

Not Real Life: Israelis have dismissed Palestine's latest list of zero terrorist groups to be dismantled under the roadmap as inadequate and deceptive.

Real life: Palestinians have dismissed Israel’s latest list of 28 settlement outposts to be dismantled under a peace plan as inadequate and deceptive.

The world is strange.


Elliot Temple | Permalink | Messages (0)