The Artistic Way of Programming

12 years back, when I started my formal classes in computer science, the first thing I learnt was “data” means “information”. A few days after that, we started conventional programming, where code and data were treated separately. For example, only data can be passed as the functional arguments. It was difficult for me to digest that “code, which is also information, is not treated as data”. I strongly felt that this will increase complexity of softwares in the long run.

A system does three things – read, transform (processing data), write. In other words – the mathematics (the transform part), and the effect of that in real life (the read/write part). The data transformation is indeed a mathematical concept, and with the help of read and write we make the mathematics (the transform part) useful to the real world. Bringing the “transform” part fully inside mathematical domain has its own benefit of using mathematics without fear (possible errors) for the analysis of the system, making the system more tractable mathematically. The catch is to treat both the elements of transformations, data and functions, equally.

Initially, code used to be bigger than the data, so sending data over the wire was feasible. But with time, data becoming huge, sending code to systems over the wire becomes the need, resting the data on the systems intact. With big data, the need of the hour is to treat the code as data, so that the code can be taken as argument to another meta function on a system having huge data which expects an algorithm for transformations.

Roughly speaking, codes are algorithms, algorithms are mathematical functions, functions are in turn actually look-up tables, i.e. data. Hence with this principle, all codes or functions are data.This is exactly the cornerstone of the functional paradigm. The functional programming is programming with functions, they treat functions and data likewise. Another principle I love, to control complexity, rules should not be complex itself.

Thumb rules rewritten for the functional paradigm:

Read-write and transformations(algorithms) should be separate.
Use immutable variables. Discourage use of reassignment statements.
Discourage side-effects (input/output or changing any variable in-place), every function should ONLY return its expected result.
Use referentially transparent functions (sometimes it is called pure functions) with no side effects, i.e. if x = y, f(x) and f(y) should be same forever.
Unit testing is a must for each function.
One of the main design patterns should be followed is to use expressions instead of instructions, i.e. it should be declarative in nature. Discourage use of loops like for/while – use recursive statements as shown above to calculate sum. Tell computers what needs to be done, not how to do it – it reduces error, especially edge cases.
With the need to control the complexity of the system and the advance design, the design pattern for the functional composition can be made to follow some basic algebraic structures, which in turn becomes more robust.

Posted in Uncategorized | Comments Off on The Artistic Way of Programming

Six Tech Trends to Know Heading Into the New Year

As we look back at 2016 and gear up for a new year, it’s smart to brush up on new trends in the legal industry. By new trends, I mean new technology, because the terms have become almost synonymous.

Technology has impacted our profession dramatically in recent years, and it continues to do so at an accelerating pace. If you’re not on the technology bandwagon, you and your firm will have a hard time staying afloat.

This fact isn’t a revelation. We’ve known for decades that success in most industries comes down to adopting new technology. But doing so in the legal profession comes with its set of challenges.

First, regulations make change difficult. Second, sometimes it’s hard to know which new products and approaches in the legal industry have value, and which are just hype.

Those challenges aside, firms that don’t embrace technology will have trouble attracting the best new legal talent. The revenue at law firms clinging to old school ways will drop off as a new generation of clients takes their business to new-school, tech-savvy companies.

What does it take to join the ranks of the new-school? There are six major trends to be aware of going into 2017.

Social networks

Social networking is the cornerstone of legal industry marketing. This fact shouldn’t be a surprise. Rainmaking has always been about networking, relationship building and word of mouth. It still is; these techniques in their offline form still build practices. But if you’re not working the online component, too, you’re at a catastrophic disadvantage. Social media has become a factor in how clients choose attorneys, according to a survey taken this year by FindLaw. In 2017, take steps to ramp up your social presence on your website and blog, on LinkedIn, Facebook and Twitter. Doing so will maximize your online presence and help you grow relationships over time.

Your clients, prospects, and leads are online and checking social media regularly. Being part of the social media landscape isn’t hard, but there are right and wrong ways to go about it. Invest in expert help this year. Set a goal to get your social marketing plan up and running in 2017.

Virtual Law Firms

These are firms that can operate anywhere: A lawyer’s home, a satellite office, even from inside a Starbucks. Many lawyers have closed their downtown offices and work remotely. Technology lets them do this without hurting service or quality. Remote work can reduce overhead and travel time while increasing flexibility and improving work/life balance. Plus, you have the option to rent offices or meeting rooms as needed.

The leap to virtual doesn’t have to happen overnight. Experiment by working remotely one day a week and see how it impacts your productivity and revenue. It may very well provide the edge your firm needs to succeed in 2017.

E-discovery

