Subscribe to RSS feed

Sticky post

Welcome!

, , , ...

Welcome techies. This is the place to go if you like technology or even if it makes you rip off your hair. I'm DrLaunch and I created this group together with Anzah. But I like to think this place belongs to all our members. Please let me introduce you to this place.

Read more...

Sticky post

Live chat 24/7...or at least almost

#techies
Mr_X has joined #techies
<Mr_X>Hello. What's new?
<Ms_Y>We have new and easy way to join the chat at #techies. I hope we get many new visitors.
<Mr_X>Mibbit is cool
Mr_quick has joined #techies
Mr_quick has left #techies
<Ms_Y>I just wish I wouldn't have to sleep, so I would manage to greet every new visitor. Plus I would have to type faster as people don't stay very long. They must be in a a hurry
<Mr_X>Sleeping is overrated







[anonymous]

Read more...

DOM events portability: not that hard

, , ,

You know, people keep complaining how making DOM events work across browsers is a pain, blah blah. And for a while I listened to the complaints and just didn't bother. But I should have.

See, I have this game called Square Shooter (widgetized here). Due to the nature of the gameplay, I need to track the position of the mouse inside the canvas. Easy enough, right?

canvas.onmousedown = function (event) {
    alert(event.layerX + " " + event.layerY);
}
Trouble is, that only works in Gecko- and WebKit-based browsers (think Firefox and Safari). If you try actually using the value, Opera will throw a mysterious exception from somewhere inside the canvas object. But the problem is not there. It's because Opera lacks event.layerX. Once I figured that out, a simple Web search brought me to this article, and suddenly the solution was crystal-clear:
canvas.onmousedown = function (event) {
    var x = event.layerX || event.offsetX;
    var y = event.layerY || event.offsetY;
    alert(x + " " + y);
}

There. Doesn't seem so difficult anymore, eh?

Now, what about keyboard events? Because, you know, some kinds of gameplay actually require keyboard controls. Turns out, as long as you stick to the regular keys (think letters and digits, and not arrows), the keypress event serves you the actual character you typed on a platter:

window.addEventListener("keypress", function (event) {
    alert(String.fromCharCode(event.charCode));
}

Again, this works in Gecko and WebKit, but in Opera, nothing happens. Why? According to this, you can't attach a keypress event to the window object in Opera. So? Big deal, I moved it to the document object. But it still didn't work properly, because...

...as this page says, there is no event.charCode in Opera. But for keypress events, the same information is passed in event.keyCode. So the code above becomes:

document.addEventListener("keypress", function (event) {
    alert(String.fromCharCode(event.charCode || event.keyCode));
}

And so, with three simple changes, I've made my DOM events compatible across all major browsers. It even works in IE9, reportedly. So now I can confidently implement any control scheme I want, knowing it will run everywhere.

Lesson learned? DOM events may have been less compatible across browsers years ago. But times change. Don't get an old myth stuck in your head. Check the reality from time to time.

Creative Commons License
DOM events portability: not that hard by Felix Pleșoianu is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

no sound after 7 install

, ,

I have put windows 7 on over 50 or so computers for clients, friends, and so on. But i came across an old ibm thinkpad i had in the closet the other day. After wiping the hard drive, installing some additional RAM and installing windows 7. i cant figure out why i have no sound. Ive done all the traditional stuff, installed drivers, checked the sound settings, and no the volume is not in mute, lol still nothing, not even with headphones????
Anybody had this problem????

Learning

I'm new in this kind of thing, but I'm trying to get help about what kind of books can I get to teach myself about computers and technology, I know something about computers but I wanna know a lot more, thanks in advance

iphone restore

, , , ...



Ive had my iphone for about 6 months now and recently had to restore it to factory settings, (against my wishes) You see the problem was that it just would not reboot. All i kept getting was the gray apple symbol every time i hit the power button. If this ever happens to you you can plug your iphone into your computer and hold the home button until you see the usb cable connecting to itunes on your screen. This is the restore mode for the iphone. It will restore your iphone and update it with the latest software. Which is fine unlesss you have it jailbroken which, in this case you will lose cydia and rock and all the apps that are associated with them. Also the network carrier will revert back to At&t. Now i'm searching for a way to jailbreak the 3.1.3 software or at least change my carrier back to t-mobile. Any Thoughts? idea

Networking!!!

Hello Everyone,
I know am not the moderator or anything to post things here,but just doing it.Firstly we all know what computers are all about,we all also know about softwares,hardwares....a lot stuff,knowing about computers doesn't mean just formatting or assembling or deassembling your comp's but knowing different fields in it.Like the programming side,wherein you deal with lot of languages...Eg:C(the base of language in order to learn C++,or further OOP concept),C++,Java....to C#,J#,G#...many(even which I might not be knowing).So anyway,networks...lol,am not defining things here,I know you can define it yourself or probably look on net.

A network is a collection of computers connected together



Networking is is a process of communication between the interconnected
devices basically to share the network resources.
Benefits of Networking:
1. Share resources.
i) Data
ii) Hardware
2. Share S/W
3. Sharing of license
Network is a collection of computers connected together to get benefited from
networking.
Networking: Networking is a process of communication among systems.

