Brad Lucas

Programming, Clojure and other interests

Car Rental Fees And Taxes

June 27, 2017

It looks like fees and taxes for car rentals is out of control. Anyone notice? Here is an example.

I wanted to rent a car for two weeks so I shopped around. It looks like for a car it would be about $360 dollars a week that totalled specifically to $729.30 for two weeks.

Click the button to finalize and the total is $1046. What? There is $317 dollars in taxes and fees. Nearly the price of a week's rental.



|-----------------------------------+-------+---------|
| Compact Suv                       |       |  729.30 |
| Unlimited Mileage                 |       |         |
|-----------------------------------+-------+---------|
|                                   |       |         |
|-----------------------------------+-------+---------|
| TAXES & FEE                       |       |         |
|-----------------------------------+-------+---------|
| Consolidated Facility Chg 6.00/Dy | 84.00 |         |
| Concession Recovery Fee 11.11 Pct | 81.77 |         |
| Wa State Rental Tax 5.9 Pct       | 48.25 |         |
| Rta Tax 0.80 Pct                  |  6.54 |         |
| Sports Facility Tax 1.00 Pct      |  8.18 |         |
| Veh License Cost Recovery .48/Day |  6.72 |         |
| Sales Tax (10.0%)                 | 81.78 |         |
|-----------------------------------+-------+---------|
|                                   |       |  317.24 |
|-----------------------------------+-------+---------|
|                                   |       |         |
| TOTAL                             |       | 1046.54 |
|-----------------------------------+-------+---------|


Continue reading →

All Jobs Tend To Face Time

June 26, 2017

I've noticed that to some extent all jobs tend to face time. Sure, there are exceptions but there is a tendency.

When you hear things like, "90% of the job is just showing up", there might be a clue there.

Large organizations seem to tend to not trust their employees and in return force a culture of face time because that is the simplest way to hold someone accountable.

"Well, at least he/she shows up" keeps many people employeed.


Continue reading →

Yardwork

June 25, 2017

Weekend chore. The Mac has no more space.

$ df -k
Filesystem                1024-blocks       Used Available Capacity    iused     ifree %iused  Mounted on
/dev/disk1                  243924992  219810484  23858508    91%   55016619   5964627   90%   /
devfs                             180        180         0   100%        626         0  100%   /dev

Show directory sizes.

$ du -sh *

Continue reading →

Showip Example In Clojure

June 24, 2017

I found a small example I wrote last year. It shows the ip address of the machine from which the program is running. It does so by calling http://httpbin.org/ip. This url returns the callers IP address in JSON.

The example shows get-ing a url and parsing the JSON.

To access the url I'm using clj-http. This returns a map from which you want the value of :body.

The JSON return value will look like this:


Continue reading →

Python Virtualenv

June 23, 2017

Introduction

Virtualenv supports the creation of isolated Python environments. This allows you to create your project with all of it's dependencies in one place. Not only does this allow for a simpler deployment path when you release your project but it also makes trying different versions of libraries and experimenting safer.

The following is a good intro for virtualenv.

https://papertrailapp.com/systems/751509772/events

Notes


Continue reading →