jump to navigation

Allergies do suck July 23, 2014

Posted by truthspew in Uncategorized.
add a comment

So lately the tree pollen has been pretty rough in the area. I take a regular 180mg of fexofenadine aka Allegra per day. 

But even that’s not enough. I suppose I should go see the doc and get a prescription for 2.5mg prednisone as that knocks the symptoms down pretty quickly. But the side effects are sort of nasty. 

But I realized – if I take the Allegra and about 4-5 hours later pop a Benadryl it dries up the allergies. Different actions I’d bet. And I only take one 25mg tab so not too worried. 

I also take one before I go to sleep. That sort of heads off the shit. 

Riding the Red Line July 18, 2014

Posted by truthspew in Uncategorized.
1 comment so far

Now normally the Red Line from Alewife inward gets pretty packed. On one terminus it hits Harvard and then passes through MIT’s campus, Cambridge proper, Mass General, Park St,, Downtown Crossing and then South Station onward to either Ashmont or Braintree from there. 

But today was super packed coming home. Normally you’ve got a fair amount of separation between yourself and other passengers. Today though we had about 4 to 6 inches between us. It was tight. To the point where we stop at South Station and I can’t get off the train. 

So that’s when the voice comes – and I loudly state “Make a hole please! Let’s move it people!”

I know, I can’t help myself. But sometimes you have to jolt the dolts out of their stupor. And I’m just the guy to do that. 

The ‘newish’ job July 17, 2014

Posted by truthspew in Uncategorized.
Tags: , , ,
add a comment

So I’ve now been here by calendar 34 working days. I’m getting a little more responsibility as time goes on. Now that they know I have the chops. 

For example – I was asked to identify what ports applications are using on the servers. 

Now if you’ve been around networking you know about a utility called netstat. 

You just do a :

sudo netstat -A inet -n -p

Ok, lets take it apart piece by piece. 

sudo is a way of allowing people to run things at elevated privilege but without having to know the root password for the system. Pretty convenient and you can also tightly control WHO can sudo too but managing group membership. 

The part ‘netstat’ is the application discussed above. 

The ‘-A inet’ says look for Internet TCP/IP protocol only. 

The ‘-n’ shows addresses as numerical and not hostnames. 

The ‘-p’ is to show the process id and program name. 

 

It’s really simple. And what you end up with is something like this:
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:39064 127.0.0.1:5672 ESTABLISHED 2901/python
tcp 0 0 127.0.0.1:47017 127.0.0.1:11211 TIME_WAIT -
tcp 0 0 127.0.0.1:41314 127.0.0.1:5672 ESTABLISHED 2897/python
tcp 0 0 127.0.0.1:41311 127.0.0.1:5672 ESTABLISHED 2829/python
tcp 0 0 127.0.0.1:47015 127.0.0.1:11211 TIME_WAIT -
tcp 0 0 127.0.0.1:41309 127.0.0.1:5672 ESTABLISHED 2861/python
tcp 0 0 127.0.0.1:41310 127.0.0.1:5672 ESTABLISHED 2816/python
tcp 0 0 127.0.1.1:10000 127.0.1.1:59830 TIME_WAIT -
tcp 0 0 127.0.0.1:54514 127.0.0.1:5672 ESTABLISHED 2906/python
tcp 0 0 127.0.0.1:41313 127.0.0.1:5672 ESTABLISHED 2365/python
tcp 0 0 192.168.201.1:21 192.168.201.10:38196 TIME_WAIT -
tcp 0 0 127.0.1.1:33940 127.0.1.1:6444 ESTABLISHED 2906/python
tcp 0 0 127.0.1.1:33954 127.0.1.1:6444 ESTABLISHED 2220/python
tcp 0 0 127.0.0.1:41312 127.0.0.1:5672 ESTABLISHED 2878/python
tcp 0 52 10.1.20.70:22 10.1.20.110:57441 ESTABLISHED 23781/sshd: anthony
tcp 0 0 127.0.0.1:4369 127.0.0.1:58920 ESTABLISHED 2167/epmd
tcp 0 0 127.0.0.1:47016 127.0.0.1:11211 TIME_WAIT -

