1 comment so far
I can’t say much except fuck him and the horse he rode in on.
Yet another Stupid People Shouldn’t Own Guns Thread December 10, 2013Posted by truthspew in Uncategorized.
Tags: Common Sense, Gun Safety
add a comment
Go read this first - and then come back for my comments.
First of all basics of gun safety go as follows:
1) Never assume a gun isn’t loaded.
2) Never point a gun at someone unless you intend to use it.
3) Keep the gun locked or in safe mode.
3) Never chamber a round unless you intend to use the weapon.
4) When cleaning or breaking down a gun, drop the ammo clip.
5) Now pull the slide clear off and clear the round that you chambered like a moron.
Really – it’s not hard. As someone who has handled and discharged a whole plethora of weaponry I have to say I’ve had some experience with all the above. That includes hang fires – where you pull the trigger and nothing happens. You’re supposed to put the weapon down in a safe orientation and walk away for 20 or 30 minutes. Then proceed to clear the round out of the breech.
It’s all common sense. And here in RI to buy a gun you need what’s called a Blue Card. You cannot purchase a pistol without one.
We won’t however get into the carry permit thing in RI. I could have had one back in the early 2000′s as I worked for the State AG’s office. That was the place where the Deputy Chief of BCI had a pane of bulletproof glass on which he’d tried at least a couple dozen different weapons on it. The only one that penetrated the glass was a rifle round.
Some mods I might make to the Duo BASIC December 10, 2013Posted by truthspew in Uncategorized.
add a comment
Now that I’ve got it functioning I’ve been messing around with it. It only has the two commands MNZ and add. With just those two you can write some interesting programs.
The switches on it leave a bit to be desired though. They’re fairly delicate. But I may end up using something like this:
That way I’d be able to get rid of the LED and the switch and just use these in a nice box.
Of course those are $5 each – and eight of them would be $40 – about the cost of the Duo BASIC in the first place. So no go.
However there is this, a simple on/off switch.
At 50 cents each eight of them would be $4, or one tenth the cost of the flashy ones. Plus I also have a bunch of LED’s in the house and the resistors to current limit them. So I could still move this out to an external device. Cool!
Now I could use a binary to 7 segment converter – but here’s the catch – I’d have to use a lookup table of sorts to drive at least three seven segment digits. So maybe not.
More troubleshooting on the Duo BASIC December 10, 2013Posted by truthspew in Uncategorized.
Tags: Duo BASIC, Troubleshooting
add a comment
So I checked all the solder joints. They were all good. I had noticed the chip for the A register getting pretty hot. Now these are basically just flip-flops in particular the 74HC754:
It’s a Octal D-Type Flip-Flop. A Flip-Flop is a basic memory element.
And I had it plugged in upside down. Woops! So GND was at +5V and 8Q was at ground. Not good and causes some heat. Found my IC extractor and pulled the chip out, replaced it in the correct orientation and it works fine now. Weird that I got every other chip in the right orientation except that one. But it happens.
Text Play in ASP December 8, 2013Posted by truthspew in Uncategorized.
Tags: ASP, code, IIS
ASP is what’s used in Microsoft’s IIS (Internet Information Server) to give it some interactivity.
I’ve recently gotten a contract to do development in it. Now most of my experience is just doing ASP changes to normalize and verify data.
This is just something I quickly threw together:
It just asks you name and age.
And then it does this to it:
I had it originally doing ROT-13 but then did ROT-6.
It’s done like so:
Dim name, age, rot13name, i, j
name = Request.QueryString(“Name”)
age = Request.QueryString(“Age”)
Response.Write(“Name: ” & name & “<br />”)
Response.Write(“Age: ” & age & “<br />Rot13 Name is: “)
For i = 1 to len(name)
Response.Write(“But that’s not all!”&”<br />”)
For j = len(name) to 1 step -1
When you hit the submit button the action takes it to an ASP script that does the textual prestidigitation.
Duo BASIC – 8 Bit Microcomputer December 7, 2013Posted by truthspew in Uncategorized.
Tags: computer, Duo BASIC, Electronics, kit
It’s implemented across 7400 series logic. It’s pretty cool.
I had to assemble the whole thing. About 500 solder connections. Took about 3.5 hours. So doing the math that’s 142.86 soldered connections per hour, 2.4 a minute. That’s because you have to prep the components by taping them to the opposite side, then soldering the pins, trimming leads etc.
I’ve applied power and done the smoke test. One LED doesn’t work. I may have killed it with the heat. But I can replace it, just gotta make sure I put a 1K resistor on it. But otherwise everything works. I’m able to watch the PC LED’s count upward. So it’s executing code.
It only has two instructions – MNZ or Move Not Zero and ADD. It has 3 registers, A, B, and PC. PC is Program Counter btw.
The logic is all discrete. You have buffers, inverters, schmidt triggers, adders, etc. And I want to see if I can write to the EEPROM. If I can I could add command like JMP, JNZ, etc. A half dozen more commands would make this a kick ass machine.
And you could potentially tap the LED outputs and run it through say an Arduino with LCD attached and have a rudimentary display for it.
I’m just learning how to flip the switches and commit things to memory. Lots of fun!
A TMI Thursday Post a little early – Kiss the Cook December 6, 2013Posted by truthspew in Uncategorized.
add a comment
Got it from Just a Jeep Guy.
Anyhow on with the questions:
1. How good of a cook are you?
Put it this way – so good that someone almost always goes back for seconds.
2. Who taught you how to cook?
Learned some from my parents and grandparents. But my real education came watching Good Eats and programs like that. Plus using web resources for recipes, technique etc.
3. Who does the cooking in your home?
Mostly me, but every now and then Keyron gets to cook.
4. Do you cook more or eat out more?
Put it this way, what we can cook in this house is orders of magnitude better than you’d get at most restaurants. That’s not to say we don’t occasionally go out for food. Two faves in the general area are Pito’s II and Phoenix Dragon.
5. Are you more of a cook or dessert maker?
I can do entrees, sides, and desserts. Mostly cakes and pies for desserts. Also do my own cornbread and banana bread too. Pretty handy with Chinese food too.
6. What was your worst/funniest cooking moment?
Made this dish one time – it was heavy on onions and I didn’t really like the flavor of it. But a friend was over and loved the stuff so much. So we didn’t have to throw it away.
7. What’s your best dish?
So many things; I make really good beef & broccoli and General Tsao’s Chicken. But my absolute best is down between two dishes that I and someone else absolutely love. The first is Pork Chops with Sour Cream and Dill sauce, the other is Chicken with Mushroom and Leek Fricassee.
8. Is revenge a dish best served cold?
Oh yeah, I’m a Khan disciple in that respect.
9. Is the best way to a man’s heart truly through his stomach?
Well yeah of course.
Have you made whoopee in the kitchen? Which foods have you used to spice up your love life?
Has anyone not had sex in the kitchen? i mean come on. As to foods – does whipped cream and honey count?
Dee-Na-Mee-Tay Crust December 5, 2013Posted by truthspew in Uncategorized.
Tags: crust, food
add a comment
Ok, so you know I’ve been brushing up on my Spanish skills. Dee-Na-Mee-Tay is sort of the Latin version of Dynamite. I think I had mentioned before I made this Blueberry Crumble. The crust on it was fantastic so I’ve adapted it to other things.
It’s a very simple crust:
- 1.25c Unbleached AP Flour
- 1 Stick of Unsalted butter, cut into 1/2″ chunks.
- 1/2tsp salt4 tbsp cold water
Preheat your over to 375F. You’ll want to put the flour and salt in a food processor and give it a twist to combine the salt and flour. Now keep the food processor going and add the chunks of butter slowly until you get a coarse looking flour mixture. Start adding the water about a tablespoon at a time until the dough in the processor forms a ball.
Tip it out and divide into four pieces. Using the palm of your hand smear each of the four pieces to distribute the butter then round it up into a ball. Flatten the ball and wrap in plastic. Put it in the fridge for an hour.
Take it out of the fridge – roll it out. now place it in a pie plate or tin you’ve sprayed with PAM or the like. Use a fork to puncture the bottom of the crust a few times. Now line the crust with aluminum foil and weight that down. I use a cake pan. It’s just heavy enough. Bake this way for 20 minutes. Then remove from oven, remove cake pan and foil and bake for an additional 12 minutes.
What you’ll get is a crust that just pops right out of the pan – go ahead and fill it with your choice of veggie, eggs, blueberry slurry, you name it. Bake to perfection.
Then add the chunks of butter and process through until all the butter and flour are combined.
Simple headphone repair December 4, 2013Posted by truthspew in Uncategorized.
Tags: headphones, repair, Subjekt, Subjekt TNT
1 comment so far
So I’ve got a pair of Subjekt headphones that I REALLY like.
They sound FANTASTIC. Put it this way with some inferior brands of headphones I found myself having to crank the volume pretty high. This one, 1st or second bar it plenty loud enough.
But I sat on them by accident and broke the screw mounts on the right side. But hot glue to the rescue – I just put a dab on the three stumps and mashed it together and presto, headphones repaired and functional for another day.
Didn’t have to re-wire anything which was very nice.
A new Android App – Duolingo December 3, 2013Posted by truthspew in Uncategorized.
Tags: Andorid, Apps, Duolingo, Play Store
add a comment
So I downloaded a new app to my phone. it’s called Duolingo and it’s free in the Play Store on your phone. But it also is available on the web too. So don’t despair if you don’t have an Android device.
It covers Spanish, Italian, French, German and Portuguese. Essentially all the Romance languages and then German. I’ve started in on the Spanish and find the basic is very much so – I recall it from three years of Spanish when I was in high school. I managed A’s and B’s so I grasped it. And when I hear native Spanish speakers, depending of course on the local dialect they’re speaking, I can pretty much understand the key phrases. The written I can translate on the fly no issues because all the context is there.
Once I review the Spanish I’ll move on to Italian. Then I’ll do the Italian and then finish out with German and Portuguese. This is fun.