The Prusa is Built!

Ξ April 3rd, 2017 | → 0 Comments | ∇ Uncategorized |

After a new addition to the family arrived, I was finally able to build the Prusa i3 Mk2 after sitting in the box for a month.

Here it is in all it’s glory!  The build was super educational and I’ve learned a lot about the structure and design of the i3 and the technicalities of everything with this printer.  It took me around 10 hours in all of building, testing, calibrating every aspect.  Definately recommend the printer and this kit to build on your own.

Now I’m off to printing upgrades!  Print on, brethren!

Original post by m00ch


The Rex is finished!

Ξ December 28th, 2016 | → 0 Comments | ∇ Uncategorized |

Latest print was 8 months in the making after countless troubleshooting and tweaking of settings.  Finally got it dialed in and put my nose to the grindstone and finished it.

Printed entirely in 0.1mm resolution, typically 50mm/s at 190C.  Material is Hatchbox PLA silver.  Here it is in all it’s glory!


link to model

Original post by m00ch


New Pics

Ξ October 23rd, 2016 | → 0 Comments | ∇ Uncategorized |

Just a heads up on new design pics of the printer.  I’ve got the cooling fan blower on the reverse side now. Link here.

img_32142 img_32152


Original post by m00ch


2016 California Voter Election Guide

Ξ October 8th, 2016 | → 0 Comments | ∇ Politics |

During past elections I had written brief voter guides, mostly for my friends. I have fallen out of the habit of preparing these over the past few elections, primarily due to being more busy, my friends being better informed, and fewer complex propositions that need to be explained. This year, however, with 18 initiatives on the ballot, I felt this would be a useful guide. So here are this elections 18 California propositions, and why I’m either supporting or opposing each one.

Proposition 51 — School Construction — YES — This $9 billion bond issuance provides for the construction and modernization of K-14 schools throughout California. Specifically, it provides for $3 billion for construction of new schools, $3 billion for modernization of existing schools, $2 billion for community colleges, $500 million for charter school facilities, and $500 million for career technical education facilities. These bonds will cost California approximately $500 million per year over the next 35 years. In order to access these funds, school districts will need to provide matching funds, such as through local bond measures such as Measure S in Orange Unified School District or Measure K in the Brea Olinda Unified School District.

A lot of the money from Proposition 51 and its local counterparts will go towards deferred maintenance. This is simply not how we should be funding and maintaining our public schools. However, since we have chronically underfund our schools over the past four decades, this infusion of cash is absolutely necessary. This isn’t the best solution for improving our schools for the long term, but it’s the best solution that’s politically feasible right now. Until we can convince people to raise their taxes to fund schools from current revenue, we’re going to be left with funding school facilities by bonding against future revenue.

Proposition 52 — Hospital Fees — NO — Proposition 52 would require voter approval for the State to make changes to the fees hospitals are charged in order for the State to raise the funds necessary to receive Federal Medicare money. This is adding a requirement for ballot-box governing, instead of allowing California’s legislature and governor do their jobs. We are a Republic, and should not be engaging in additional direct democracy, it has not served us well in the past.

Proposition 53 — Revenue Bonds — NO — Just like for Proposition 52, this creates a requirement for additional ballot-box governing. Proposition 53 requires that the voters must approve any State bond issuance over $2 billion. This is an effective curb to large-scale infrastructure projects, such as High Speed Rail and upgrades to the California State Water Project.

Proposition 54 — Last-minute Lawmaking — YES — Proposition 54 requires that all bills in the legislature be available for public review at least 72 hours before being voted on, and that recordings of legislative sessions be posted online within 24 hours. Often times, many bills that are negotiated late in the sessions are voted on just hours after being written. This 72 hour delay ensures that legislators (or their staff) have enough time to read and understand the bill before voting on it.

Proposition 55 — High-earner Tax — YES — In 2012, California voters approved a temporary supplemental income tax on individuals earning more than $250,000/year. Proposition 55 would extend those supplemental income taxes for an additional 12 years, expiring in 2030 instead of 2018. Since 2012, this tax has raised approximately $6 billion/year in additional revenue, with 89% going to K-12 schools and 11% going to community colleges.

