Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Juju

Pages: 1 ... 3 4 [5] 6 7 ... 17
61
Web Programming and Design / Random bookmarklets
« on: June 04, 2013, 05:47:00 pm »
Code: [Select]
javascript:(function(){var fs=document.createElement("script");fs.onload=function(){Derpy();};fs.src="http://juju2143.ca/mousefly.js";document.head.appendChild(fs);}());
You ought to copy-paste that in the URL bar. :P

62
Other Discussions / MOVED: Im leo
« on: May 12, 2013, 12:24:20 pm »
This topic has been moved to Introduce Yourself!.

http://ourl.ca/18865

63
Gaming Discussion / Touhou 14 announced!
« on: May 10, 2013, 10:37:10 pm »
Well, ZUN announced a new Touhou with a playable demo going out at the next Comiket on May 26th.

http://kourindou.exblog.jp/20469044/ (in Japanese)

64
News / The search function is broken, what I do?
« on: May 04, 2013, 08:41:07 pm »
Several people asked us on IRC and on the forums why they aren't allowed to search the forums, the simple answer is: We've disabled the search engine.

Why? Well, the search engine was taking up lots of resources on the server and was painfully slow each time someone would use it, so we just disabled it.

Okay then, but how I would search the forums now? Use your favorite search engine such as Google and prefix your query with "site:omnimaga.org", like on this picture:



Otherwise, some members set us up personalized Google Searches just here and here so you don't have to type the prefix out.

Now next time someone asks, you can link them this topic! And as always, thanks for flying Omnimaga.

65
Computer Projects and Ideas / Random Script Snippets
« on: April 26, 2013, 06:01:32 pm »
Post random interesting PHP, Python, Javascript or whatever piece of code here.

