|
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 ...
|
|
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 ...
|
|
I’ve recently been playing with Kubernetes as way to efficiently host my microservices. It’s great and I’m really enjoying it. One thing that did take me by surprise is that Containers, by default, have credentials mounted which allow them to talk to the cluster API. This is incredibly useful for pulling information about other services, secrets or enabling self-orchestrating/scaling services, however, for the services that don’t need t..
|
|
The for loop is one of the most powerful constructions in the C language. It consists of three different parts. The first one is initialization, performed exactly once at the beginning of the loop. The second one is the conditional part, called every time before the loop body. The last one is the increment part, executed on every iteration right after the loop body. Such a loop combines both, linear code and branching in a very customizable..
|
|
Context I need to query my database through SQLAlchemy to generate reports and add results to the website. Postgres and SQLAlchemy ¶ Querying in sqlalchemy is taking some time to grok. Most of the examples showed something like this: ''' Tables already created using sqlalchemy models and filled with data. ''' from sqlalchemy import * r = session.query(Table).filter(Table.name=="test").first() This doesn’t really work for me. I ha..
|
|
The for loop is one of the most powerful constructions in the C language. It consists of three different parts. The first one is initialization, performed exactly once at the beginning of the loop. The second one is the conditional part, called every time before the loop body. The last one is the increment part, executed on every iteration right after the loop body. Such a loop combines both, linear code and branching in a very customizable..
|
|
Update, July 24, 2026: JavaScript builds are now open source, available on every account tier, and buildable locally without a Codename One account. The original post and archived comments below are preserved as published. See the current announcement . As you may have already read, we have just added support for Kotlin in Codename One. In this post, I elaborate on some of the behind the scene work that was involved in bringing Kotlin..
|
|
I got a question the other day about a UI design for an upcoming Codename One app. In this UI the title floated on top of the content as the content scrolled past and tabs were a part of the title area in the style of material design. Our tabs component predated material design by many years and wasn’t designed for this sort of UI. When you scroll out of a tab it scrolls out. Using it for this sort of UI doesn’t make much sense. The solut..
|
|
RTMP video provides a means for video playback with ultra-low latency. However, most players will maintain a (small) buffer, so you may still see latency of a few seconds. If you're wanting to test the latency imposed by the delivery layer, you'll probably want to factor out the players latency. With ffplay you can do so by reducing the probesize and telling the player to use the external clock for sync. These are not production values,..
|
|
Prelude If you want to put this post in some better context, I suggest reading the following series of posts, which lay out some other fundamental and relevant design principles: Language Mechanics On Stacks And Pointers Language Mechanics On Escape Analysis Language Mechanics On Memory Profiling Design Philosophy On Data And Semantics In particular, the idea of value and pointer semantics is everywhere in the Go programming la..
|
|
It’s been six months since the last Remacs update, and many new features have landed! Community We now have a Gitter chat room ! Do drop by if you have any questions or wish to discuss Remacs. There’s a low traffic Remacs Subreddit too. We’ve added @jeandudey and @birkenfeld to the GitHub collaborators, bringing us to five fine people who can approve your pull requests. Elisp Features We’re still tracking upstream GNU Emacs master,....
|
|
One of the interesting additions to Swift 4 is the Codable protocol and the machinery around it. This is a subject near and dear to my heart, and I want to discuss what it is and how it works today. (Read More)
|
|
Friday Q&A 2017-07-14: Swift.Codable Friday Q&A 2017-07-14: Swift.Codable One of the interesting additions to Swift 4 is the Codable protocol and the machinery around it. This is a subject near and dear to my heart, and I want to discuss what it is and how it works today. Serialization Serializing values to data that can be stored on disk or transmitted over a network is a common need. It's especially common in this age of alw....
|
|
When we first were given access to Splunk we were excited about all the functionality it could provide our team to help us monitor and debug our applications. We created alerts to email us if our applications are logging errors, dashboards to show health or metrics of our services, and field extractions as well as tags to make searching easier. As we created more and more of these Splunk knowledge objects we started to have issues.
|
|
Correctly applying architecture patterns to what you’re building, based on the problem being solved isn’t talked about much. Having mostly written scripts in the past, building a module requires a lot more thought upfront . For example, when writing a method, what sorts of inputs do you want to allow for, vs. already having some of those inputs as part of the method. SOLUTION A def clean_report(report, list_of_column_to_drop, dict_of_co..
|
|
It's finally happened. I did a proper JavaScript thing. Now before you start to judge me, let me clarify that although I've never written a JavaScript post…
|