Proposition 56 — Tobacco Tax — YES — Raising the taxes on smoking will decrease the number of smokers. The current state tax is only $0.41, one of the lowest in the nation, and hasn’t been raised since 1997. The additional money raised will go to MediCal, allowing more low income individuals to be able to get affordable healthcare.

Proposition 57 — Criminal Sentencing — YES — Proposition 57 increases non-violent felons ability to get out of jail on parole, and allows judges, instead of prosecutors, to determine if juveniles should be tried as adults. This is an interesting proposition because it tackles two different problems. Thankfully, I support both of them independently of the other, making this a relatively easy yes vote.

Overall, I think it’s a good idea to let people in jail earn their way back into society. The more paths they have to do so, the better off we all are. For people to respect the laws we as a society impose, they must feel they are a member of that society. Overall, jail does more to alienate people from society than to make them feel a part of it. We have gone so far down the road of using jail for punishment and to serve as an example that it has become counter-productive, evidenced by the high rate of recidivism.

The second part of Proposition 57 is even easier to support. Most of the time, prosecutors are more interested in appearing tough on crime than doing what’s appropriate for the citizens they serve. Judges, on the other hand, often are much more impartial, charged with taking both sides of a trial into account. Until this proposition was put on the ballot, I didn’t realize that this was something left up to prosecutors, and once I knew I found it fairly horrifying.

Proposition 58 — Bilingual education — YES — Proposition 58 undoes Proposition 227, which was approved by voters in 1998. Proposition 227 requires that schools only use English in the classroom. Proposition 58 will allow teachers to use whatever language is most suitable for teaching their students.

Proposition 59 — Campaign Money — YES — Proposition 59 doesn’t change the law, it simply encourages California officials to use the power of their office to overturn the Supreme Court’s Citizens United decision, up to and including a Constitutional Amendment. Citizens United is the court case that allowed for corporations and wealthy individuals to spend unlimited amounts of money influencing the political process. Money in politics is not the most pressing issue we face, but it is an issue that must be addressed before we can begin to address many of the other issues that are pressing. Overturning Citizens United, and ratifying a Constitutional Amendment to do so, is the only way to get money out of politics.

Proposition 60 — Condoms in Films — YES — Proposition 60 requires that actors in adult films wear condoms. Condoms are basic health and safety equipment for adult film actors, no different than gloves for people handling food or hard hats for construction workers. In addition, increasing the prevalence of condoms in adult films will increasing the willingness of young men to wear condoms themselves.

Proposition 61 — Prescription Drugs — YES — Proposition 61 is a clear example of why we should not have ballot-box governing. This is a law that is far too complex and has too much potential for unforeseen consequences to leave up to mostly uninformed voters. That being said, I support Proposition 61 one primary reason, drug companies have contributed nearly $85 million towards defeating the proposition. Merck, Pfizer, and Johnson & Johnson have each contributed over $7 million, with a number of other drug manufacturers contributing millions more each. If they are that concerned about Proposition 61 passing, it’s probably a good law.

Proposition 62 — Repeal the Death Penalty — YES — Proposition 62 repeals the death penalty in California, simple as that. People currently on death row would have their sentences commuted to life without the possibility of parole. I’ve been an opponent to the death penalty since the execution of Timothy McVeigh in 2001. When he was executed for blowing up the Oklahoma Federal Building, the viewing room adjacent to the execution chamber wasn’t large enough for all of the people who lost family members in the bombing and wanted to watch his execution. To accommodate everyone who couldn’t fit in the viewing room, they put McVeigh’s execution on closed circuit television so everyone could watch from an adjacent room. This made me realize that much of the impetus behind executions is related to revenge, not any form of justice. Revenge does not have any place in the justice system. The justice system should be about keeping society safe, and helping criminals repay their debt to society. The justice system should be able to keep society safe without killing criminals, if it can’t there are other more pressing problems than the crimes themselves, and once a criminal has been executed there is no way for them to repay their debts. At least with life imprisonment, there is some chance that they can make a positive contribution to society later in life. The death penalty is no better than revenge killings by gangs, it’s only given the veneer of morality through legality, but it is no more virtuous.

