
Zeggy
Members-
Posts
401 -
Joined
-
Last visited
-
Days Won
1
Zeggy last won the day on January 14 2015
Zeggy had the most liked content!
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Zeggy's Achievements
Newbie (1/14)
2
Reputation
-
Yeah, I said there are a lot of emulators, but none that can emulate the PC. This emulates an actual computer right in your browser where you can do everything you normally do on a computer. This one isn't just a toy, it's actually running linux in your browser... And at a very decent speed too. It's basically virtualization right in your browser. You can literally write a c program and compile it right in your browser, and then run it too. If the guy can get network support working, you could write and compile a c program in linux or a php website or whatever with vi/emacs/whatever linux editor, and upload it somewhere where other people can download it, then you have your entire development tools and development chain right in your browser.
-
Yeah, you're right, he didn't write linux in javascript, sorry. But he did write the entire hardware emulation to support loading linux. I'd call that more than 'simply' an interface. And yes it is new, nobody has ever done this before. There are lots of javascript emulators for other systems but none for the pc. But then again, the guy that did this also wrote qemu so this was probably easy for him :P The linux part is just a binary which is loaded from the server, so I think it could support other os binaries. btw, in the first part of your quote, he is just talking about the terminal. But the terminal is only part of what he wrote. The more important part is the hardware emulator. galdikas: quite a lot. Type ls to see the directory listing. It should show hello.c. You can compile it into a hello world program with the included c compiler using this command: tcc -o hello hello.c Then run it with ./hello Type ls /bin to see the programs that can be used. Not everything works though (for example, there's no network support) You can also mess it up like a normal os: f(){ f|f &};f (forkbomb) rm -rf / (delete everything)
-
Somebody wrote linux entirely in javascript, and loads in your browser! http://bellard.org/jslinux/ Pretty damn amazing, it was written in just 3 days! You can use emacs, a c compiler, and more stuff with it, and it all runs from your browser.
-
I showed that multiplication by juxtaposition still gives the answer as 9 in my previous post! Whether the * is added or not, it's alwaaays 9.
-
Division is just multiplication by a fraction, the precedence of multiplication and division doesn't affect the answer (and multiplication doesn't have priority over division, they are both equal). I refer you to my drawings :D http://i.imgur.com/uzhA8.png http://i.imgur.com/D509P.png The equation is changed so there are no divisions (but it's still the same equation!), just multiplications. Once that happens, it doesn't matter which terms you multiply first, the answer is always 9.
-
It really is 'every ps3 has been hacked'. PSN is down, but the ps3 is also hacked. And sony is in a world of trouble, as they can't fix the problem easily. Basically, the ps3 uses encryption keys to sign stuff like games and software, and anything related to security. For a very long time the ps3 was the most secure console, because the encryption keys never ever ever left the cpu. Finally, the encryption keys have been discovered, and the ps3 is the least secure system of all the latest consoles. For ps3 to fix the problem, they'd need to change the encryption keys, BUT because all games were signed using these same encryption keys, if sony updates them then your ps3 won't be able to play any ps3 games except new ones. That means for some people who bought loads of ps3 games, those games will suddenly become useless discs. I don't really know what sony will do about the problem, but I'm sure they'll come up with something... I don't really understand the details either.
-
And here is why multiplication by juxtaposition still gives the answer as 9: http://i.imgur.com/uzhA8.png :)
-
I made a drawing :D
-
The D and M in the BODMAS/BOMDAS mnemonics are interchangeable because both mnemonics are correct. Multiplication and division are equal in precedence. In this equation, you'd need to do the brackets first, then you're left with 6 / 2 * 3. Then you need to read the equation from left to right since the remaining operators are equal. The correct answer is 9. There's a correct answer and everything else is the wrong answer. There is no 'but', or 'agree to disagree'. This is math, and math is not a debate, otherwise the laws of nature would not work. :P Another way to understand the answer is to rewrite the division as a fraction, which essentially leaves 6 * (1/2) * 3, or 6 * 0.5 * 3. Then however you calculate this, it will always give 9 as the answer. (You can also check this on google or wolfram alpha!) http://i.imgur.com/t9Fv6.png http://i.imgur.com/Gzyrz.png
-
You just need to be careful when you use it :P When you declare a variable, add var in front of it to make it local to the current scope, otherwise it's global. CommonJS also adds namespaces by separating code in different files or modules. I quite like that classes and functions are treated just like other variables, so you can pass them around or create them anywhere, inside other functions, etc.
-
CommonJS is a project that extends javascript to be usable as a regular programming language. For example, Node JS is a web server written in server-side javascript. With google's v8 javascript engine, server-side javascript actually performs better than php, python, ruby and similar languages. I'm a big fan of javascript :D
-
Comet http web server push technology for browser games ?
Zeggy replied to oldbard's topic in Web Developement
The jquery plugin that danny posted is what I use. The plugin uses http://www.pubnub.com and it's very fast. It's a great service with apis for loads of platforms and languages. I'd definitely recommend it. -
I think notepad and vi should be separate options as they are completely different :P
-
Java creator James Gosling left Sun / Oracle and will join Google
Zeggy replied to a_bertrand's topic in Tech News
bluegman: It will work on vista, don't worry. -
Apple became the new microsoft :P I dislike apple too, their policies on nearly everything are completely focused on monopolizing their businesses. I mean, they don't allow flash on iOS because flash is 'closed source'. Really? Have they looked at any of their own products yet? :P Just one example of how apple is stupid, and there are so many more.