So what the above shows is Python. All those ports – it’s how Python handles intra-process communication. And you never know what port is what. So that would be a Dynamic assignment of ports. 

But then we see my SSH connection at port 22. That’s a fixed port or as fixed as you can get without major reconfiguration. 

So there you go – a use for netstat. It lives on WIndows boxes too except it is considerably crippled on Windows platforms. For example, -A doesn’t exist. A netstat -p TCP -n does the similar thing. 

 

 

 

I feel an apology is in order July 16, 2014

Posted by truthspew in Uncategorized.
1 comment so far

This blog used to be about fun stuff – you know, stuff like criticizing the church, advocating for marriage equality and gay rights in general. 

But the fight has sort of gone out for me. Rhode Island got marriage equality over a year ago. And the fight is now playing out in many states at the federal judiciary level. I put forth that there is now more than enough precedence for this to come before the U.S. Supreme Court again and this time they won’t be able to punt. That would mean equality throughout the U.S. even the recalcitrant south. 

But if you note it’s become more techie or geeky lately. If only because I’ve been doing a lot of reading. Things like learning C#, BASH scripting, some javascript and java in there. And so a lot of what I’m either learning or refreshing on gets reflected here. 

 

My apologies. 

 

Sharing one keyboard and mouse with multiple Windows machines July 16, 2014

Posted by truthspew in Uncategorized.
add a comment

Now I’ve long known that you could get Windows and Linux to share a keyboard and mouse using an application called Synergy.  And looking at their web site apparently they share between Windows, Linux and Windows. Coolness. 

What brought this up was a co-worker who wanted to share one keyboard and mouse for his personal machine and work machine. I told him about the above. 

So I did a bit of googling and found out Microsoft’s Garage has a product called Mouse Without Borders. Interesting name. 

So you see there are now options to sharing one keyboard and mouse with multiple computers. 

Both applications are essentially  IP based KVM (Keyboard Video and Mouse) with enhancements. 

And of course my co-worker brought up the fact that we’re nailed to a corporate VPN. That’s when I had to introduce him to the ‘route print’ and ‘route add’ commands in a command prompt. 

A new nickname for supporters of Republican candidate Allan Fung July 15, 2014

Posted by truthspew in Uncategorized.
Tags:
1 comment so far

So coming out of the train station this evening I spotted the Fung supporters with their placards out in front of Providence Place Mall. 

And it’s when I thought of the name for them. Fung-ghouls. It’s based on the old Italian curse and sounds a bit like the English bastardization of Vaffanculo. 

So now you have it. Fung-ghouls. 

Kids: Today on the Red Line July 11, 2014

Posted by truthspew in Uncategorized.
Tags: , ,
1 comment so far

So today I’m on the MBTA Red Line from Central Square in Cambridge to South Station in Boston.

A family of four, mom and dad and two cute little blond headed boys, likely twins.

The kids were cute and inquisitive as all hell, and the dad wasn’t putting them down, instead he was explaining to the boys what they were seeing as we crossed the Charles river into Boston. For a moment I had this “Aww, how cute.” thought which immediately turned to “Children of the Corn!”

Yeah, sometimes I think it’d be good to have kids but then the neo-cortex kicks in and says “You’ve seen what kids did to friends of yours. The premature aging, the death come way too soon, etc. Do you really want to go through that?”

The answer comes back no, I don’t want to go through that nor have I ever wanted to do so. In fact the family name will die with me and I’m fine with that.

But my life is way too complex to include kids in the mix. Sorry – I enjoy my freedom to hit the geek meetings etc. Or to putz around on the computer with the most demanding thing being the cat who wants attention.

But I keep hearing from people that I’d be a good father. I’d prefer not to find out. Because one thing I do know is that I’m way too permissive. Meanwhile my partner in crime is the strict one. That would cause some friction I’m sure.

