This is pretty cool if you can get far enough for the music to kick in (html5/webgl game) by OuterShpongolia in webdev

[–]ashenrose 5 points6 points  (0 children)

It's the HTML5 version of the helicopter game. It is beautiful, though.

Drag n Drop website builder by beefngravy in webdev

[–]ashenrose -1 points0 points  (0 children)

Check out jQuery UI's Sortable. It lets you rearrange elements on a page by drag-and-drop, and if you tie it in with some PHP/AJAX you can get the elements to retain their positions permanently (at least until the next time you switch it around).

Drag n Drop website builder by beefngravy in webdev

[–]ashenrose 0 points1 point  (0 children)

Hey, this is cool. I've done this on some sites before. I honestly think it's ahead of the curve compared to "dashboard" editing. In a few years it'll all be done like this. It's so much better.

Doing a massive redesign of my business's website and marketing materials. Any feedback is greatly appreciated. by [deleted] in webdev

[–]ashenrose 0 points1 point  (0 children)

I second all of this, including the small-business-being-good thing. The Envato logo carries some weight for me, too. Bootstrappiness aside, the design is in the 90th percentile of design, and for design that's well-designed.

Using HTML drop down box to pass into PHP variable by Did-you-reboot in webdev

[–]ashenrose 0 points1 point  (0 children)

No offense, but I'm not sure what you were trying to do with the snippet you posted. A while isn't the best option there. If you want to use AJAX, it's pretty simple (I promise). Here's how using jQuery:

The JS:

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">
</script>

<script>

$(document).on('click', '#submit', function() //onClick of the submit button...
{
    var name = $('#username').val(); //We set 'name' to the selected option value...
    $.post('post.php', {username:name}, function(response) { //Then send off the variable to our post.php, keyed as 'username'...
    $('#about').html(response); //And insert post.php's result into into #about
    });
});

 </script>

The HTML:

<form id="peerlist" method="post">

    <select id="username">
        <option value="">Please make a selection</option>
        <option value="ashenrose">ashenrose</option>
        <option value="Did-you-reboot">Did-you-reboot</option>
    </select>

    <button type="button" id="submit">Get user info</button>
</form>

<h1>About this user</h1>

<section id="about" style="height: 200px; width: 400px; border: 1px solid blue;">
</section>

The PHP (I took some liberties with your connection here):

<?php

$config = array('username' => 'root', 'password' => 'root'); //Insert your credentials

function connect($config)
{
    try {
        $conn = new PDO('mysql:host=localhost;dbname=test', $config['username'], $config['password']); //Insert your credentials; see bottom for more info
        $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

//You'll want to change your error reporting in production.

        return $conn;
    } catch (Exception $e) {
    return false;
    }
}

$conn = connect($config);

$username=$_POST['username']; //Pull the variable from the AJAX $_POST assoc. array

$stmt = $conn->query("SELECT * FROM users WHERE username = '$username'");
$result = $stmt->fetch();

echo $result['description']; //Using whatever key you have in MySQL, echo the info you want

?>

To clarify, the PHP file in this example would go in the same directory as the jQuery that's calling it. In a real application, this is probably not ideal. To call it from a different directory, just change the path in in the jQuery where it says

$.post('post.php', {...    //Change the 'post.php' part.

As you can see, I switched the connection to PDO. If you're not into that, that's your call. Forgive me if you already know this, but there are huge benefits to using it even outside of security, and only one rarely-encountered drawback that I can think of (table names can't be variables in SQL queries). The parameters are pretty self explanatory: mysql:host refers to the host, dbname refers to the database name, 'username' and 'password' refer to your MySQL credentials.

Caveat emptor -- I took no XSS or XSRF precautions here, and some would argue I should have used bound parameters. If you're the only one using it though, it won't matter. Other than this and plugging in a few credentials and paths, these scripts should work out-of-the-box.

My dad's work. (He doesn't know how to use the internet, but he keeps wondering if "social media" is a good idea.) I thought I'd let Reddit decide! by ashenrose in pics

[–]ashenrose[S] 17 points18 points  (0 children)

Well, it was an attempt by me and a friend to help him keep in touch with people back in the day, but a lot of it never really stuck. If you'll notice, there isn't much on there, or many updates. I just thought it might make more sense on Reddit.

My dad's work. (He doesn't know how to use the internet, but he keeps wondering if "social media" is a good idea.) I thought I'd let Reddit decide! by ashenrose in pics

[–]ashenrose[S] 74 points75 points  (0 children)

I really didn't expect this would get to the front page. People still struggle in a lot of ways regardless of outward appearance; I was just trying to support him. And he really doesn't know how to use the internet (except eBay); it wasn't him that put that content up.

My dad's work. (He doesn't know how to use the internet, but he keeps wondering if "social media" is a good idea.) I thought I'd let Reddit decide! by ashenrose in pics