Well the above info is just copy and paste from MCSE(pdf,what I have).

But to understand the basic of networking,there are 7 OSI layers(wherein you actually see the data transfer from binary,to frame to packets to segments).
Let me just name the layers
7)Application Layer
6)Presentation Layer
5)Sessions Layer
4)Transport Layer
3)Network Layer
2)DataLink Layer
1)Physical Layer
(these are basics),you also have TCP/IP layers.But anyway..for a starter this is sufficient.

Presently Am using Packet Tracer Software to do things like configuring switch,port security...and many..need to look in to the book...p.

Windows Vista Service Pack 2

It's out now. Be warned: It's not perfect... even though it's not beta anymore.
There will still be some hotfixes. (btw, My problem was that it wouldn't let me connect through WiFi)

Here is a link: http://tinyurl.com/quh3uq


SP2 will show up on Windows Update sometime in July. But it also shows up on Windows Update after you already download it. (Weird, huh?)

We're changing the group name

, , , ...

We ran a poll in the forums way back asking people which name we should use for the group. The amount of replies was mildly speaking, underwhelming. Only seven votes, and really not enough variation in the result to see the general opinion of the members. One answer did however get more votes, and unless the poll results change, I'm going to go for the current leader. Which answer recieved most votes, you might ask. Well. Cast your vote in the poll and find out.

On the dangers of cloud computing

, , ,

The bookmarking service Ma.gnolia.com suffered a catastrophic failure on Friday, January 30, 2009. Now, it's just, you know, bookmarks, and I do have backups of my own, old as they are. No big deal, right? Right. Apparently, they didn't (have backups, that is - Wired Magazine has more details). That's more serious, and people have a right to be upset. After all, putting up a Web service is making an implicit promise to your users. Yes, even if the service is free.

But what exactly is that promise? That your data will be safe? Really, in the hands of a stranger? Same for confidentiality: a secret known by two people isn't a secret. No, I think the real problem is service availability: a Web app makes an implicit commitment to work for you wherever you are, and whenever you need it. That's why Twitter users were so upset last summer; they didn't lose any data, but neither were they able to do what they wanted - heck, maybe needed - to do, while the site was down.

And that, I think, is the real danger of cloud computing: Web apps are single points of failure. If I lose my Internet connection, or if my computer crashes, that doesn't hurt anybody else. But if some online service fails, a lot of people are affected, all at once. It's like a flood, or a fire. Oh wait, no, it isn't. The right analogy is a volcanic erruption. Which raises a serious question.

Is it really wise for us to move en masse to the sides of active volcanoes?
February 2012
S M T W T F S
January 2012March 2012
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29