|
Hopefully by now, most of you have had a chance to try out the new GUI Builder – specifically the new “auto layout” mode that allows you to position components with much greater precision than before. For this blog post, I have prepared a couple of video tutorials to walk you through the creation of a Sign In form using the GUI Builder. I have taken the existing Sign In demo project as a basis, but I’m re-doing the UI, which was originally ..
|
|
Problem: Express a boolean logic formula using polynomials. I.e., if an input variable $ x$ is set to $ 0$, that is interpreted as false, while $ x=1$ is interpreted as true. The output of the polynomial should be 0 or 1 according to whether the formula is true or false as a whole. Solution: You can do this using a single polynomial. Illustrating with an example: the formula is $ \neg[(a \vee b) \wedge (\neg c \vee d)]$ also known as
|
|
Problem: Express a boolean logic formula using polynomials. I.e., if an input variable $ x$ is set to $ 0$, that is interpreted as false, while $ x=1$ is interpreted as true. The output of the polynomial should be 0 or 1 according to whether the formula is true or false as a whole. Solution: You can do this using a single polynomial. Illustrating with an example: the formula is $ \neg[(a \vee b) \wedge (\neg c \vee d)]$ also known as
|
|
Problem: Express a boolean logic formula using polynomials. I.e., if an input variable $ x$ is set to $ 0$, that is interpreted as false, while $ x=1$ is interpreted as true. The output of the polynomial should be 0 or 1 according to whether the formula is true or false as a whole. Solution: You can do this using a single polynomial. Illustrating with an example: the formula is $ \neg[(a \vee b) \wedge (\neg c \vee d)]$ also known as
|
|
My first foray into software development when I was a kid was as a web developer. I don’t admit this to many people, but the first language I ever learned halfway decently was PHP. I led a confused childhood. After that, though, I was introduced to Ruby on Rails, and I’ve been using it ever since. I don’t do web development professionally anymore, but I have a number of web-based side projects, making websites for friends or family.
|
|
I hoped to finish migrating all of the material from the original bootcamp to the new courses but got delayed due to external influences. There isn’t much left so I’m sure I’ll be done with the existing modules in early August and get started on the first of the new modules. If you haven’t kept up I added a lot of modules over the past few weeks covering a very wide set of subjects such as animations, tablet support, cloud server setup ..
|
|
Poor Visual Studio code generation for reading from and writing to member variables
-
www.forwardscattering.org
-
9 years ago
-
eng
I spend quite a lot of time trying to write fast code, but it is something of an uphill battle with Microsoft's Visual Studio C++ compiler. Here is an example of how MSVC struggles with member variable reads and writes in some cases. Consider the following code. In the method writeToArray(), we write the value 'v' into the array pointed to by the member variable 'a'. The length of the array is stored in the member variable 'N'. clas....
|
|
I’ve got an Asus C301S at work, it’s a Chromebook with Chromeos. I like those little laptops, for the price it’s actually a very good little machine. ChromeOS is responding very well, ssh and Chrome are working too. But I often need more, like X11 forwarding or offline coding … You will see the C301SA is marked as a C300SA internally. Here are the steps to install Arch Linux on it, do it at your own risk, you can brick your computer, you wi..
|
|
Fractional Padding/Margin, Rounded Border, Ripple, Caps, Google Connect
-
www.codenameone.com
-
9 years ago
-
eng
We’ve been very busy the past few weeks despite the summer time but August is always problematic, I will personally take some time off from the blog next week and near the end of August. To allow that I want to clear my table from a lot of the features that went into Codename One over the past couple of weeks and didn’t get sufficient or any documentation…
|
|
Intel and their x86 computing architecture have pretty much dominated the computing industry since the late 1980s. In other words, nearly all computers that you’ve used at work or home for the past three decades have used Intel’s proprietary x86 (and later, x64) CPUs. The Intel 80-386 running DOS and Win3.1 won the PC wars by the early 1990s. Then came the Intel 80-486, Pentium, Pentium II, Pentium III, Pentium IV, Core Duos, Core i7s, a..
|
|
Intel and their x86 computing architecture have pretty much dominated the computing industry since the late 1980s. In other words, nearly all computers that you’ve used at work or home for the past three decades have used Intel’s proprietary x86 (and later, x64) CPUs. The Intel 80-386 running DOS and Win3.1 won the PC wars by the early 1990s. Then came the Intel 80-486, Pentium, Pentium II, Pentium III, Pentium IV, Core Duos, Core i7s, a..
|
|
In the winter, I get questions about how I deal with the cold. In the summer, I get questions about how I deal with the heat. Being the more agreeable seasons, spring and fall are generally less concerning to people. I’ve talked about dealing with the cold already. Just throw on a few of your favorite layers and cozy up with a comfy blanket. But winter is so last season. With Bay Area temperatures occasionally reaching triple..
|
|
In the winter, I get questions about how I deal with the cold. In the summer, I get questions about how I deal with the heat. Being the more agreeable seasons, spring and fall are generally less concerning to people. I’ve talked about dealing with the cold already. Just throw on a few of your favorite layers and cozy up with a comfy blanket. But winter is so last season. With Bay Area temperatures occasionally reaching triple..
|
|
SimCity Cartridge How does a city work? Why does building a Police Station not reduce crime some times? Will you get elected as Mayor of your own town next year? Find out in this addicting game as you build for hours. First Impressions The push of a power switch and the sweet sweet sound of 16-bit music fills the air. As the music plays, I am starting to get excited about what is about to come… Wait What?! The intro theme is only 8 mea..
|
|
Context Going back to the drawing board, I realized that I complicated matters by involving a database. Defining a schema was harder than I thought. I finally settled on the following for displaying inventory. Schemas ¶ I decided I would manually create tables for: color finish location thickness To determine whats in stock, I would pull a report from the inventory management system, then compare it to the colors table. If the repo..
|
|
A couple of weeks ago I had the genius idea to rewrite SnailLife in Go. I’ve already looked into doing this once before a couple of years ago, but wasn’t really feeling it and stuck with PHP (mostly for nostaligia reasons). Now though, SnailLife is this bloated PHP app. Most of the core functionality is in. After weeks of battling infrastructure issues, when everything was back up and running again, I took a step back and saw how big the ap..
|
|
There are many threats—and opportunities—facing businesses in this age of digital transformation: industry disruption from nimble startups, economic pressure from massive digital platforms, evolving security threats, and emerging technologies. Today’s era, in which all things are possible, demands a distinct style of leadership. It calls for bold individuals who set their company's vision and charge ahead in a time of uncertainty, ambiguity..
|
|
Serverless v1.18 - Request parameter support for Lambda Proxy, default value for plugin options added
-
www.serverless.com
-
9 years ago
-
eng
Support for request parameters when using Lambda Proxy integration and more added in the Serverless Framework v1.18 release.
|
|
The command will output where keyframes exist within the input video. Useful to know when trying to segment for HLS etc, or troubleshoot playback issues Read more…
|
|
The command gets curl to request a page and then write out a CSV delimited line giving details of the time it took to complete various stages of the request, including how many redirects were followed etc. Read more…
|
|
Tutorial – Localization and Internationalization (i18n/l10n)
-
www.codenameone.com
-
9 years ago
-
eng
Localization and internationalization are probably some of the most important features for a modern app. Most frameworks tuck on localization as an afterthought as authors of such frameworks are often born in the states… Codename One integrates localization, deep into the framework. It becomes transparent and invisible… We plan to make a lot of enhancements to the localization process which is why I was hesitant on releasing this update..
|
|
Context Still having some trouble wrapping my head around sqlalchemy’s orm, putting things into postgres and then querying it. The flow isn’t clear to me yet. Querying ¶ # Automaps the database here. d = sps.Database() # Tables are available in the classes property Inventory = d.base.classes.inventory # Creates a list of sqlalchemy object with all the rows (that's how my query_all method is implemented) data = d.query_all(Inventory) # ..
|
|
Wilbur Wright was airborne for 12 seconds when he piloted his first powered aircraft flight. He covered 120 feet above a windy beach in North Carolina. The descent cracked the skid under the rudder, but the landing was otherwise smooth. How far we’ve come! Aircraft today are sophisticated digital and mechanical systems. Despite leaps and bounds in progress, they still break. And that’s hardly a surprise. Planes cart passengers to all corner..
|
|
Last week I wrote about the effort of revitalizing the native themes in Codename One and I’m not sure if I got the point across as I would have liked it. So this week before I go into the changes and work we’re doing I’d like to take a step back and explain how everything works and why we need a native theme… __ To implement the features this week we made some big changes check out the section titled changes for the gist of this… ..
|
|
It's been four months since the last post about my personal projects and endeavours. These past months I've been following, slowly but steadily, on the activities I had set the pace for previously.
|
|
back to Flying RC Vehicles overview Not being totally happy with the power available with my 2S xyAurora90 I decided to build a 3S Aurora100 in July 2017. The total weight with a 3S 450mAh battery is around 131g. Here are some recordings of the FPV footage. Be aware that these videos are recorded from the received signal on the ground. Not only can you see lots of interference and other HF problems, the loss of quality....
|
|
The Ultimate Guide to JavaScript Fatigue: Realities of our industry
-
lucasfcosta.com
-
9 years ago
-
eng
Complaining about JS Fatigue is just like complaining about the fact that humanity has created too many tools to solve the problems we have, from email to airplanes and spaceships. Last week I've ...
|