But we do have a nephew that I can spoil to some degree. And if the spoiling includes annoying his bitch of a mother all the better.

Why National Grid and all other power and natural gas providers are doomed July 11, 2014

Posted by truthspew in Uncategorized.
add a comment

The price of solar keeps going down. That’s point number one.

The other thing is, people have ZERO incentive to sell power back to the incumbent provider.

What this means is that those with the means will tell the incumbent providers to go get fucked.

And this will mean declining revenue, loss of stockholder confidence and the ultimate doom of companies like National Grid, N-Star and all the other blood sucking pigs.

I can’t say I’ll be sad to see them go. They’ve been raping and pillaging for decades now and it’s only just that they’ll go the way of the dinosaur in my lifetime. They had their chance – but they decided to be dicks about it.

Here’s the thing. The reason I hate National Grid for example is because I’ve seen their costing data. They are FUCKING us with electric and natural gas rates. Plus they occasionally hike the distribution charges but yet aerial cable never gets replaced, and it’s pulling teeth to make them lay new PVC gas line.

This is the problem with having our utilities owned by public share. Were they all government entities a la the Tennessee Valley Authority there’s no profit motive per se. All the money pays ACTUAL cost not inflated cost.

So this is why when people can they will tell incumbent providers like National Grid to take a hike, go get fucked, etc.

And while I’m on the subject – pretty much every day I see a National Grid truck in Sharon, MA picking someone up from the train. We ratepayers are paying for the fuel and mileage so that National Grid employee can pickup their loved one. Not on my fucking dime asshole!

An adendum to hacking the Virgin Pedometer July 9, 2014

Posted by truthspew in Uncategorized.
add a comment

So I note the post I had written about hacking the Virgin Health Miles pedometer using an Arduino gets hit quite a bit.

But it struck me, you don’t need a microprocessor to do this. All you need is some resistors, a capacitor or two and a 555 time chip.

Presto! It’ll pulse to your hearts content in the right configuration and kick the step count up!

More rumination on driving July 6, 2014

Posted by truthspew in Uncategorized.
2 comments

Never fails. The more I drive lately the more I see idiotic on road behavior.

Another favorite of mine is the moron who gets at the head of the left lane and they do UNDER the speed limit. I have this strong resistance to passing on the right but they make me want to do so, cut out in front of them and stop dead. Then when they lay on the horn walk up to the car, break the window and haul the driver out and beat them into a bloody pulp. I mean really, who died and made you boss?

Another one that grinds my gears – overt fear of cops. Look, its a numbers game. Holiday weekend and cops are going to be out.

But having worked with many a cop in my career I found a few things out. For example – from East Greenwich to Newport we say three cars pulled over by State Troopers. Now here’s the thing – they usually go out in groups of four cruisers. So 3/4ths are busy with stops, that means one rover. Not much to fear there. And if you’re going to speed, just remember to keep a slightly faster vehicle ahead of you. That’ll take care of the rover.

Then we’re in Newport and this cop on a bike is on the sidewalk. We’re parked in a spot where technically speaking you’re not supposed to be parked. Cop walks toward the car, my friend is freaking out. I’m just like don’t sweat it. But my friend decides to pull off before the cop gets there. Nothing happened. We find a legitimate parking space a bit further up. As we’re walking back the cop on foot is a bicycle cop and he’s just standing beside his bike on the sidewalk. I gave him a sort of derisive look as we walked by.

Now I’m going to talk about stupid road layout. Going from RI-138 West to Route 1 North is a cluster fuck. Cannot handle the traffic at all. Either they need to extend the exit lane by a few thousand feet, or maybe block off the right lane of Route 1 to fix this.

Once you get through the shit and onto Route 1 to the RI-4 connection is an ugly slog.

But once you’re on RI-4 there’s those two lights you have to go through before you hit highway proper. I say bury the intersections and take the fucking lights out. Traffic would be immensely improved.

Follow

Get every new post delivered to your Inbox.

Join 344 other followers