Showing posts with label 7. Show all posts
Showing posts with label 7. Show all posts

Friday, October 28, 2016

Shed Skin 0 7 1 Help needed!

Shed Skin 0 7 1 Help needed!


I have just uploaded the tarball for Shed Skin 0.7.1, which fixes several important problems in 0.7, and adds a few minor features. The Windows version and hopefully the Debian/Fedora packages will follow shortly. As usual, please see the release notes for an overview of all the changes.

There arent any major new features, because I havent received much feedback since 0.7. Please let me know if you run into any problem, so it can be fixed, or if you know of some interesting program I could play with! Id also like to take this opportunity to ask for some help in specific areas.

Excitingly, Thomas Spura was able to get Shed Skin 0.7 accepted in the Fedora repositories! :D Thanks to Thomas for that! Inspired by this, Id like to hear from anyone who might be interested in assisting/motivating Paul Boddie to get his Debian package accepted in the Debian/Ubuntu repositories. I think if it got past the scrutiny of the Fedora people, this shouldnt be too hard.. :-)

I would also really appreciate to see some description of Shed Skin on Wikipedia (again), because I think it deserves this, especially since the scalability improvements in 0.6. But also of course because it sends lots of users to the homepage. If youd like to work on this, please see this thread with links to independent blog entries and even a book that describe or benchmark Shed Skin. For a summary of how the type inference part works, please see my recent 0.7 announcement.

Since a while, inspired by the LibreOffice project, there has also been a page in the Shed Skin wiki that lists some easy tasks that one could try and tackle, to hopefully make it easier to start contributing to Shed Skin. I try hard not to fix these problems myself, in the hope someone else will pick them up.

update: I just added another great new example to the 0.7.1 tarball, a quantum monte carlo simulator by Mark Dewing. shedskin takes about 10 minutes on my PC to analyze its 1,200 lines of code (sloccount).


Shed Skin 0 7 1 Help needed!

Wednesday, October 26, 2016

Shed Skin 0 7 Type Inference Scalability

Shed Skin 0 7 Type Inference Scalability


I have just released version 0.7 of Shed Skin, a (restricted) Python-to-C++ compiler. The new version comes with lots of minor fixes and some optimizations, as well as a new Windows package. The Windows package was upgraded to a recent version of MinGW, which means it now includes GCC 4.5. I hope to package each new release for Windows again from now on.

There are also two nice new examples, one of which is over 1,000 lines (sloccount), for a total of 52 examples. Both are ray tracers, and its always nice to look at the output of ray tracers. The larger one has a GUI and uses the multiprocessing module in combination with a Shed Skin generated extension module to do its heavy lifting. The other one uses a very slow but more realistic ray tracing technique, for a very nice result. Thanks to Eric Uhrhane and Jonas Wagner for sharing their programs!

Id like to take the opportunity to talk a bit about type inference scalability. This graph shows the time Shed Skin needs for each of the current examples (seconds versus sloccount; the point on the right is the C64 emulator). I have to mention that two examples are left out here, because of a non-termination issue - that is, Shed Skin aborts after a certain amount of iterations. The reason I havent looked into fixing this issue yet is that they do compile and run fine after Shed Skin aborts, because the type analysis is already precise enough at this point (though it takes some time). Precisely because of that, I dont think this issue would be hard to fix.

So while the current type analysis is obviously not perfect, I think this graph shows that type inference may not be all that hard as some people would have thought, at least for statically restricted code (the restriction does make it easier!). And Im sure a team of programmers or someone smarter than me could do a much better job.

For those with some knowledge of the type inference literature, Id like to explain at this point how Shed Skin achieves this scalability. Who knows this might be useful to people starting out in this area. It is actually quite simple conceptually (but dont think you can implement this correctly in a few weeks or even months for a large language such as Python!).

Shed Skin combines Ole Agesens Cartesian Product Algorithm (CPA) with the data-polymorphic part of John Plevyaks Iterative Flow Analysis (IFA), both published in 1996 if Im correct, and as suggested by Agesen. Because the CPA algorithm has a the tendency to explode for larger programs (usually in combination with the first, very imprecise iteration of IFA), Shed Skin 0.6 adds an incremental approach to the mix. It simply repeats its analysis for increasingly larger versions of a program, starting at nothing, essentially, and slowly adding to the callgraph until the whole program is analyzed. This seems to greatly avoid the CPA from exploding.


Shed Skin 0 7 Type Inference Scalability

Monday, October 10, 2016

7 queries you wish to understand Before mistreatment Shed Plans

7 queries you wish to understand Before mistreatment Shed Plans


For the novice builder its important that you simply have everything in situ before you begin any project. after all the most effective thanks to try this is to possess a action set up. therefore you have got determined, you would like to create a shed employing a set of plans. Then initial wed like to place your action set up into place, and begin by listing a series of queries youll want answered before you even begin construction.

1.What does one really want the shed for?
To start with youll be thinking its planning to be accustomed store simply the garden instrumentality. suppose exhausting regarding this. Is it planning to find yourself being a family shed? In different words, area unit the youngsters planning to wish to store their sporting goods in there? Or is that the mate planning to notice a brand new place for the Christmas decorations, in your shed? therefore create a tough and quick rule of what the shed are used for.

2.What size does one wish it to be?
Now you recognize precisely what its planning to be used for, which will offer you the scale that you simply area unit planning to wish. Don’t forget to set up for the long run. If its restricted to garden outside things, youll presumably be adding to your assortment over successive few years, therefore you don’t wish to possess to create a shed everywhere once more.

