-
Content Count
3,324 -
Joined
-
Last visited
Posts posted by truefusion
-
-
I've never had this problem. I don't even know if one can even "design" for 64-bit. All the C++ programs i've made compiled fine for either without any change in code, and i've never noticed any decrease in performance. If i'm not mistaken, all you need to do to make a program "64-bit" is to compile it on a 64-bit system. For heavy processing, you may notice that a 64-bit system would perform better for such tasks. By "heavy processing," i mean things like scientific calculations and video production. NASA would (or should) benefit from 64-bit—though it may cost them a lot of money to replace parts.... that 64-bit software is also a bit more difficult to write. Also, since you are now programming in 64 bits (integers) instead of 32, 64-bit software can actually run slower than 32-bit software, since now your 64-bit software is having to address 64-bit address spaces (doubling your memory pointer requirement from 32-bit), requiring more memory AND space to deal with two times the data being worked with.
-
As some of you might know, i have started making my own desktop environment for systems that use the X window system (a.k.a X11, X.org)—meaning you would even be able to use it under the Mac OS. Obtaining documentation for making your own desktop environment for X, however, especially with the toolkit of your choice, isn't easy, at least not without browsing through source code of already available desktop environments out there. Being the kind of person who prefers to skim through documentation as far as it will allow him to get the job done or started or have something working as quick as possible, i couldn't dive into, for example, KDE's source code and expect to come out of it knowing how to make my own environment so quickly. Luckily i came across simpler desktop environments that use the toolkit i wanted to use—Qt4. For the sake of making things easier for others who would like to make their own desktop environment, or window manager, i write this out.
The basics are quite simple, though. For my current purpose i don't need to make a display manager for loading my desktop environment—thankfully; i can use GDM or KDM, et cetera. What a display manager basically does is it runs a program specified within a desktop file (which can be located in a few locations, but i place the desktop file at /usr/share/xsessions). The program it runs, in turn, runs any other program it needs to form a complete desktop environment—that is, along side any system programs. These programs are known as "clients." The clients communicate with the X server; this is known as a client-server relationship. Naturally, your program does not initially have that relationship, so you have to tell the X server to redirect the event signals to your program. X event signals inform your program about what is going on with the X server—that is, based on the signals you chose to be directed to your program.
X is written in C, therefore using pass-by-reference. To select which events you want your program to be informed of, you use the XSelectInput function. For window creation, the important event mask is SubstructureRedirectMask. You want your program to pay attention to the event type MapRequest. From MapRequest you're going to want the member window from the struct. This member holds the window ID which is key for any window management, because you're going to need the window ID in order to reparent the window with the XReparentWindow function. This function allows you to make a GUI widget the parent of that window.
I chose a GUI toolkit for my desktop environment to tremendously ease the process of designing my own desktop environment. The GUI toolkit does all the drawing for me, including the text. Indeed, the X window system, though providing the functions to draw on the screen, does not provide the conveniences that a toolkit does. If i were to use the X window system alone for my desktop environment, in order to draw text, for example, i would have to draw it line by line. I chose the Qt GUI library because i find it to be the best and most convenient one. I use the x11EventFilter method to pay attention to what events the X server is informing my program about. Meaning if you want to make your own desktop environment using the Qt GUI library, you need to subclass QApplication.
Currently my desktop environment takes up about 3 megabytes without a wallpaper; with the common default_blue.jpg wallpaper, it takes up about 15 megabytes. Working with windows, that is, clients, and managing them is a bit annoying. For example, whenever you resize the window (i.e. the parent widget of the client), the client program doesn't resize with it. Consider the window as a viewport with an invisible scrollarea. To put it more simply, that is, in HTML and CSS terms: let's say you have a DIV element whose ID is "parent" with another DIV element within it whose ID is "client":
<div id="window"> <div id="client"></div> </div>
Also assume that the following CSS code is applied to these elements:
#parent {overflow: hidden;width: 500px;height: 500px;border: 2px solid black;}#client {height: 700px;width: 700px;}
Anyone who knows HTML and CSS should already know how this looks like. Well, this is what i was talking about. Whenever you resize the parent element, you also have to resize the client element while considering the borders and any padding in order to make things look perfect. You can specify the top and left coordinates of your client within your widget using XReparentWindow. However, that is merely like having "padding: 3px 0 0 3px;" for the parent element up there. Therefore in order to achieve the desired appearance, you use either XResizeWindow or XMoveResizeWindow functions. Of course, unlike HTML, you do not know the ID of the window, therefore you have to figure out a way to keep track of all the window IDs—but that is not as hard as it sounds.Anyway, that is all for now.
-
Opera already knows about the G-mail problems, you could see it in their change logs (though i've never experienced any problem with Opera and G-mail). If i'm not mistaken, most (or a lot) of the fixes for G-mail are found within the browser.js file in the Opera profile on your computer. I'm currently running build 4268 of Opera 10, and checking my G-mail runs well (though i don't use the chat feature—i disable it, it's a waste of loading time for me; i use Pidgin for Gtalk anyway). Although G-mail itself is still in beta (unless their logo hasn't updated to reflect the actual changes), assuming Google has all the AJAX working properly for G-mail, then it's probably how Opera interprets G-mail.Is it the way that Opera interprets what GMail has, or the way that GMail interacts with Opera?
-
Actually, the Bible doesn't allow for making images for one to praise and worship or pray to. (Exodus 20:4) If we evoke his name, it is not (or should not be) to evoke an image.they are doing the same thing, evoking that image.
Given the context, if the adornment is directed to humans or an object, then they do nothing (beneficial) for you.Why is that? what exactly are we doing to them, or are they doing to us?
In that case, that would be because they are ignorant of what you are doing. But omniscient beings aren't ignorant.I have been in and out love crushes, and I doubt that thinking about my obsessions would do anything to them, or make them think of me as well.
-
Have you checked the right-click menu, that is, "Validate"? Also, look up DragonFly. I've used DragonFly and it is a very good web developer tool—i can edit almost anything on the page i choose, whether it be text, CSS, or whatever else. The only thing about it, though, is that it appears to not be built into the browser itself but, rather, is queried through the browser after opening it up. However, i haven't tried opening DragonFly without being connected to the internet, so perhaps it works offline as well.-no web developer extensions like W3c validator and such.
This will be introduced in version 10 of Opera for what appears to be every operating system that Opera supports.-no auto update like firefox has.
-
I have found it interesting looking at the times before the Law was decreed, watching people already doing what was okay for them to do, in the Law. But i say clean and unclean because that is what is written in Gen 7:2. If i'm not mistaken, "clean animals" is defined implicitly in the Bible: that is, the unclean animals are defined, and whatever is left over is considered clean. Of course, there were some explicit exceptions, that is, concerning certain bugs (and probably others), but marking things as clean and unclean wouldn't change anything. There's no such thing as "unclean sheep," for example. Anything declared as clean will be clean until declared unclean—which you may find never occurs. You might find the term "with blemish," but that doesn't mean "unclean."Okay, whoa! What's this with 16 animals of each kind?In Deuteronomy, God details exactly what "clean" and "unclean" animals are. I always assumed that the "clean" animals on the ark were these that Noah and co. could eat - cows, chickens, turkeys and so forth. The "unclean" animals (the mass majority of them) were the ones that weren't okay to eat - pigs, horses, elephants and so forth. Since this would be the case, there would be 14 cows and 2 tigers, 14 chickens and 2 orangutans.
Is there a reason why you designate each species as having "clean" and "unclean" animals within it? Because that would change a lot - clean elephants and so forth, and unclean sheep.
-
Did any of those tabs have a page with some form of plug-in running (e.g. flash)? Were you visiting a Microsoft website? I realize that you may find it odd that visiting a Microsoft website would actually cause Opera to act funny, but it happens to me on my Linux system.Anyone run into any similar issues with "the fastest web browser on Earth?"?
Whenever it happens i find it to be very ironic, that is, being on a Linux system. It's interesting, though, that you had problems using G-mail in Opera 10, since for me it works better than it did when i was using the latest stable version of Opera. Perhaps the problem is specific to only the Windows version of Opera (assuming you're using the Windows version of Opera)?
-
Broadcom is known to be troublesome concerning Linux; it's the only one i've heard that doesn't play well with Linux. I'm not sure if a success story exists concerning Linux and Broadcom, but if you haven't done so already, using perhaps a wired connection, visit their website and look for any drivers and, of course, documentation—you're bound to really need the documentation (if requiring to compile from source). If they don't have any, that would explain a lot, but also do complain to them about it.
-
The way you set up the program doesn't allow it to loop. You never clear the hline variable, therefore holding the value throughout the script, therefore passing by the while loops and the if statements. Assuming the following is what you want, this is the correct way of doing it:
#!/usr/bin/env pythonimport syshelp="""1. What is this?2. How does this work?3. What did you make this in?4. Back5. Quit"""print helpwhile True: hline = raw_input("Please select a number between 1 and five: ") if hline == '1': print("This is a program duh") elif hline == '2': print("Through programming :-p") elif hline == '3': print("Python") elif hline == '4': import index.py elif hline == '5': sys.exit()
-
Where'd you get the nice background pattern? I could use a pattern like that.
-
Fedora is known for not activating programs for you, or at least back when i used it i would always have to start Apache myself, so i would assume the same for something like Postfix. During the installation its configuration script should have activated; if it didn't, then you'll have to figure out how to run that script. But if you did configure it, then it could be that it's not running in the background or that you configured it (unknowingly) to be limited only to your network and not extending to the internet. I'm not sure how Fedora handles programs like Postfix, so you'll have to do research on that.I installed it, but it doesn't works for some unknown reason. It doesn't starts. Do I need to set some other configurations?
-
I use Postfix for my mail server. It should be available in the Fedora repository. After configuration, PHP should have no problem sending mail. Configuration is basically answering about three questions—that's one reason why i use it: easy installation.
-
Here's something simple that should do what you want:
<?phpforeach (glob("*.txt") as $filename) { $arr = array_reverse(array_slice(file($filename), 0, 4)); foreach ($arr as $value){ echo '<font color="red">'. $value .'</font><br/>'; } echo "<hr/>";}?>
Do note i haven't tested this and just wrote it here on the fly, but i don't think there are any errors in it. Also note that depending on the file size of the files and the amount of files it has to go through, this program could use a lot of memory and take a while to load.
-
I don't use the Wine that's in the Ubuntu repository, i always compile the latest development version. I think the version of Wine i was using when i last used iTunes was probably 1.1.13 with, i think, iTunes 7.2. I think iTunes 8 was the version that has been known to work not so well with Wine, but version 7 always worked for me, that is, back when i used iTunes. Go here and pick the version you have and see if they offer any installation guides.What version of Wine and iTunes are you using? I could not seam to get it to install. It would always say "The iTunes installer has encountered an error and all changes to your computer have been undone" or something similar, when it is installing quick time.
-
You mean the icons? If so, then yeah, they'll be implemented whenever i get to that part of the development and figure out how to obtain the icons. I would have to figure out, though, how to maintain performance when updating the menus, since they don't really update themselves. I figured perhaps another XML file would help.Got room in there for a graphic for each of the Softwares?
-
I'm in the process of designing my own desktop environment for systems capable of running the X window system, and i got to thinking just what would be the best possible way to design the start menu. I'm not entirely sure of the practicality of this concept; however, to me it appears to be better than whatever is currently out there—but you decide. The concept is similar to the simple pop-up menus that you see today but considers more of a toolbox way of displaying the program shortcuts. I didn't want it to take up space in the panel itself like today's start menus generally do. That involves placing it on top of the panel, but, due to this concept, attempting to take up as little space as possible. Here's a current mock-up of the panel (it'll be shorter in the actual desktop environment):
Here's the start menu in action (couldn't get it at a higher quality):
If you have any ideas for improvement, suggest them here.
-
Have you noticed the MDI yet? Tab browsing isn't the same in Opera as it is in other browsers. Other browsers normally use tab widgets for their tab manager—this makes visible only one page per window. Opera uses an MDI area. What does this mean? Resizable views; that is, you can view several pages at the same time. I know konqueror allows for split views, but that's different. With an MDI area you can tile and cascade windows—accessible from the Window menu. Of course, if you have more than 4 tabs opened, tiling them is not all that useful then.Tabbed browsing. I don't care who came up with it first... it still rocks.
...
That's all I got for right now.
-
I've made a similar topic about this, but you can find other Computer Science videos in their Youtube playlists. And not just from them, but also from Berkeley, MIT, et al.
-
A conversion can take up to 24 hours—that is, as long as it needs to—before an actual conversion takes place. The script apparantly prioritizes the process of conversion in order to reduce the work load. It will eventually convert your myCENTs into Xisto dollars.but my warning level is 0% then also its not being myCents is not being reducednow what to do please help me.......................
P.S. Cut down on the excessive periods.
-
She was declared as a young person at the time of the banquet and a little further on, but i have no idea what age range was considered young. But the text makes clear that Esther, by the time she requested to have her people saved, she would have been in at least above 20 years old, that is, assuming she was picked within her teens, since the time of the banquet was in the third year of the king's reign, and it had passed over 9 years before she requested for the king to put an end to Haman's plans. But i didn't see any command from God (albeit i did skim a bit) for her to do such things.1. Valid point - but God still asks young people to do things, and that's all I'm saying. I've heard that the story of Esther never happened, but even if it didn't, God asked a young girl to save an entire nation of people by risking her neck.
Hmm. Though i've heard about it, i didn't know it was called "Pangea." But the Pangea concept does make things interesting. I had thought about this too in the past, but never considered bare land—that is, land without mountains high enough to reach levels with dense air. I have no reason to not allow for this, but running off of the thought, would it be safe to assume, then, that the actual shape or land mass was entirely the same as today but placed together like a puzzle? This does bring in a lot of scientific explanations or considerations. Genesis 1:9 could probably be interpreted to argue for a Pangean earth. But in either case, i can accept the majority of this, if not the whole thing, while maintaining my position.2. I'll be trying to clarify and make more understandable.
a. I believe Pangaea was an applicable landmass back in the day - it makes sense. Pangea would be extremely flat, by its very nature - no plates pushing against each other. As soon as the fountains burst forth and geysers blew apart the world, the plates as we know them were moved around and thrown together- forming mountains.
b. The mountains of Ararat were new mountains when Noah landed on them, and they still existed in the time of Moses. They probably still exist, they just have been renamed or forgotten. So Moses wasn't making an error when he wrote about THOSE. The ones that existed DURING the flood, the ones that were covered, I don't know how tall they were or any such thing. But for water to cover a mountain, that would still have to be a massive amount of water, and you can't have that much localized water for 40 days without it running away. For it to stay that high where Noah was for 40 days, it would have to cover the whole earth.
Interestingly enough, your questions should have answered themselves. Concerning the assumed lions, Noah had to bring them in because God commanded Noah to do so. Even though those animals were "just fine," God had declared their annihilation anyway due to how wicked the people were. (Note: this implies that animals were made for us, and if there were no us, then animals serve little to no purpose.) I would find it more probable (which implies more logical) if God brought the animals to Noah rather than have Noah go all around the world picking 16 animals (i.e. 7 pairs of clean animals and one pair of unclean animals, totaling 16) of every kind of animal just to place in his boat, the Ark. Noah at the time was over 500 years old when God declared the people as wicked (because Noah's sons weren't born till after Noah turned 500: Gen 5:32), therefore allowing less than, and no more than, 100 years for Noah to go and retrieve the animals. Even if we were to accept the Pangea concept and even if we were to accept that Adam's time and Noah's time were not that far apart (therefore implying less animals existing back then than today's world), there is still less than 100 years for Noah to build an Ark capable of holding so many animals. There cannot be enough time for Noah to build an Ark and go around the world picking 16 animals of each kind before he turns 600 years old. Therefore God must have brought these animals to Noah, therefore only requiring a regional flood.3. You did not answer my point. I did know that there were 7 pairs of clean animals(for eating and for faster repopulation) I just considered it superfluous to mention them. My point was that Noah would not need some of the animals if it was merely a localized flood. If there was going to be a flood that covered the midwest, why would you need lions on your boat? You wouldn't, because they would be safe in Africa. Why would God go to all that trouble to bring those animals if they were just fine? It's just that I believe in a world-wide flood, and unless they were REALLY screwed up about the details, it was. It's quite clear from the text. If I'm willing to accept an error about the flood, then I would have to be willing to accept errors about creation, or about the death of Jesus on the cross. I don't believe that he made a mistake.
Right; i've heard a lot about this. They say this still exists among certain African tribes today. I'm not entirely certain about how the Jews did it back then, but i hear that priests weren't allowed to become priests unless they remembered everything they were told to remember, where this would often involve a book's worth of information (normally, i would assume, being the Law, that is, the Books of Moses). I'm not entirely sure on the accuracy of this statement, but the Bible mentions plenty of times that the Jews and surrounding nations kept a lot of annals concerning what happened in their time. Some of which, if you recall, for example, in the book of Joshua (Joshua 10:13—i.e. the book of Jasher), bearing more authority, at least through implication (i.e. due to their mentioning), than certain books of the Bible itself.Oral tradition back in the day was not like the game of "telephone." The speakers had phrases that they would repeat and chant again and again until the story was exactly the same every time. The native americans do the same thing. So there was no warping with time - no hyperbole through repetition. For this reason, I trust the words of the bible.
Only martyrs who lost their lives for Jesus and God's word will be part of the first resurrection (Rev 20:4-6). After the thousand years, then everyone will be awakened and called to judgement. Unless you become a martyr from here to then, it appears you're not going to be able to witness what you want to witness (not that it can't be replayed for you later on, but if what God has in store for those written in the Book of Life is better than any amazing previous event, then chances are you will not care to have it replayed).4. In Revelation 20, it talks about the thousand years. We and all the righteous dead will be taken to heaven at the second coming 20:4 (incidentally, I believe that people sleep once they're dead, just so you know. We can get into that if you disagree or care at all) where we'll spend a thousand years. During the thousand years, Satan will be all alone on the earth, a la 20:2 (bound for a thousand years). At the end, the second resurrection (the evil) will rise as it mentions in 20:5 (I don't have time to find the place where it goes into this more clearly). Satan is released 20:7 deceives them again 20:8 and they assault the camp of God's children 20:9. Coincidentally, I believe in an eternal fire being translated as it is effectually eternal, not that it burns forever. I'm just telling you so you know where I come from. We could discuss this too, if you want.
Whether or not the fire is metaphoric or not, i do not know, but i've always considered them literal—doesn't really matter to me if they weren't.
Oh, i've seen the Youtube comments.Lastly, I want to thank you for being intelligent. Most everybody on the internet is kind of an imbecile, (no offense to them, but look at youtube comments) and it's refreshing to meet someone who is not.
I debate on there, too. I've been the "victim" of much name calling, though it never helps their arguments.
-
iTunes normally works "out-of-the-box" with Wine. The only known problem, which the Wine Application Database provides a solution for, is that when you first start iTunes, due to QuickTime, you'll notice the screen go black for a while. Refreshing the desktop and moving windows around and hovering over items "brings back" the desktop (although KDE4 auto-corrects itself). Also, burning to CD may not be supported in Wine.As a substitute, just switch to Amazon MP3 or some other source that doesn't force DRMs onto your music, then download Amarok 2 to play these non-DRMed files. This process of switching, however, you may find a bit hard to do, since mostly likely your parents have already purchased music from iTunes, therefore having them "tied" to iTunes insofar as they have the DRMed music files.
-
Actually, there are two big reasons why you cannot run Mac OS X on a PC (i.e. non-Apple computer): (1) the Apple devs designed Mac OS to run on only Apple computers, therefore requiring some hacking and installing drivers in order for it to run on a PC. (2) The license applied to the Mac OS, if i'm not mistaken, explicitly says you are not allowed to install it on non-Apple computers, therefore would make it illegal to install it on a PC.However, there should be no reason why you cannot run OSX on a PC provided it isn't loaded with those 'windows only devices' problem just as you can run windows on an x86 MAC.
-
I've only gotten into the basics of Java, and not necessarily to actually make Java programs. Java and C++ are quite similar with a few variations here and there. Because of which, i am merely in this for the sake of C++, to help me better understand C++, since it is quicker to learn a program with simpler ways of doing things than it is to just dive into a complex programming language. So, unfortunately, i cannot provide you with any example code for Java.
-
I don't necessarily have a favorite. Back when i used to play StarCraft i would normally play the custom made maps, as i was never really good at real-time strategy. I would also make my own maps. I was mostly fond of maps like Special Forces, so i made myself a big, Special Forces map which may have introduced some new things, like music and the ability to purchase both Terran and Protoss—which i coined as "TerraToss"—units, and a concept of "shared money" where the computer unit that helps you out, all of its kills gets converted into money and that money gets spread throughout the force. Therefore, since new people would die quite quickly in my map before they even got a chance to explore the map (the map was a bit more difficult than other Special Forces map), they would eventually be able to purchase more units without having to quit and restart the game. Some people liked the map, others didn't (mostly due to early death). But StarCraft 2 is looking more interesting. The kind of maps you could build in StarCraft 2 i'm expecting to be insane.
Java Script Fade Help
in Programming
Posted · Report reply
JavaScript may be unnecessary for this. Try the following and see if it gives you the desired results: Make an animated GIF that fades from blue to red but make sure it does not loop (unless perhaps you want a pulsating effect). Then upon hover, change the background image to the GIF. I am uncertain on whether or not the GIF will restart its animation upon hover, but see if it does.