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 - Deep Toaster

Pages: [1] 2 3 ... 18
1
So this is something someone (I think Merth or KermM) suggested somewhere around eight years ago, but I finally got around to starting to do it. Whoo!

clrhome-tools-php is (going to be) a bunch of stuff open-sourced from ClrHome's massive codebase. It's taking me a bit of time to clean it up enough to publish (mostly because my web code from eight years ago was moderately atrocious), but the first batch of utilities are ready if anyone would like to use them for their own projects.

Probably most interesting is Program.class.php, a class for reading and writing prgm variables that comes with a (pretty robust) tokenizer. Same syntax as IES (whence the original code) and TokenIDE (the original inspiration).

2
Web Programming and Design / Stupid CSS
« on: September 28, 2020, 04:58:50 pm »
Just wanted to show off a horrifying project I've been working on for fun:
https://fishbotwilleatyou.com/css/

I'm still working on the last two demos and making it more responsive for tall-screen/mobile users, but you get the idea—it's a collection of really stupid things that are technically possible in nothing but HTML and CSS.
Demos that exist:
  • Double-click handler
  • File browser
  • Modal dialog
  • An arcade reaction game
Demos that I'm working on:
  • A text adventure game
  • A clock of some sort

3
TI Z80 / MOVED: Random Questions
« on: August 25, 2016, 07:05:35 am »

4
Gaming Discussion / Zombie apocalypse FPS IRL
« on: August 21, 2015, 01:51:39 am »

5
Other / Imagine if Google never existed
« on: September 05, 2014, 02:33:42 am »
I was typing a search query into Firefox's address bar (note that this is not even Chrome's Omnibar) when I started thinking about how much I really rely on Google. I'd say a good 70% of the things I type into my address bar aren't URLs at all but are meant for Google. That's really how we browse the web now, isn't it?

