printm3d – my first 3D print

Main menu:

Topics

Recent Posts

Feeds

RSS Feed RSS - Posts

April 2017
M T W T F S S
« Mar    
 12
3456789
10111213141516
17181920212223
24252627282930

Past Posts

Java/Java EE

JDBC

Other

printm3d – my first 3D print

March 25th, 2017 by Jeanne Boyarsky

I tried to buy a Tiko on kickstarter. I liked that it was lamp shaped and small. Aka apartment friendly. After the Kickstarter was cancelled, I bought a M3D micro printer. It’s an eight inch cube so still apartment friendly.

Set up was easy. You download the software from the website. It runs on Windows, Linux and Mac.  Once you download, it says it is beta software, but it works. My only complaint is they don’t sign it will. I chad to do “control open” on my Mac because it said the software was from an unidentified developer.

You have to plug the #D printer into your computer. I’m using the printer box as a little table and sitting on the floor so I can do this near the window and near a power outlet. This setup is decent unless I want to code while I’m printing :).

The printer verifies you removed the gantry clips and guides you through inserting the “ink.” This took me three tries. The first time no plastic came out. I think I didn’t shove it in hard enough. The second time, some white plastic came out then the color I inserted did. However, it came out in a bubble. The third try worked.

The manual shows a hook for loading the plastic externally. This hook doesn’t come in the box so you have to either print it or buy it online. It takes 4-5 hours to print it yourself. I’ll get around to that.

The manual also implies sample models are available in “recent models”. This didn’t happen for me so I had to download from the internet. I like that you can easily change the size and quality of your model. And that it tells you the print length before you start. I also like that it tells you the percentage complete down to the hundredth of a percent. Feels like progress!

Now to try to make something of my own! My second 3D print.

dealing with three hours of jet lag

February 22nd, 2017 by Jeanne Boyarsky

Some time ago, I shared my technique for dealing with jet lag between New York and California/Vegas (three hours). This strategy doesn’t work as well for more disparate time zones. The strategy actually changes depending on whether it is a work trip or vacation. Anyway rather than reply in a private email, putting it on the blog.

New York to the West Coast – work trip

I like to fly early in the day where possible so I have more time to enjoy being in the destination city. On a six hour flight, you spend a full day traveling, but can take a nap on the plane. I try to take an hour nap so I can stay up later. I don’t always get the nap in, but I do stay up.

When I arrive, I try to keep busy whether it is walking around or seeing stuff or even working. I make sure to eat extra. I make sure to have a light mean/snack late in the day. Even if my flight arrives late, I eat something when I arrive. I also ensure that I don’t go to sleep before 10pm; ideally closer to 11pm.

Ten pm doesn’t sound late. But your body thinks it is 1am. And has spent the day traveling. (and in my case got up early to get to the plane). The key to forcing the staying up is to “reset” so you wake up at a normal time in the local Pacific time zone. Knowing I’m going to get up at 7 or 8am for work means 10-11pm is a good time to fall asleep. In ensures I won’t be up at 4am! The light snack serves the same purpose. Without it, I wake up in the middle of the night because my stomach thinks “Breakfast!”. I try to tell it to go back to sleep and it keeps telling me “No; Breakfast!”. My eating the snack, my stomach doesn’t wake me up.

Getting up at a good time locally means my body is in sync for meals local time. And that I won’t be tired to go out after work with people.

Flying home to New York – work trip

I’m able to sleep on the plane so I take the red eye home. This also lets me do something in the destination city before flying home. I get 5 hours of sleep on the plane. This is enough so I sleep another 2-3 hours when I get home. If it is a work day, I can still work the afternoon. I don’t feel the same way as if I slept in my bed. But it’s enough for one day. That night, I make sure to go to sleep a little earlier to catch up.

New York to the West Coast – vacation

For vacation, I always fly early in the day and arrive around lunchtime. Same thing; I make sure to either eat a lot (like a buffet) or use the above technique about a snack.  Just like work, I make sure not to go to sleep too early. Then the next day, I sleep until 7:30/8:00 am. It’s a little harder when visiting family because someone who lives in California isn’t going to want to be up at 7:30. I make sure to keep my iPad within reach of where I am sleeping so I can always read. (not a book because the light isn’t good enough to read.) This works well.

Flying home to New York – vacation

This is the exact same technique as for work. Red eye plus nap. It’s harder from Vegas because the flight is an hour shorter. Still worked though. And for vacation, I can plan to have the day off. Sometimes I work half a day anyway because i don’t want to use as much vacation though.

 

 

find and replace in adobe acrobat reader … or java 8

February 19th, 2017 by Jeanne Boyarsky

Scott and I are doing final edits of our OCA 8/OCP 8 Practice Tests book. We wanted to use parens after method names in the explanations. I noticed that I missed two in an early chapter so wanted to do a search in Adobe Acrobat reader for “main method”. Unfortunately Acrobat ignores the parens so “main() method” matched too.

Rather than figure out how to do this in Acrobat, I just coded it.

Path path = Paths.get("test.txt");
Files.lines(path)
.filter(l -> l.contains("main method"))
.forEach(System.out::println);

Broke up the reading/editing with some code too 🙂