Proposition 63 — Gun Control — NO — This is another law towards a piecemeal approach to gun control. The law will do nothing to reduce gun violence in California. If we want to reduce the number of people killed using guns, we need to have a comprehensive approach to gun control, and that needs to start with a serious discussion about the merits of the Second Amendment in modern America.

Proposition 64 — Legalizing Marijuana — YES — Proposition 64 legalizes recreational marijuana in California. Colorado and Oregon have been able to earn substantial taxes by legalizing pot without substantial negative side-effects to society. California should follow suit and help lead the charge to the decriminalization of marijuana use.

Proposition 65 — Plastic Bag Ban Money — YES — Proposition 65 and Proposition 67 both deal with the ban on single-use plastic bags that was approved signed into law by the Governor in 2014. Proposition 65 and 67 are in conflict with one another, and if they both pass, whichever one gets more votes will be put in place. Proposition 65 was championed by the plastic bag industry to penalize the grocery industry, which supported the initial plastic bag ban. Proposition 65 diverts money that grocery retailers collect to a special fund administered by the California Wildlife Conservation Board. While I do not love the motives behind Proposition 65, I do think that it’s a good diversion of money.

Proposition 66 — Death penalty procedures — NO — If both Proposition 62 and Proposition 66 pass, the proposition with more votes will go into effect. Proposition 66 keeps the death penalty in place, and puts statutory limits on how long death penalty cases can be appealed. The goal of Proposition 66 is to speed up the execution of people sentenced to death, thereby saving the state money. Interestingly, the largest donors opposing this initiative are tech millionaires, including Reed Hastings, Laurene Powell Jobs (Steve Jobs widow), and Paul Graham.

Proposition 67 — Ban Plastic Bags — YES — In 2014, the California legislature passed SB 270, which banned single-use plastic bags in California. Proposition 67 is a referendum on that law, sponsored by the plastic bag industry. It is clear that single-use bags are harmful to the environment, and that reusable bags are more efficient. Many people simple do the easiest thing possible in life (myself included), and right now when going to the grocery store using single-use plastic bags is the easiest thing. It’s not much more difficult to use reusable bags, and it would greatly help the environment by reducing the amount of waste, litter, and energy needed to produce the bags.

Original post by dram


More Adventures in Printing

Ξ June 29th, 2016 | → 0 Comments | ∇ Uncategorized |

Update to the 3DPO project I’ve finally hashed out adding a 2nd extruder.  Searched around for the parts on my own and figured what was needed based on the one extruder I already had.

The 2nd extruder parts was around 90$ and I’m printing the other parts needed for filament loading and spool holder as I type this.

  • 40mm Fan – link
  • Heatsink – link
  • Extruder loader + small feeder gear for the filament + spring – link
  • Screws – I used #4 x 1.5 ” screws at home depot

I already had:

  • All Metal Hotend – link
  • Heater block with thermocouple and ceramic heater – Monoprice replacement hotend.

The whole thing would probably have been only 60$ if I used a regular PTFE tube tip + hotend guide, but opted to use this side for PET so the all metal hotend will allow me to go hotter and faster.

Here’s the result:



I’m pretty happy with the result.  I’ve only heated up the new extruder end and found I had miswired the fans so that was a fun discovery.  All is well.

Original post by m00ch


Octoprint + Wemo

Ξ March 21st, 2016 | → 0 Comments | ∇ Uncategorized |

Since I setup Octoprint on my 3d printer I’ve wanted to find a way to turn the printer completely off (power stop) when a print had finished.  The scenario is when you’re on a long print and you’re not necessarily going to be in the same room when it finishes, but when it finishes you’d like it to turn off the printer when it’s done.  This keeps my mind at ease that nothing bad in the wiring should happen and the cooloff of the hotend is sure to occur when there’s no power to the printer.  It’s a Win-Win.  I’ve achieved just that and also have set up controls in the UI for turning the printer off and on.  I’ll tell you how to do it:

First of all, I’m assuming you’re using the amazing piece of software known as octoprint.  For my install I put it on a raspberry Pi 2, but it could be installed on any linux distro for this setup.  Next enters Wemo, the remote controlled outlet switch.  Belkin’s software for the mobile phone is terrible, but we’re only going to use that for a short while in order for it to get your wifi setup.  With a combination of the linux distro on your raspberry pi and a piece of software called “Ouimeaux,” we’ll get things automated.


It is pretty straight forward to setup your wemo.  Download the app, install, send the wifi credentials to the switch and you’re done.  That’s the easy part.  The next part is setting up the controller package on your raspberry pi.  First download the latest package of Ouimeaux on GitHub.  At the time or writing I installed 0.7.9.  It doesn’t take too much to setup and get it working correctly.  See this page for details.  To install you’ll untar/gzip the package on your pi and make sure you have python (required for octoprint anyway) and run the setup with elevated credentials.  Once you go through the setup process, check to see if you can find the switch by running the following commands in your shell:

//look for your device
wemo list
//check the status of your device
wemo status
//check the status of the specific device
wemo switch switchname status
//turn the switch on
wemo switch switchname on
//turn the switch off
wemo switch switchname off

If you’re not seeing the device, you might either need to connect up to it with the mobile app again or recycle the power.  It took a few times to be able to see it.  Also make sure you are connected to the same network with the wemo as your raspberry pi.

If all has gone well so far, there is only a bit left more which is the configuration in octoprint.  These changes will take place in the config.yaml file which is under the “.octoprint/” directory of the user that octoprint is running as (mine was  under /home/pi/.octoprint/).

We’re going to add new commands here so that we can tap into them via the GUI as well as a plugin.  Open your favorite editor and add in some new commands and actions like so:

    printerShutdownCommand: wemo switch printer off
    printerStartCommand: wemo switch printer on
    serverRestartCommand: sudo service octoprint restart
    systemRestartCommand: sudo shutdown -r now
    systemShutdownCommand: sudo shutdown -h now
  firstRun: false
  secretKey: REDACTED
  - action: shutdown
    async: true
    command: sudo shutdown -h now
    confirm: You are about to shutdown the system.
    ignore: true
    name: Shutdown
  - action: reboot
    async: true
    command: sudo shutdown -r now
    confirm: You are about to reboot the system
    ignore: true
    name: Reboot
  - action: restart
    async: true
    command: sudo service octoprint restart
    confirm: You are about to restart OctoPrint
    ignore: true
    name: Restart OctoPrint
  - action: printerShutdown
    async: true
    command: wemo switch printer off
    confirm: You are about to shutdown the printer.
    ignore: true
    name: Shutdown Printer
  - action: printerStart
    async: true
    command: wemo switch printer on
    confirm: You are about to start the printer.
    ignore: true
    name: Start Printer

Once we have that, let’s head on over to the octoprint plugin github and download the zip for the plugin “AutomaticShutdown“.  We’re going to tweak this plugin slightly in that we’re going to run a different system command when the print finishes.  Open up “octoprint_automaticshutdown\” and change the following line:

def _shutdown_system(self):
		shutdown_command = self._settings.global_get(["server", "commands", "systemShutdownCommand"])

def _shutdown_system(self):
		shutdown_command = self._settings.global_get(["server", "commands", "printerShutdownCommand"])

You can also look in the other files to make edits to the labels if you want.  For instance I changed the js file included with the plugin to read out “shutdown printer” instead of system or the like.

That should be all you need in order to set this up.  Go ahead and reboot just the octoprint service and you should see the new sections in the UI:

3-21-2016 2-12-24 PM

3-21-2016 2-12-02 PM


Original post by m00ch


3d Printer Crazy

Ξ March 15th, 2016 | → 0 Comments | ∇ Uncategorized |