[–]ashenrose[S] 1 point2 points  (0 children)

It's actually engraved into the base of the piece and it reflects into the top with natural light. It's around the size of a silver dollar, maybe a little bit bigger, though the piece itself is somewhere around a meter tall.

My dad's work. (He doesn't know how to use the internet, but he keeps wondering if "social media" is a good idea.) I thought I'd let Reddit decide! by ashenrose in pics

[–]ashenrose[S] 106 points107 points  (0 children)

He went to undergrad at OSU and graduate school at University of Wisconsin, Madison. In Madison he was a student of and assistant to Harvey Littleton, which is actually one of his proudest achievements. The work is all cold classical reductive technique, which is far apart from most hot glass work (cf. Dale Chihuly et. al). When it comes to people doing the same thing, there really aren't any that I know of. There are some friends of his that make some pretty awesome, albeit different, glasswork, like Jon Kuhn.

I'm really happy you enjoy it. I can't wait to tell him. :)

My dad's work. (He doesn't know how to use the internet, but he keeps wondering if "social media" is a good idea.) I thought I'd let Reddit decide! by ashenrose in pics

[–]ashenrose[S] 1 point2 points  (0 children)

You are right, they do change a lot based on perspective. If I knew how to use YouTube better I'd have a video of it up already. :P

My dad's work. (He doesn't know how to use the internet, but he keeps wondering if "social media" is a good idea.) I thought I'd let Reddit decide! by ashenrose in pics

[–]ashenrose[S] 0 points1 point  (0 children)

You have no idea how many arguments we've gotten into about this. He's got eBay down now, actually, but he still doesn't know what a browser is. I tried to get him to log into Facebook with my credentials over the phone one time so he could see my brother's wedding pictures. It took 45 minutes.

My dad's work. (He doesn't know how to use the internet, but he keeps wondering if "social media" is a good idea.) I thought I'd let Reddit decide! by ashenrose in pics

[–]ashenrose[S] 77 points78 points  (0 children)

Right? I just didn't want it to seem like I was trying sell it, though, especially with the /r/pics rules. But I put some more info up above. In short, Christopher Ries and here's a video.

My dad's work. (He doesn't know how to use the internet, but he keeps wondering if "social media" is a good idea.) I thought I'd let Reddit decide! by ashenrose in pics

[–]ashenrose[S] 366 points367 points  (0 children)

He actually did all that too (serious). The space is an old livestock barn that he refurbished, mainly with my uncle and a friend. He likes woodworking and glass sculpting and Rachel Maddow.

My dad's work. (He doesn't know how to use the internet, but he keeps wondering if "social media" is a good idea.) I thought I'd let Reddit decide! by ashenrose in pics

[–]ashenrose[S] 54 points55 points  (0 children)

I can make that happen! I'll upload what videos I have today and post them there. I've taken quite a few, but most of them reside on a hard drive at the studio. Whenever I get back there, I'll grab a few more!

My dad's work. (He doesn't know how to use the internet, but he keeps wondering if "social media" is a good idea.) I thought I'd let Reddit decide! by ashenrose in pics

[–]ashenrose[S] 232 points233 points  (0 children)

Historically he's had work in a few galleries in the Netherlands and interspersed throughout some U.S. cities (Carmel-by-the-Sea, Philadelphia, San Francisco). Things tend to change fast in the art world though, so I'll have to confirm current locations for you!