All posts by Daniel

About Daniel

In his free time, Daniel enjoys swing dancing, and listening to good music.

Advanced Links

So, I’ve spent most of the day with my good friend, Mr. Anchor Tag, and I thought I would share something I have learned about him today. Primarily…

Slashes Matter

Quick, what is the difference between <a href=”page.html”> and <a href=”/page.html”> ? It’s totally the beginning slash (/) before “page”. But does this make a difference? Turns out, yes it does. The first link without the slash is a  relative link – the server will give the requested file from the same directory as the file that contains the link. The second link containing the beginning slash is called an absolute link. This means that the server will start from your website’s document root (www.example.com) instead of the current directory. For example, suppose the page containing these links is located at www.example.com/stuff/index.html. The link, <a href=”page.html”>, will go to  www.example.com/stuff/page.html if the server has it. However, the link, <a href=”/page.html”> will go to www.example.com/page.html.

But What Does This Mean?

I’m Glad you asked. Suppose you are editing a page that is going to end up at danielhoenes.com/2011/12/archives/whatever/tag/blah or perhaps you are using a web application or CMS that is going to display your page at different URLS. The shortest way to link to a fixed resource (such as danielhoenes.com/logo.gif) is to use the /absolute link. No matter which sub directory your page gets put, the static resource will be found. You could also just include your whole domain in the link (http://www.example.com), but that is at least 10 extra characters and another problem. Domain dependency. Suppose you are now sitting between multiple domains. Your client has said “hey, I’d like to use this theme you are making me on tomatos.com and relish.com. Can you make that happen?” Well, with the absolute link – you can.

Recursion

Enter Computer Science I:

*Walks into classroom, sees code written on chalkboard*
“hmm, looks like recursion”
*sits down, sees teacher walk into classroom*
Teacher: “hmmm, looks like someone’s teaching recursion.”
Other student: “Probably Dr. Blythe.”
*snickers*

 

I love computer science.

 

DH

A Maxim on Missouri Weather

Here we are in March, in Missouri. We’ve seen the whole gamut of weather – rain, sun, snow, warm, cold, windy, and thunderstorms. It is months like these that I am glad I live in a state with violent weather mood swings. It creates a stronger community than places with picture-perfect weather all the time have. What I mean by that is due to the extra effort we have to take to deal with the weather here, people are brought together by a common circumstance. For example, this weekend at work (Costco Wholsale) I was outside of the building while the temperature was falling and winds were picking up. While waiting for a customer to pull their car around so I could help them load their order, Another customer who was also waiting made a comment about the weather. “So much for the Sun from last week.” Immediately we began chatting about weather ironies and I discovered snow was in the evening’s forcast as well. The conversation was actually one of the highlights of my day considering work was particularly uneventful. Furthering my example, the next day’s snow was the hot topic on Facebook statuses for a good 10 hours.
In Computer Science II of all places, I heard an interesting maxim about March weather in Missouri (actually, I am beginning to expect random things in that class). “In like a lion, out like a lamb.” How fitting.

DH

The Journal of Everett Basse

Below is a short piece I wrote for chemsitry homework…

___________________________________________________

 

November 4, 2050. It is a cold Friday morning on Beltra. The surface sensors recorded -30˚C last night. We stayed pretty warm in the bunks, although I’ve noticed Johnson says a good deal of nonsense in his sleep. Waking up to bacon and eggs was a pleasant surprise. Lt. James cooked it himself. He says he wants us all to be in top shape today – it’s going to be a long day at the surface. Although I’m looking forward freezing my tail off for 12 hours, breakfast with everyone was nice. It reminded me of maple syrup season back home – everybody getting up early for the rush.

 

We’ve got two new reaction towers to put up today. One CO2 and one CFC. I suspect with all twelve of us we can assemble the CO2 rig before 14:00. I haven’t seen a CFC plant put together yet so no guesses there. Johnson says there’s no way in a cloudy frother we’ll get enough Fluorine in it anyway, at least before winter. The carbon comes easy though. With that and a 500-year supply of snow-froze oxy, the new CO2 tower should be chugging along before dinner.

——

Rough day. After the CO2 tower went up, Johnson and I were sent to the Southern valley with two dozen scanner units and enough tie-downs to secure a horse. We used them all though. Temps read -10˚C at 12:30 and stayed there the rest of the day. Naturally I suited more clothing before leaving base. Both of us knew it was going to be difficult. We had to cover four square miles as best as the Fluoride scanners could reach. We put down ten on the main channel going out. Four branches with two more each left only six in the parallel crater. Johnson has affectionately nicknamed the place ‘hell’ as he discovered the downward wind gusts will knock a large man flat without breaking a sweat. Not to mention psychotic 10˚  temp fluxes. We both got minor frostbite through our shoes, but I was thankful to get back to base in one piece.

 

Winter is coming shortly. If we get temps up 3˚ more by 12/13, Lt. James says command will send us a party container. We’ll see about that. We’ve brought temps up 12˚ since we got here. It’s been a long road though. We didn’t get to watch the scenery on the flight out. On landing, our pilot missed target coordinates by two and a half clicks, and eight months of living in an underground silo complex just gets old. I could go on complaining, but even that gets cold.

 

I got a satellite call from Mom and Dad tonight. I told them once we’re finished they will have to send me some Maple seeds. With greenhouse emissions looking so good, we’ll be done in fourteen months. Mom’s been telling her students how I am a ‘brave frontiersman’ and Dad impresses his work buddies with my chem. and temp data. I never thought I would be on an alien planet warming up the atmosphere by CO2 production so people can live here on purpose. Here I am though. It is kind of cool being one of the first scientists out here. Maybe they will name a weather pattern after me. ‘The Everett Effect’ doesn’t have a nice ring to it though. I guess I’ll work on that later.

 

Sidewalk Patterns

Patterns permeate private universities. Especially when you take the time to notice them. More so when you are detail-oriented and enjoy finding patterns.

This morning, as with every Tuesday and Thursday morning, I passed a friend on the sidewalk while I was going from one building to another. Seeing said friend regularly is nice. I look for a black coat, see her at 10 yards, high-five at passing, and chuckle afterwords. Today however, I arrived at my building of destination and had not seen my friend. The puzzled look on my face dissolved when I looked up and saw her 10 yards away. We of course stopped and commented on meeting in a different place, and then high-fived. :)