The past 4 months have brought on a new hobby for me: 3d printing.  It’s something you really have to witness to behold the magic of it all.  Seeing an object on the screen come to life layer by layer is an experience I hope everyone gets to enjoy.

With that being said, I’ve had my troubles as well.  Last christmas I was given a 3d printer from monoprice as a gift (Monoprice Architect).  It’s a flashforge creator clone.  And by that I mean exact duplicate since the board and several other parts say flashforge on it.  Out of the box it is a fantastic printer, but after working with tons of PLA I wanted to try some other plastics out.

My only upgrade so far has consisted of parts used to go with the printer (LEDS, octoprint, etc.) and a glass bed. The glass bed is fantastic.  Gives a really nice surface to it and all around looks amazing.

The problem was with the bed that came with the printer.  It is a plexiglass, non-heated bed that leaves the user wanting more.  My long goal was to find a new heated bed for this printer.  However, that was the same idea that came to mind of every other person who got this 300$ printer last christmas.

I tried my hand at flashforge usa parts store.  They were out of stock and for 3 months I had it on backorder.  No go.  Next up was flashforge china.  I THOUGHT I had gotten the right part.  It was for a flashforge creator according to the website, but they shipped me a flashforge creator pro heated bed plate.  Well shucks.  The creator pro board has three leveling screens instead of two.  What to do…

Before I got a new bed, I needed to upgrade the 3.2A power supply that came with the printer.  In no way  would it sustain any sort of wattage that was needed here.  Amazon to the rescue.  I received the popular Meanwell 350-24 prime for 40$.

Next up was finding an aluminum plate for the printer.  I’ve scoured the internet and I found on amazon they are selling magnetic build plates from a company called “Maghold.”  Yes please!  Here’s a video and a link to the item.

I received the plate, it looks fantastic.  Really nice piece of steel.  However, I ordered one that went to a 2015 creator / creator pro.  APPARENTLY, the board I received from flashforge was a 2016 board.  Who knew.  Again, the holes were Juuuuust off.  So that’s messed up.  I carefully used a file and made the wholes a little wider on the board.  It fits snug on the build plate now so all I need to do now is drill three holes on the build plate arm (wood) that is attached to the z-axis.  I’m wanting to do that without having to remove the damn thing, because it looks like a nightmare to try and do.

Once I get that installed it’ll be a much needed upgrade and better than the OEM plate.

Next up was the fact that these printers have MK10 extruders installed.  There’s been several versions of the MK bowden extruders.  My coworker had a 2013 flashforge creator model with an MK7 and had problems with feeding exotic filaments into it and having it gunk up.  This was apparently fixed with an MK8. Since then, various manufacturers have been changing the model due to cutting costs or fixing issues and what my printer was shipped with was an MK10 hotend.  The nozzles are wider (6mm I think) and they have a thicker PTFE tube that resides inside the nozzle to go to the aluminum tube from the hotend.  For most PLA usages this is fine, but I’ve seen complaints on the forums that this was a poor change due to the fact that you’re unable to heat your extruder above 240C without having problems with the filament melting too much inside and clogging, as well as the fact that you can’t run the filament faster than 65mm/s.  Meaning you’re stuck with being in that range.

A relatively new market has been the all metal hot ends.  These replace the PTFE tube which causes some grief as well as keep a clean, clear path for the filament to reach the nozzle, without giving any to filament creep back up the tube.  A company called Micro-Swiss in Minnesota makes them.  I  had previously thought the printer had an MK8 so I made the purchase to buy a new aluminum tube from them.  Turns out it was an MK10.  Who knew.  Regardless, these guys were fantastic at customer service.  They allowed a return on the hotend and shipped me out a new hotend for the MK10.

Here’s the before hot end.  Notice the thick PTFE tube.  This can be the cause of many issues:
DSC02469(mk10 on left, mk9 on right)

And this is the new hotend.  It’s solid metal throughout:
3-17-2016 1-01-26 PM

All in all, parts so far have been around 200$ which.. for a 300$ printer originally isn’t too bad.