Electronically stored information (ESI) is now considered discoverable in court. ESI includes e-mails, texts, instant messages, voicemails and other electronically stored information. What you need to know: This technological reality has changed the face of litigation. Lawyers can (and should) use digital services to access all types of records. And we need to remind our clients that their deleted texts and e-mails are retrievable.

Legal process outsourcing

Outsourcing legal work to a vendor, law firm or overseas resource has become an increasingly favorable trend for law firms. Streamlined by new technology, LPO continues to cut expenses and reduce workload overflow. It can be a huge factor in scaling your business and managing workflow. LPO technology firms that market to the legal industry are on the rise. They’ll be coming after you in 2017 to present their case. When they do, listen.

Reviews and testimonials

Adding positive reviews to Google+, Yelp and Avvo is critical to growing your business and managing your reputation. 72 percent of consumers said they trusted companies more when they have positive customer reviews, according to a BrightLocal survey in 2014. The number of people reading online reviews is increasing, so take steps to post reviews in 2017. If you can’t get customers to go on record, that’s OK. According to the data, consumer trust increases even when the reviews are anonymous.

Cloud-based online document repositories provide secure, on-demand access to records for you, your clients, and your team members. You can store, organize, view, and change files.

More customers want instant gratification and access to their documents and records. It’s relatively easy to set up, makes for a better consumer experience, and can save you time from fielding emails and sending attachments. Make sure your clients have this access in 2017!

So there you have it. Six new trends that aren’t entirely new, per se, but are increasingly important as our industry ventures forth into the brave new world of 2017.

Lawyers like to err on the side of caution. Many of us are slow to embrace new technology or rock the boat. Historically, we get hung up asking ourselves whether we can afford to take such risks.

But what we need to be asking is: Can we afford not to?

At the end of 2016, the answer is a resounding no.

Posted in Uncategorized | Comments Off on Six Tech Trends to Know Heading Into the New Year

Marketing Trends To Follow

A business without marketing is like driving with your eyes closed. It’s because if you can’t tell anything about your products and services so you are not able to make a sell and therefore marketing is important in all aspects. It allowed you to know and understand the actual demand of the customer so you can sell the right products and services in a right manner that fits their need. So, what’s your strategy to stand out in the market in the year of 2017? Don’t get surprised, 2017 is around the corner and you have to tighten your belts and make a plan from now so you can win the cut-throat competition of the market and achieve all such goals which you are not able to attain this year. Content Remarketing: It simply stands for users who visited your website, but didn’t become a lead to bring them back to it. It bounced visitors into leads, increase brand recalls and effectiveness of SEO (Search Engine Optimization) and content marketing. Therefore, you must follow the content Remarketing trend in the year 2017 to achieve your target like a pro.

Mobile Website Ruling The World: Another thing you need to include in your 2017 marketing strategy is a mobile-friendly website. If you really want to rule the market and be in the each and every home so you have to switch to a mobile-friendly website. If you are not using mobile marketing to search new audience so you are actually losing all such opportunities which your competitors gain instead.

Video Marketing Is The Rising Star: Without any doubt, one good video can lead a massive social following because of people likely to watch a video instead of reading a page of text. It is an effective way of communication that allowed you to target a wider audience and therefore, you should include it in your marketing plan to win the ever-changing market competition. Storm The World By The Power Of Social Media: Social Media Marketing is about communicating with a wider audience. It allowed you to win the market and boost your position over the World Wide Web and increase your reputation.

All above points help you to make a winning strategy for the year 2017 which actually gives you the result that leads your business at a higher level. So, what are you waiting for? Make a plan as soon as it possible so you can implement it with confidence to achieve your goals.

Posted in Uncategorized | Comments Off on Marketing Trends To Follow

The Eurozone Train Wreck Continues Into 2017

The European Union seems to be trying to hold itself together, but it is indeed wobbling itself apart like an aircraft engine with an unbalanced propeller and the vibrations are getting worse reverberating from one side of the continent to the other, where no nation is spared from the challenges which await – so what can we expect in 2017 you ask?

Well, “Brexit” has already had some effect on Germany and other nations are considering similar exits from the EU, which could quicken its demise. The recent Italian vote was problematic as is the condition of the Italian banks. Remember when Greece got caught short? Do you remember in 2014 what was going on in the EU? Let me remind you quickly:

MSNBC Money “China, France drag on global manufacturing revival,” published on February 3, 2014, written by Jonathan Cable and Koh Gui Qing which stated; “Manufacturers around the world enjoyed a solid start to the year as order books swelled, surveys showed on Monday, though a struggle for growth in China and a downturn in France took the shine off the overall picture. Euro zone factories had their best month since mid-2011 and, with unemployment near record highs, increased headcount for the first time in two years. They were led by a sharp pick-up in Germany and a revival among the states on the region’s periphery. But France, the bloc’s second biggest economy, remained a drag on the region.”