Perhaps I like patterns in the daily grind because there is a sense of security in knowing what to expect all day. I even create patterns and stick to them just because. When getting dinner in the cafeteria, I usually have a tuna sandwich on wheat with swiss cheese. By ‘usually’, I mean ‘so often that the deil-counter girl no longer asks me what I would like at the counter, but just hands me two slices of swiss and smiles’. And yes, that is usually the highlight of my dinner.

Whether out of necessity, circumstance, or created for the fun of it – here’s to all your sidewalk patterns.

DH

View of a busy day

With Sibley Day over, a decent recap of the day’s events is in order – even if just for my own sanity.

The day began 8:30 without breakfast (thanks pfoodman), followed by a semi-professional photoshoot starring me. I needed a nice professional headshot and luckily a budding photography student needed help in web design class. The trade worked very well. After that, I went to the video lab and finished an editing exercise for video production class. Immediately after that, a highly interesting keynote speaker on the future of robotics and swarm robot technology. Apart from being scared of an A.I. planet takeover and the infamous ‘three law safe’ idea, there were some interesting bits involving distributed algorithms and honey bee-like robots.

After a mediocre lunch (thanks pfoodman) I was called into work (Wilson Monnig) and did some web design for about four hours. After that, a disappointing dinner (thanks pfoodman) and some storyboarding for my continuity project in video production. At 7:00pm, I met with a classmate and we filmed my project and then hers – 3.5 hours well spent. Getting back to the dorm, I forced myself to finish, no, tweak is the better word, my website project for interactive web development. If you would like to see that it is danielhoenes.com

Yaay Sibley.

DH

Anticipating Sibley Day

It’s that time of year again – Sibley Day. An invented school holiday in which regular classes are replaced with speakers, sessions, activities, and etc. Many students take the day to do nothing since Lindenwood doesn’t observe a handful of other holidays, President’s Day being the nearest one on student’s minds.

This Sibley Day, some things are the same – lame t-shirt, extra credit opportunities, cold weather. Some things are different however. There are exciting things to do! A keynote speaker on the future of robotics, a presentation on historical American dancing, a showing of 2012, and for me, a photoshoot and a video production project shooting.

here’s to it,

DH

Thoughts on Computer Science II

This week in Computer Science II has been an eventful one. On Monday, there was the first test. A test that I had forgotten about until a classmate walked into the room at 10:56am proclaiming “y’all ready for that test?”. I was not ready, nor had I studied even a little bit. Apprehension would be an understatement. Much to my elation, however, the test was a review of CS I material. Even completely muffing the extra credit by misreading the question, I managed a perfect score, which makes me happy. :)

In Wednesday’s class, two noteworthy things happened. The teacher stupified me and a portion of the other class by posing the question, “on which date did you learn algebra?”. Her point was related somehow, but I have forgotten. The question though is fun to pose to math majors I have discovered. Secondly, the annoying kid in the class exhibited behavior that made me say under my breath, ‘I think he’s going to torch the place someday’. Immediately, I realized thankfully that he wouldn’t be capable of carrying that out since he isn’t capable of making it to class on time, ever. On a less creepy note, I am looking forward to what Friday’s class has to offer: lab day and I have the work 97% finished. :)

DH