Code: [Select]
<?php
function uchr($u){return mb_convert_encoding(&#39;&#38;#&#39;.intval($u).&#39;;&#39;,&#39;UTF-8&#39;,&#39;HTML-ENTITIES&#39;);}
$text trim($argv[1],"\0..\x2f\x3a..\x40\x47..\x60\x67..\xff");
if(
strlen($text)%2==1)$text="0".$text;
if(
strlen($text)%4==2)$text.="00";
$char = Array(uchr(0x2000),uchr(0x2597),uchr(0x2596),uchr(0x2584),
                
uchr(0x259D),uchr(0x2590),uchr(0x259E),uchr(0x259F),
                
uchr(0x2598),uchr(0x259A),uchr(0x258C),uchr(0x2599),
                
uchr(0x2580),uchr(0x259C),uchr(0x259B),uchr(0x2588));
for(
$i=0;$i<strlen($text);$i+=4){
        
$byte hexdec(substr($text,$i,2));
        
$byte2 hexdec(substr($text,$i+2,2));
        echo 
$char[(($byte&192)>>4)|(($byte2&192)>>6)].$char[(($byte&48)>>2)|(($byte2&48)>>4)];
        echo 
$char[($byte&12)|(($byte2&12)>>2)].$char[(($byte&3)<<2)|($byte2&3)]."\n";
}

Input: An 8x8 Axe sprite
Output: The sprite drawn using 4x4 characters.
Example:
Code: [Select]
[julien@haruhi ~]$ php axesprite.php [AA55AA55aa55aa55]
▚▚▚▚
▚▚▚▚
▚▚▚▚
▚▚▚▚
Why it's interesting: It uses bitwise operations! Also 4 pixels in a single character.

EDIT: Ignore the &#38; at line 2 it's supposed to be a &.

66
News / DJ Omnimaga reaches 50k posts; everything explodes
« on: April 25, 2013, 01:06:43 am »
Today at 00:37:21 EST, our beloved (retired) founder, DJ Omnimaga, just reached the previously impossible milestone of 50000 posts (not counting the spam and joke posts that doesn't count), becoming one of the few users of the TI community with KermMartian on Cemetech to reach such a milestone.

In addition, an unusual number of blue lobsters have been seen exploding in the region of Québec City. We believe a Wi-Fi-powered device under the bed of the St. Lawrence River has been set to fire a colony of lobsters when an user reaches a postcount of 50000 on Omnimaga. We're contacting ZAP Québec, a provider of free Wi-Fi hotspots in the region, to identify the culprit.

Anyway, I, on behalf of the past and present Omnimaga team and staff, would like to thank our founder DJ Omnimaga for all his valuable contributions since 2001 (since the foundation of Omnimaga, and 2005, when a forum was added to the site) and we hope he will continue to provide more valuable contributions to the TI, Casio and HP community in the years to come!

Be right back, I'll get the champagne! :D

67
Teaching myself the new HTML5 technologies lately. I'm slowly improving this canvas-engine engine I made (along with improving LuaIDE), and yesterday I found out how websockets work and integrated it into the engine.

So check it out and have fun while I find new cool features.

http://juju2143.ca/ponymmo

68
Other / Hardware project ideas
« on: April 05, 2013, 01:31:02 am »
So my bro wants to make an electronic project with his friends for school and I proposed myself to help him. Anyone have any ideas? (Of course, with relevant schematics and it should include wheels because wheels.)

69
News / Had a good April's Fools Day?
« on: April 02, 2013, 12:26:53 am »

Top: TI-Planet in Omnimaga mode
Bottom: Omnimaga in TI-Planet mode

We hope you had. As you probably suspected, any news posted shortly before April 1st, midnight (GMT+2) and now might or might not be true. We won't rename, neither is TI-Planet, the TI-83+ with TI-84+ hardware only exist in France, DJ Omnimaga isn't making any Justin Bieber cover (unless it's ironic) and nor Deep Thought or Juju became an evil computer or pony.

I would like to thank in no particular order Adriweb, Critor, Deep Thought, DJ Omnimaga, Excale, Levak and myself for making this year's pranks come true. Particularly Deep Thought for changing the Omnimaga themes to TI-Planet, Adriweb for providing both the idea and the various okay-looking photoshops for both Omnimaga and TI-Planet, Critor for making a pretty believable TI-83 Plus and TI-84 Plus C Silver Edition.fr, DJ Omnimaga for his music prank and the picture above, Levak for making the TI-Planet background, myself for coordonating all those stuff together and TI-Planet as a whole for partnering with us and switching their logo, favicon and background to the Omnimaga one.

Did you liked it? Did you fell for it? Do you want a TI-Planet theme on Omnimaga and vice-versa? Tell us in the comments!

70
Math and Science / Project Euler - a programming challenge
« on: April 01, 2013, 11:57:24 pm »
Those days I began solving some Project Euler problems while keeping them as beautiful, optimized one-liners, using obscure PHP features. In this thread, I challenge you to do the same as me and share us your best solutions :) (PHP coders, keep the numbers of bytes to a minimum, Axe coders, the least cycles possible, etc.)

Have fun ^_^

71
News / Welcome on TI-Planet!
« on: March 31, 2013, 09:02:37 pm »
UPDATE (April 2nd): The site name change was an April Fools joke (as did the worldwide 15 MHz 83+ and the Justin Bieber tribute). :P


Same website, but new formula and 20% cooler! We are proud to announce Omnimaga changes its name to TI-Planet. If you haven't refreshed your browser yet, you should see our new logo and a background with a TI-Nspire CAS sporting the logo. The URL should also change in the next few days to tiplanet.org, we have to give the time to transition between both.

We felt the need to renew ourselves, give ourselves a fresh start by changing the name to one that makes it obvious we're a site about Texas Instruments calculators. Of course, we're still encouraging Casio and HP development, don't worry.

Hope you like this brand new name ^_^
The TI-Planet Team
http://tiplanet.org

72
Well, this is whatever I worked on since yesterday evening, it's a command-line OmnomIRC client made in php using ncurses and readline, so it kinda looks like irssi and it supports input line edition and stuff like that (just like in irssi) and userlist. So yeah, pretty useful if you like irssi and you don't feel like firing up graphics. Oh, and don't forget editing the stuff at the beginning of file.

Source: https://raw.github.com/juju2143/nOmnomIRC/master/nomnomirc.php

TODO: Colors!

73
News / TI-84+ C Silver Edition already in stock
« on: March 12, 2013, 04:47:42 pm »
We already saw models of the TI-84+CSE in the hands of several community members and their schools, TI told (and still tells) about a release date of Spring 2013 on their website, but to this date the calculators were still believed to be not out yet...

Today, Suzanne from Underwood Distributing in Michigan tells us the first wave of calculators is already in stock since last week at her store so you can already get your hands on it. If you can't, you can always pre-order at any of the dealers listed on TI's page about the TI-84+CSE (click on the Where to Buy tab) everywhere in USA and Canada. For other countries, it's still unknown as most of the local websites I went to says "Soon" and some such as France and Asia doesn't even mention it.

74
Casio Calculators / How to go on Internet on the Casio Prizm
« on: March 10, 2013, 08:35:54 pm »
I finally got it working so I can IRC on my Prizm, so I guess you might want a tutorial.

Ingredients:
1 TTL to serial converter (An Arduino with the Atmega328 chip removed will do, that's what I use)
3 wires
1 2.5mm male stereo jack
1 VT100 emulator for Prizm
1 UNIX-based machine

Steps:

1. Plug your Prizm to your TTL converter (in my case an Arduino) using this schematic:
Code: [Select]
  (_)  tip
  |_|  ring
 _|_|_ sleeve
 -----
 _|_|_ -> to pin 0 (RX)
 _|_|_ -> to pin 1 (TX)
  | |
  |o|  -> to ground (GND)
 [___]
Then on your computer, you should have a serial port, in my case /dev/ttyACM0. If you use Windows, you can redirect COM1 to a Linux virtual machine.

2. Start up FXTerm on the Prizm at 38400 bauds, 8 data bits no parity 1 stop bit.

2.9. (Optional) You might want to change your password to a shorter one if it timeouts before you finished typing it on your prizm. Use passwd.

3. On the computer side, start agetty on the serial port (depends of your distro):

Arch Linux:
Code: [Select]
sudo systemctl start getty@ttyACM0
Others:
Code: [Select]
sudo agetty /dev/ttyACM0 38400 vt100
There you go, you should see a login prompt on your calc. Type in your username and password, then adjust the tty settings:
Code: [Select]
stty rows 36 columns 96 # 4x6
stty rows 36 columns 76 # 5x6
stty rows 27 columns 64 # 6x8
stty rows 27 columns 48 # 8x8

Then you can easily get on IRC using irssi. But I warn you, some of the control codes aren't implemented yet so it will look kinda ugly and you'll have refresh problems.

Have fun ^_^

75
Casio Calculators / The Casio Prizm TTF Project
« on: March 02, 2013, 06:11:08 pm »
I started converting a dump of the Casio Prizm system fonts in TrueType using FontForge so I can use them in my other projects (like LuaIDE), if anyone is interested.

Based on dumps by AHelper: http://www.cemetech.net/programs/index.php?mode=file&id=832

Downloads
Casio Prizm Mini: http://juju2143.ca/CasioPrizmMini.ttf
Other sizes coming soon!

Original fonts (C) Casio, vectorized and forged by myself.

Pages: 1 ... 3 4 [5] 6 7 ... 17