When everything arrives I’ll update with screenshots to show it’s glory.  It’s been a long road, but I’ve learned much along the way and I see the light at the end of the tunnel.

Original post by m00ch


It all starts with a post

Ξ March 14th, 2016 | → 0 Comments | ∇ Uncategorized |

Here begins the mochery blog.  A place for nerdery, coding, and all things techy.  Throughout the next days, months, years I’ll be posting content I find on the interwebs and discuss new tech articles I find on reddit or other means.


Original post by m00ch



Ξ March 7th, 2016 | → 0 Comments | ∇ Uncategorized |

Original post by m00ch



Ξ March 2nd, 2016 | → 0 Comments | ∇ Uncategorized |

// ==============================================================================
//  This file is part of the Microsoft Dynamics CRM SDK Code Samples.
//  Copyright (C) Microsoft Corporation.  All rights reserved.
//  This source code is intended only as a supplement to Microsoft
//  Development Tools and/or on-line documentation.  See these other
//  materials for detailed information regarding Microsoft code samples.
// ==============================================================================
// This namespace is found in the System.Activities.dll assembly.
using System.Activities;

// This namespace is found in the Microsoft.Xrm.Sdk.dll assembly
// located in the SDKbin folder of the SDK download.
using Microsoft.Xrm.Sdk;

// This namespace is found in the Microsoft.Xrm.Sdk.Workflow.dll assembly
// located in the SDKbin folder of the SDK download.
using Microsoft.Xrm.Sdk.Workflow;

namespace Microsoft.Crm.Sdk.Samples
    /// summary
    /// This class is able to post the execution context to the Windows Azure
    /// Service Bus.
    /// /summary
    public class AzureAwareWorkflowActivity : CodeActivity
        /// summary
        /// This method is called when the workflow executes.
        /// /summary
        /// param name="executionContext"The data for the event triggering
        /// the workflow./param
        protected override void Execute(CodeActivityContext executionContext)
            IWorkflowContext context = executionContext.GetExtensionIWorkflowContext();

            IServiceEndpointNotificationService endpointService =
            endpointService.Execute(ServiceEndpoint.Get(executionContext), context);

        /// summary
        /// Enables the service endpoint to be provided when this activity is added as a
        /// step in a workflow.
        /// /summary
        [Input("Input id")]
        public InArgumentEntityReference ServiceEndpoint { get; set; }

So this is a test to see if the text looks normal or not.  If it is, then we’re good.  If not then we might have a problem.

Original post by m00ch


PAX ’12 Goodness

Ξ May 3rd, 2012 | → 0 Comments | ∇ Moo, PAX |

“Hi there, long time poster, first time caller.  My name is Ryan and I’m a gamer.”

PAX tickets went on sale a couple of weeks ago and I was lucky enough to get tickets ordered the first day.  I hear now that tickets are sold out for the 3 day passes.  Tough luck (

Last year was the my first year attending pax and I broke my “PAX virginity.”  This was also the time that I first met my now girlfriend and love of my life.  I’d say this is a rather big event for me now and I’m excited for this year and many years to come.

I never really posted about how last year went and thought I’d share a few stories on my blog.  Right off the bat things were kind of hectic when we rolled into town late on Thursday.  We dropped off our stuff and then headed over to a local pub for a Harry Potter pub crawl )  I spend too much money, drank too much alcohol and passed out that night.  All in all, good times!

The next day, hungover was spent attending the event and enjoying all the pretty sights and grabbing cool swag.  I got to see upcoming games and try out a few of them.  The next couple of days went like this and I saw many awesome goodies, but the one thing that sticks out in my memory was the PAXtra life party at the Fox Sports Bar & Grill.  This was when I first met my girl and I fell in love at first sight.  This year I’m definately going to be getting tickets for the party.  I’m excited to go this year with my girl!  Many a things to introduce her to and exhibits to see.  3

Does anyone else have PAX stories to tell?

Original post by mooch


Next Page »
  • Rumours and Lies