If Google (and other search engines I'm assuming) never existed, I wouldn't know 99% of the things I know about computers and the internet. I'd almost certainly never come across a site like Omnimaga—imagine the link chain you'd have to take to get there from a site like Facebook or Wikipedia's main page!

Of course, that's assuming I'd have heard of Facebook or Wikipedia at all, or that anyone would have, without Google. The Verge ran an interesting piece about a browsing competition without search (basically the "Wikipedia Game" across the entire Internet), and you can imagine how difficult that must be. They say that the Internet is all connected by a titular Web of links, but really it's Google gluing it all together.

A final scary thought: When Google went down for less than five minutes last year (99.999% uptime, which is absolutely incredible if you think about it), traffic on the Internet as a whole dropped by 40%.

7
I wrote this thing mainly because it was a pain having to figure out and reinstall every one of these little things each of the four times I had to reinstall Xubuntu on my computer in the last six months. Hopefully I don't have to do it again, but it's still nice to have around because some of these things are a bit out of the way. I know some people here use Xubuntu/XFCE so I thought I'd share:
Spoiler For Spoiler:
Calculators
===========

TiLP
----

Download and install TiLP from <http://lpg.ticalc.org/prj_tilp/linux.html>.

Launch with `sudo tilp`.

TilEm
-----

Installation:

1.  Download TilEm sources from
    <http://lpg.ticalc.org/prj_tilem/download.html>.
2.  Change to `LIBS = -lm` in tilem-2.0/gui/Makefile.
3.  Install as normal.

Development
===========

LaTeX
-----

Installation:

1.  Download and install TeX Live from
    <https://www.tug.org/texlive/acquire-netinstall.html>.
2.  Append `PATH="$PATH:/usr/local/texlive/2014/bin/x86_64-linux"` to
    ~/.profile.

Geany
-----

Set line-breaking to 80 in *Edit > Preferences > Editor > Features* and *Edit >
Preferences > Editor > Display*.

Add keyboard shortcut `<Primary><Alt>s` > *Save As*.

Add ` && rm "%e.aux" "%e.log"` to the end of each LaTeX build command.

Add `evince %e.pdf` and `evince %e.dvi` to LaTeX execute commands.

Geany plugins
-------------

    sudo apt-get install geany-plugins geany-plugin-markdown

Set Web helper preview pane to *Sidebar*.

Change any external open commands to `thunar "%d"` and show all hidden files.

Emmet
-----

Installation:

1.  Download and install GeanyPy from
    <https://github.com/sagarchalise/geanypy/tree/gtk3>, ignoring any Automake
    errors.
2.  Download and extract the emmet folder from
    <https://github.com/sergeche/emmet-sublime> to /usr/lib/geany/geanypy.
3.  Download and extract PyV8.py and _PyV8.so from
    <https://github.com/emmetio/pyv8-binaries/blob/master/pyv8-linux64.zip> to
    /usr/lib/geany/geanypy.
4.  Download and extract editor.js and geanypy-emmet.py from
    https://github.com/sagarchalise/geanypy-emmet> to
    ~/.config/geany/plugins/geanypy/plugins.

Fix indentation in expansions by commenting out the `if (!noIndent)` block in
~/.config/geany/plugins/geanypy/plugins/editor.js.

LAMP stack
==========

Source:
<https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu>

Apache
------

    sudo apt-get install apache2

To allow sites from mounted USB devices, change `APACHE_RUN_USER` and
`APACHE_RUN_GROUP` in /etc/apache2/envvars to the current user and group,
respectively.

Enable .htaccess files by changing to `AllowOverride All` in
/etc/apache2/apache2.conf.

Enable automatic virtual hosts:

1.  Add `UseCanonicalName Off` and `VirtualDocumentRoot /var/www/%0` to
    configuration.
2.      cd /var/www && ln -s html localhost
3.  Add any additional virtual hosts as 127.0.0.1 in /etc/hosts.

PHP
---

    sudo apt-get install php5 php5-mcrypt

Enable short tags by changing to `short_open_tag = On` in
/etc/php5/apache2/php.ini.

Enable short tags by changing to `display_errors = On` in
/etc/php5/apache2/php.ini.

MySQL
-----

Installation:

1.      sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
2.      sudo mysql_install_db
3.      sudo mysql_secure_installation

Media
=====

Clementine
----------

    sudo apt-get install clementine xubuntu-restricted-extras

Add keyboard shortcuts:

*   `XF86AudioPlay` => `clementine -t`
*   `XF86AudioStop` => `clementine -s`
*   `XF86AudioPrev` => `clementine -r`
*   `XF86AudioNext` => `clementine -f`

Webcam
------

    sudo apt-get install guvcview

Change file paths in *Video > File* and *Photo > File* to default locations in
~/Videos and ~/Pictures, respectively.

System
======

App Grid
--------

Installation:

1.      sudo add-apt-repository ppa:appgrid/stable
2.      sudo apt-get update
3.      sudo apt-get install appgrid

Power Statistics
----------------

    sudo apt-get install gnome-power-manager

Show in menus by commenting out the `OnlyShowIn` line in
/usr/share/applications/gnome-power-statistics.desktop.

VirtualBox
----------

Installation:

1.      sudo apt-get install virtualbox
2.  Download and install extension pack from
    <https://www.virtualbox.org/wiki/Downloads>.

USB access:

1.  Add `woot` to `vboxusers` group in /etc/group.
2.  Check *Settings > USB > Enable USB 2.0 (EHCI) Controller* for each OS that
    supports it.

Miscellaneous
=============

Desktop sharing
---------------

Installation:

1.      sudo apt-get install vino
2.      gsettings set org.gnome.Vino require-encryption false

Show in menus by commenting out the `OnlyShowIn` line in
/usr/share/applications/vino-preferences.desktop.

Launch with `/usr/lib/vino/vino-server`.

Backlight controls
------------------

    sudo apt-get install xbacklight

Add keyboard shortcuts:

*   `Super+Left` => `xbacklight -dec 10`
*   `Super+Right` => `xbacklight -inc 10`

**Do not** hold down these keyboard shortcuts!

Window manager
--------------

Enable unfocused scrolling by unchecking *Window Manager Tweaks >
Accessibility > Raise windows when any mouse button is pressed*.

Enable scrollwheel to shade on window title by checking *Settings Editor >
xfwm4 > mousewheel_rollup*.

Add keyboard shortcuts:

*   `Ctrl+Alt+5` => *Fill window*
*   `Shift+Ctrl+Alt+Up` => *Move window to upper workspace*
*   `Shift+Ctrl+Alt+Down` => *Move window to bottom workspace*
*   `Shift+Ctrl+Alt+Left` => *Move window to left workspace*
*   `Shift+Ctrl+Alt+Right` => *Move window to right workspace*
*   `Ctrl+Alt+8` => *Tile window to the top*
*   `Ctrl+Alt+2` => *Tile window to the bottom*
*   `Ctrl+Alt+4` => *Tile window to the left*
*   `Ctrl+Alt+6` => *Tile window to the right*
A lot of it is probably pretty specific to my preferences, but there are things like setting up a LAMP stack and calculator dev tools (which aren't specific to Xubuntu/XFCE) that might come in handy.

EDIT: It's in Markdown format, so copy-and-paste it in to here to see a prettier version.

8
Maximum Security / Level designers
« on: July 28, 2014, 02:32:28 am »
I'm getting ready to release a copy of Maximum Security with the full level editing suite ahead of time. As I mentioned in the main project thread, the game is going to run on level packs, which anyone (who bothers) can create to as much depth and detail as the main, built-in levels. These level packs would be released independently (think Super Mario 2.0 levels).

So if anyone's interested, you can help create some level packs ahead of the actual game's release so there's already a variety to choose from :D

9
General Calculator Help / When is the DEL trick necessary?
« on: July 26, 2014, 02:23:54 am »
So I just spent all day figuring out loading helper data from the archive for my Axe game. Of course there were plenty of crashes, but four (!) in particular were bad enough that I couldn't ten the calculator back on without doing the battery+DEL trick.

My archive seemed fine afterward, no lost variables or corruption or anything, but it got me wondering how I even got to that point (and so often). What would cause such a crash where pressing the ON button doesn't work anymore?

10
Maximum Security / Demos and bug reports
« on: July 24, 2014, 01:12:55 am »
LATEST VERSION: http://www.omnimaga.org/maximum-security/demos-and-bug-reports-21366/msg391694/#msg391694

This isn't much of a demo in terms of content; there's only one level, and it's a test level, and there's no way to get out of it except by pressing CLEAR (quit). But you can try out the physics and stuff I suppose.


MAXSEC is the main program and TEDIT is the (soon-to-be-incorporated) level editor.


In the main program, none of the menu items really do anything; making any sequence of selections gets you to the test level (again, quit by CLEAR).



In the level editor, use 2nd to add a block, DEL to delete it, and MODE to choose the block cursor.

12
This is a bug that struck me twice in six months (after wiping my computer twice and having to install TilEm on it each time), and each time took me half an hour to work out the solution, so I thought I'd post some instructions in case someone else runs into the same bug as me.

If you're compiling TilEm on Linux according to instructions (especially true for Ubuntu variants it seems) and run into an error "adding symbols: DSO missing from command line," edit the file tilem/gui/Makefile to replace the line
Code: [Select]
LIBS =with
Code: [Select]
LIBS = -lm. Recompiling should work without errors (assuming you have all the dependencies installed).

Hopefully the maintainers can modify their source to get rid of this bug, but for now that workaround works for me.

13
ASM / Getting calculator ID
« on: July 11, 2014, 08:48:30 pm »
Is there a quick way to get a calculator's ID?

What I'm trying to achieve is a levelpack system where a user's progress and scores while playing a levelpack are stored in an appvar along with the levelpack tilemap and the current calculator ID. If a user transfers a level pack to a different calculator, the game would notice that the calculator ID changed and wipe the progress/scores immediately, so it's a clean game for everyone.

14
Web Programming and Design / Web Hosting Service?
« on: January 22, 2014, 07:11:22 pm »
So I'm looking into getting some decent web hosting for ClrHome. Does anyone have any suggestions as far as relatively inexpensive web hosting services that can take a small site or two (or three)? There are plenty of reviews online but I thought I'd see if anyone has personal experiences.

Some things I'd need, in case it's relevant:
  • Apache/PHP backend
  • FTP access
  • Good bandwidth and CPU stuff
  • Cron jobs
  • Email services
  • Unlimited subdomains
I was going to go for HostGator because it looked nice for $3.95 but apparently that only works if you buy three years at a time, which I'm unable/unwilling to do at the moment. (And when I tried to call them for particulars on features provided they told me to hold for 30 minutes :P)

15
Site Feedback and Questions / Topics not showing up in board view
« on: September 29, 2013, 06:45:23 pm »
For those of you with access to Private Matters: http://www.omnimaga.org/index.php?board=192.150 and subsequent pages don't show any topics, even though it's listed as the 4th page out of 11 ???

Pages: [1] 2 3 ... 18