Skip to content

Month: June 2015

Web App Security- It’s For More Than Just Your App

Web apps built with the traditional tools (HTML, JavaScript, CSS, etc.) are nothing more than a series of text files and thus not very secure. Once a hacker gets into a server, they can steal your code or modify it. One big advantage web apps built with Xojo have is that Xojo compiles your app to machine code so there’s no code on your server to steal. Additionally, the overwhelming majority of hackers have no experience with machine code, so modifying your app to do something nefarious can be extraordinarily difficult.

Comments closed

Testing The Compiler

Over the course of the last year, there have been a huge number of changes to the Xojo compiler (just under 800 commits). We made large refactorings, like rewriting how unqualified name lookup works. We fixed around 35 bugs, some of them dating back years. We added major new features to the language, including ‘Using’, Iterators, and new data types. To top it all off, we shipped support for a completely new platform, iOS, and then met Apple’s deadline for building 64-bit iOS apps.

And after all of that, we ended up with around eight regressions in the compiler. While not the perfect zero, I think this is just as impressive as the changes themselves.

Comments closed

Is the NSA going to get you to switch to DuckDuckGo?

Last October, I wrote a blog post about how vulnerable Google is in its search business (the overwhelming source of its revenue). I realized this vulnerability after discovering that another search engine, DuckDuckGo, was started for less than $10 million, has equivalent search results, a clean looking interface and a low cost of switching. I’ve been using DuckDuckGo for over 8 months now, I didn’t make the switch from Google for privacy reasons, I simply liked the cleaner interface, but I’ll be honest and say that the privacy it offers is something I appreciate. Apparently, I’m among a growing group of savvy searchers.

duckduckgo2.png

Comments closed

#Learn2Code: Xojo For Students of All Ages

I get a lot of questions about Xojo from students of all ages- from 10 year-olds to university students and others who want to learn to program- so I thought I’d gather all the resources Xojo has to offer for students.

Can I learn to code in Xojo for free? Yes!

Do you have free books on Xojo? Yes!

Can I ask Xojo my beginner questions? Yes!

The Xojo language is Object-Oriented, which is a great way to learn the fundamentals of computer programming. In addition to being cross-platform, Xojo is a Rapid Application Development tool, which makes it easy for you focus on developing your app rather than learning multiple languages.

road-sign-798175_1280.jpg

Comments closed

Casting about in both 32 and 64 bit worlds

Consider the following code:

dim i64 as Int64 = 1234567
dim i32 as int32 = 7654321

i32 = Int32(i64) // cast
i64 = Int64(i32) // cast

i32 = Ctype(i64, Int32) // convert
i64 = Ctype(i32, Int64) // convert

It all seems reasonable enough. Not useful, but seems reasonable. Only one problem. It won’t compile. Why not? The two casts to int32 and int64 will fail. Now why is that?

Comments closed