As an example Greece, when they entered the EU they had a bad credit rating and any loans would of cost them a lot in interest, when they joined the EU they effectively got the same rate on loans as Germany who as you probably know are very stable in the financial sector, so Greece took loans out at low interest rates for years.

Yah, Greece has always been a financial disaster like Argentina or Zimbabwe… now it’s all gone sour they are left with huge debts and so on, Italy and Spain are in the same boat and seeing as the UK loaned ALOT of money to Spain and others we are massively exposed to the crisis. Spain for example has more empty property (new builds) than the ENTIRE USA.

Real estate tanked in Spain, we all read about that in the WSJ, few in the US realized it was that bad. In 2008 China was challenged even after their 2008 stimulus as their municipals did elaborate growth projects, building for the sake of it?

Remember the original plan for the EU was to introduce one currency (which they did) and then introduce a EURO Government to manage it, the second part never happened and now the backlash is huge, and it doesn’t really matter that the 2008 crisis started in the US. The EU wasn’t doing that well before the crisis. And we shouldn’t blame the US for the crash, let’s not forget one of the enablers was AIGs London Office selling insurance often with guarantees in excess of 130% of face value on those mortgage bundles and credit default swaps.

Yes, we have some socialists in the US and when the capitalists and socialists get together or start using each other it is as if everyone loses their brains. So, the slow-motion train wreck and Eurozone melt-down continues, who is to say if it can continue for long without falling apart, and once that engine falls off the plane, its coming in for a very hard landing. Let’s hope that doesn’t happen in 2017.

Posted in Uncategorized | Comments Off on The Eurozone Train Wreck Continues Into 2017

Top 5 Features Added in Revit

A building information modeling (BIM) software, Autodesk Revit, has been useful for architects, structural engineers, MEP engineers, designers and contractors, enabling them to design structures and buildings in 2D and 3D, as well as being 4D BIM capable. It’s first version was released more than a decade back and since then it has seen many updates and new version releases, some have been just incremental updates serving for bug corrections and some have been significant technological updates.

Compared to the 2017 update, the previous 2 editions did not provide any significant upgrade until their ‘release 2’ (R2) editions were released. The 2017 update brings about 50 new, refreshing features which will prove to be immensely useful in creating BIM models. All the new features within the update are equally important and will be useful during the life cycle of a project, but out of those let us discuss the 5 most important features from Revit 2017. 1. Text Editing:

The most awaited feature in Revit since the time it was introduced, text editor has been included in the latest edition of Autodesk Revit. This provides a completely redesigned text engine which is compatible with imported files such as AutoCAD DWG files. The text editor in Revit 2017 also brings corrections to the flaws of text editor from earlier editions and lets users seamlessly switch between text editing mode and viewing mode without causing any unexpected disruptions in text.

2. Global Parameters:

Global parameters feature which was introduced in Revit 2016 R2 version, has received a much needed update in the 2017 edition. The latest update brings in the power of parametric families into the project environment. Applying global parameters to multi-segments is possible in this version, also grouping the parameters becomes easier, as does filtering and reordering. Even though the upgrades do seem to bring a lot of additional features, they do come with their limitations, such as the parameters can only be assigned to certain system family categories and only to user defined instance properties.

3. View Template:

View template is a very simple yet powerful feature added in Revit 2017 which enables the user to share data and reuse schedules. This feature automatically updates all the schedule changes whenever they are affected within their respective templates.

4. Calculated Values in Annotations:

An essential and a long overdue feature introduced in Revit 2017 is Calculated Values in Annotations. It is a useful feature that allows the user to document projects with annotations that allow calculated values and which obey pin restrictions maintaining consistency and accuracy of the project. A tag created with calculations in it can be used with any tag type and pinned to an element allowing the user to reposition that element without actually moving the pin position.

5. Railing Host:

Railing Host or Hosted Railings, is another valuable feature introduced in Revit 2017 (SHOULD THIS SAY 2017?) along with Calculated Value in Annotations feature. With this feature it is now possible to host the railings on Walls, Roofs or Slab Edges and the railings will adjust with variations in slopes and surfaces.

There are a host of other additions and updates in Revit 2017 apart from the ones listed above. It remains to be seen what if any flaws exist during real time use or if they truly result in the enhancements promised. Although, considering the supposed flaws that may exist, Revit 2017 is a huge step forward.

Posted in Uncategorized | Comments Off on Top 5 Features Added in Revit