Tag: Programming

Premature Optimization, is the root of all evil!

In DonaldKnuth’s paper “Structured Programming With Go To Statements”, he wrote: “Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually have a strong negative impact when debugging and maintenance are considered. We should forget about small efficiencies, say about 97% of the […]

Python Advanced Tutorial 6 – Networking

See more awesome tutorials about Python on DrapsTV Channel

VB.NET: How to prepare a string for valid file name

If you are going to use an input text as a file name, you have to check if the string is an acceptable one. User inputs are the most important points of programming. If you don’t check them well enough, users will blame your software for not working. In this post, I will show you […]

Mapping shared folders as network drives using VBsript

If you are working on a file-server, you will need a better way to share folders: that is Network drives. In our design office, We are using a shared folder on our file server.

Batch: Backup folders using Winrar

Using a DOS batch you can easily schedule daily or weekly backups on your computer. Here i will show you how to create an automatic folder backup system using Winrar(r) & DOS batch.

LspCleaner 1.1.2

LspCleaner is a small application to clear lisp files on your computer. This new version shows a detailed report with the file count that is affected and paths of the files. You can get the latest version of LspCleaner here.

New Project : DraftCheck

This simple software gives you displacement value for draft readings abaft, and fore side. All it needs is a hydrostatic values table, positions of draft marks, and density used in hydrostatics calculations. Software automatically calculates trimmed and heeled positions using linear interpolation.

How to modify a control using its name in vb.net

To achive this we can simply use Find method of ControlCollection Class: For each txtBoxName in draftTextBoxes Me.Controls.Find( txtBoxName , True)(0).Text = ShipData.DesignDraft Next draftTextBoxes should be a string collection, holding names of text boxes to modify.

How to clean acaddoc.lsp virus from your pc

This article is obsolete. Check out my lisp removal software Lisp Cleaner for a better and easier solution. Actually acaddoc.lsp is not a virus, it is a worm depending on autocad lisp routines. All it does is copying itself in every folder you open a drawing. I created a lisp routine to clean all the […]

Acaddoc.lsp virüs temizleme lisp programı

LspCleaner 1.2 Acaddoc.lsp dosyalarına kesin çözüm için Lisp Cleaner‘ı deneyin. Son zamanlarda özellikle paylaşıma açık yerlerde saklanan dwg dosyalarından bulaşan acaddoc.lsp virüsü, son derece zararsız bir virüs olmasına karşın gayet sinir bozucu olarak tüm klasörlerinizde boy göstermeye başlar.

Using xcopy to update/backup your working folders

xcopy is one of the most powerful dos commands. It is mainly used for copying files, but arguments create a monster of it :P To use xcopy to update a folder  from another you need to use : xcopy H:somefolder*.* C:updating /s/d/y/h/r