3.Where area unit you planning to place it?
You need to work out once is that the best place for it. its to be some place accessible, while not walking through your flowerbeds. most likely tucked away therefore it doesn’t interfere along with your landscaping. once more consider the long run, you don’t wish to possess to maneuver it.
Now is the world you have got assigned for it and also the size of the shed you would like compatible? If not then there has got to be a compromise, either within the house or the scale.

4.Does in got to be insulated, waterproof, or open?
If youre in a very four season climate then you wish to make your mind up what seasons you wish the shed to be able to stand up to the foremost.

5. does one need a building permit?
Know what your native by-laws area unit for building a shed. It wouldn’t be nice to induce your project finished ,and then have town officers return on and tell you to require it down. unremarkably you won’t want a license if you keep inside a particular size, however if you have got determined to travel larger than what’s allowed, youll got to submit building plans for approval.

6.Now one in all the foremost necessary queries, whats your allow this project?
Everything you have got determined up to nows dependent on your budget. Its styles of troublesome to line a budget after you haven’t determined the value of materials nevertheless. Its your budget that’s planning to assist you once it comes time to induce your building shed plans.

7.Where must you get your plans for building a shed?
You have immeasurable answers currently. the aim, the size, the budget, and currently to answer the ultimate question. For this youll got to check up on what resources area unit out there to you. Your native home hardware and building center, home planners, and after all the net.
MyShedPlans Banner 300x250


build a shed,build shed,build shed plans,building a shed,free shed plan,free shed plans,free woodworking plans,garden shed,garden shed plans,garden sheds,garden storage shed,garden storage sheds,my shed,outdoor shed,outdoor storage sheds,plans for a shed,plans for shed,plans for sheds,plans to shed,shed blueprints,shed building,shed building plans,shed plan,shed plans,shed plans free,sheds plans,storage shed,storage shed plans ,storage sheds,wood shed,wood shed plans,wooden garden sheds,wooden shed,wooden sheds,woodwork,woodworking,woodworking plans,woodworking projects,MyShedPlans Review for build shed plans elite,Using Shed Kits Instead Of Building a Shed From Scratch,How To Get Free Shed Plans and Blueprints,Choosing a Proper Outdoor Storage Shed Plan For Your Garden,7 queries you wish to understand Before mistreatment Shed Plans,How To Build A Shed In 10 Steps - Outdoor Storage Shed,  MyShedPlans Review


7 queries you wish to understand Before mistreatment Shed Plans

Saturday, October 8, 2016

My Friday Five Week 7

My Friday Five Week 7


Ok are you ready for some terrific Pinterest inspiration?  I have found some projects specifically centered around the one Christmas "craft" that I have not mastered (well, actually, there are many Christmas crafts that I have never tried - but this one is just way too complicated for me).  What am I referring to?  What is so difficult?  The Gingerbread House.  Yes, thats right.  I. Can. Not. Make. One.  I have even bought the kits to do with my kids - because they really want to make a cute little house - but it never works.  I cant seem to "glue" the sides together or make the roof stay on.  It is usually a disaster.  I see them all over the place, and I tell myself I can do it.  But I cant.  So I pinned some really cute ones on Pinterest to enjoy.  And thats probably the best its going to get in this house.  Want to take a look?  Lets get started.




1.  I HAVE to start with this stunning house - 


Seriously?  I could move in.  And it seems to already have working lights.  Barry from Rock Recipes just threw this together.  Really.  He designed the whole thing.  I cant even get the little A-frame working. But maybe with a little more practice...  By the way,  you should really check out all of the other gorgeous houses he made.  So completely impressive.


2.  Lets step back down to earth now with a beautiful house that probably you can make (yeah, Ive really given up) - 


I am loving how different the decor is.  The red and white is beautiful!  If you can put together a standard gingerbread house, you can make this.  Sometimes, I have trouble thinking outside of the box.  But this house makes me realize that a gingerbread house can be decorated any way you want.  If you have a certain color scheme, you can tailor the house to fit.  It doesnt have to be covered in multi-color candy.  Take a look at Jennys blog - Turnip Greens and Sweet Tea for more inspiration.


3.  How about tiny houses for your coffee mug?  Megan from Not Martha made the cutest little houses (that I know I cant replicate...)-


These are crazy good.  Can you just imagine your morning coffee with these houses sitting on your mug?  So festive!  And dare I say fancy?  Yeah, I think I just said it.  Love them.


4.  How about a house thats not made with gingerbread?  What about using graham crackers instead?  Thats what Karin from Made By K did-


If you head over to her blog, you can see step by step instructions of this cute house.  And I like the ice cream cone tree (maybe I could make that - baby steps).  This is a clever twist on the traditional house.


5.  Ok, lets try one that even I could probably make - 


A cardboard playhouse - decorated like a gingerbread house.  I could totally do this.  This involves more painting and less structural baking.  Yay!  Laura from Come Together Kids found a cardboard house kit and painted it with her kids (I had no idea they made house kits - I always just gave my kids old boxes.  I guess times have changed).  Anyway, I love this idea.  And what a great way to let the kids join in the fun!  

Oh and I have an early Christmas gift for my readers - an EXTRA Pinterest find - so I guess its technically My Friday Six.  Which doesnt have the same ring to it. So dont expect it every week.  But Im in the giving mood today.

6.  Gingerbread house cupcakes - 


I know these are out of my league, but I loved them. I found these at Bake it in a Cake.  Can you imagine sending these to school for your kids class holiday party?  The other moms would be in awe.  What a great idea - so cute.

Are you inspired yet?



My Friday Five Week 7