Author Topic: Non-BL/game programming projects  (Read 3793 times)



http://www.garycact.us/alphabet
something that i made yesterday afternoon and i thought i'd post it because it's pretty goofy

http://www.garycact.us/alphabet
something that i made yesterday afternoon and i thought i'd post it because it's pretty goofy

http://www.garycact.us/alphabet
something that i made yesterday afternoon and i thought i'd post it because it's pretty goofy

so, rather than this huge, disgusting, vomit-inducing mess of a function, you can have this!!!!!!!!
(note: the second code will not actually work 100% of the way, I haven't tested it, but I know for certain that, for example, "defect" should actually be "defects__name" but I literally JUST wrote that to show off this awesome feature, and in order for it to work exactly like it is I'm gonna need to edit the form that submits this stuff and blah blah blah)

now that I think about it, it would be a lot better to have several different possible filter parts....... like. rather than "by=date&for=10/12/2015" and "by=plant&for=A" I would just have "date=10/12/2015" or "plant=A"
that would not only look a lot cleaner in the URL but it would also allow multiple fields to be filtered by, like "date=10/12/2015&plant=A"............................. ..................
man. I put so much work into that terrible function and form only to leave it behind now. sigh
just in case anyone was wondering where this went YEAH RIGHT
http://pastebin.com/EtMqXARz
it looks so nice in comparison <3
plus it works. which is honestly just the bombest part
p.s. if you don't think these pastebin titles were funny then smd

in other news, I have a habit of looking at all the changes I've made, and deciding not to bother sticking them all in separate commits
...then I describe all the changes individually in the commit message anyway, completely defeating the purpose of skipping the separate commits thing
:(
« Last Edit: October 19, 2015, 10:50:04 PM by Foxscotch »

http://www.garycact.us/alphabet
something that i made yesterday afternoon and i thought i'd post it because it's pretty goofy
The C's have a watermark on them btw

if i could remove the watermark i would, it's just i don't have or know of any program that has the ability to edit gifs

if i could remove the watermark i would, it's just i don't have or know of any program that has the ability to edit gifs
GIMP

also you should change the way you're embedding the HTML images
first, there should not be more than one element with the same ID
second, height and width attributes are outdated, use style instead

you are using:
<img id="imgChar" src="http://www.garycact.us/alphabet/images/c.gif" height="133px" width="182">

you should be using:
<img class="imgChar" src="http://www.garycact.us/alphabet/images/c.gif" style="height: 133px; width: 182px;">

GIMP

also you should change the way you're embedding the HTML images
first, there should not be more than one element with the same ID
second, height and width attributes are outdated, use style instead

you are using:
<img id="imgChar" src="http://www.garycact.us/alphabet/images/c.gif" height="133px" width="182">

you should be using:
<img class="imgChar" src="http://www.garycact.us/alphabet/images/c.gif" style="height: 133px; width: 182px;">
thanks for the tips
i didn't even occur to me to use classes for that stuff. i'm so used to bootstrap that i just think that all classes have to do with css stuff only

edit: is there another program other than gimp because gimp actually makes me want to tear my hair out
« Last Edit: October 20, 2015, 06:18:36 PM by Gytyyhgfffff »

is there another program other than gimp because gimp actually makes me want to tear my hair out
can you be more specific? I don't have any problems with it

in fact, here

for simple things, GIMP's not much different from any other image editor

can you be more specific? I don't have any problems with it

in fact, here

for simple things, GIMP's not much different from any other image editor
thanks
i found that gimp was incredibly difficult to use because there didn't seem to be any logical way to do anything. i use paint.net and gimp was /absolutely/ nothing like it and i didn't really want to search up a tutorial because i'm bad

i found that gimp was incredibly difficult to use because there didn't seem to be any logical way to do anything. i use paint.net and gimp was /absolutely/ nothing like it and i didn't really want to search up a tutorial because i'm bad
lol that's how I feel about paint.net

Today during my 10.5 hour shift at work I wrote an entire proof of concept for a scripting language that compiles to SQL and generates a matching Jaspersoft report file to display the results. Wrote the lexer, parser, interpreter, and compiler from scratch after drinking a tall cup of death wish coffee.

Holy stuff how hard does that crash you?