|
After my previous post, I thought it would be interesting to run some experiments to determine the unspecified drop order within different constructs of Rust. After you read this, I guarantee you will understand why there is so much discussion about changing the current drop order before stabilizing it :) TLDR: the current drop order is really weird! In this post we are going to look at: Local variables Tuples Structs and enums Slices Closu..
|
|
When researching snaps, one of the main advantages everyone talks about is the fact that they’re transactionally updated. That is, an upgrade either succeeds or fails, it doesn’t leave the snap in a broken state. If you have snap “A” installed and an update for it is released, it’ll automatically update. If that update is somehow broken, the snap will roll back to the previously-working revision. However, no one has really talked about how ..
|
|
We’ve had quite a few interesting features land last week and didn’t get a chance to cover them. First we have access to the OS’s caches directory where you can store files that you don’t really need as cache. Both iOS & Android have such a directory and files stored there might be purged without notice if the OS runs out of space. This is a good place to store files you don’t really need such as images or downloads you just need for ..
|
|
A frequent complaint we get is the lack of a search feature on the site and we get that. It’s frustrating to us too. We’d like to add it but are still looking at the “right way” to do it which I’ll discuss at more length below but for now I’d like to discuss a couple of relatively simple workarounds. The Current Workarounds Google Site Search We can just type site:codenameone.com followed by your query into google when searching to se..
|
|
A Report from the weeds So I've been trying to learn The Elm Programming Language , which is a language/architecture for building browser applications. The core ideas have been adopted into react and redux and I consider Elm to be taking the ideas deeper than you can do while still in JavaScript. So elm actually gives you a totally new programming language supporting static types, pure functional programming, and immutability in a high-in....
|
|
A Report from the weeds So I've been trying to learn The Elm Programming Language , which is a language/architecture for building browser applications. The core ideas have been adopted into react and redux and I consider Elm to be taking the ideas deeper than you can do while still in JavaScript. So elm actually gives you a totally new programming language supporting static types, pure functional programming, and immutability in a high-in....
|
|
So as you have probably learnt and been frustrated by, JSON does not officially support comments. This, as I understand it, was done intentionally by JSON's creator Douglas Crockford to prevent abuse of comments for non-standard metadata. Be that as it may, and it may make sense for a data interchange format, JSON is used for configuration files commonly and the lack of comments can be frustrating. Here's some hacky tricks I sometimes use. ....
|
|
So as you have probably learnt and been frustrated by, JSON does not officially support comments. This, as I understand it, was done intentionally by JSON's creator Douglas Crockford to prevent abuse of comments for non-standard metadata. Be that as it may, and it may make sense for a data interchange format, JSON is used for configuration files commonly and the lack of comments can be frustrating. Here's some hacky tricks I sometimes use. ....
|
|
Some days ago I stumbled upon an old issue on Rust’s GitHub repository. While the title of the issue is “should struct fields and array elements be dropped in reverse declaration order (a la C++)”, the discussion also extends to whether the current drop order should be stabilized. Surprising as it may seem, drop order in Rust is unspecified and could theoretically be changed in the future. However, there are use cases that require enforcing..
|
|
Do libraries and frameworks prioritize components on boot? If so, how, and if not what can we do? And, in exploring that question, I discovered that Server-Side Rendering isn't a silver bullet!
|
|
Do libraries and frameworks prioritize components on boot? If so, how, and if not what can we do? And, in exploring that question, I discovered that Server-Side Rendering isn't a silver bullet!
|
|
How do people talk about the profession? Do more people refer to it as client success or customer success? What is the correct post-sales nomenclature?
|
|
Over the weekend of the 25th - 27th of November I took part in the Melbourne RetailTech Hackathon, as a judge, on behalf of Thoughtworks. This event was organised by York Butter Factory with the help of student volunteers and is an extension of the monthly RetailTech Melbourne Meetup they run. It was run as a time-limited activity, restricted to 54 hours. This event was part of the Startup Weekend, a global event which attracts 15,000 buddi..
|
|
This week has been a bit slow with features and external progress as we’ve started to focus on the issues for the January release of 3.6. During December we’ll probably pause blogging between December 22nd and January 2nd as it would probably get lost to the ether for most of our audience. I’ll still be working and at least some of our team will, but we’ll focus on support and features/issues which will give us a lot to write about ..
|
|
I previously published “ A revisionist history of configuration management ”. I meant for that to be the intro to this article, but it ended up being long enough that it deserved a separate post. I will explain Send/Recv in this article, but first a few clarifications to the aforementioned article. Clarifications I mentioned that my “revisionist history” was inaccurate, but I failed to mention that it was also not exhaustive! Many t..
|
|
I previously published “ A revisionist history of configuration management ”. I meant for that to be the intro to this article, but it ended up being long enough that it deserved a separate post. I will explain Send/Recv in this article, but first a few clarifications to the aforementioned article. Clarifications I mentioned that my “revisionist history” was inaccurate, but I failed to mention that it was also not exhaustive! Many t..
|
|
Building and operating services distributed across a network is hard. Failures are inevitable. The way forward is having resiliency as a key part of design decisions. This post talks about two key aspects of resiliency when doing RPC at scale - the circuit breaker pattern, and its power combined with client-side load balancing.
|
|
Building and operating services distributed across a network is hard. Failures are inevitable. The way forward is having resiliency as a key part of design decisions. This post talks about two key aspects of resiliency when doing RPC at scale - the circuit breaker pattern, and its power combined with client-side load balancing.
|
|
Understanding Net Promoter Score was among the first posts we published about NPS. Since then it has become one of the most-read articles on this blog.
|
|
I sometimes wonder if a robot could do my job. I’m a designer, and my role is to create digital products that humans want to use. Could a machine learn, faster than me, what humans want? Could it design better things than I could, in less time, with less cost and prettier to boot? I don’t think it’s too far-fetched, given that we’re living in the petabyte age and Big Data is automating many of the utilities in our lives. The potential of ma..
|
|
How to Create a Fast, Secure, and Scalable Open Source Blog with React + Markdown
-
www.serverless.com
-
9 years ago
-
eng
How serverless used phenomic.io to create a fast, secure, and scalable open source blog powered by React & Markdown
|
|
A couple of weeks ago, I had a small computer chip implanted in my left hand, between my thumb and my finger. I ordered the chip from the website Dangerous Things.
|
|
We had support for bouncy castle encryption for quite a while but it is not as intuitive as we’d like it to be. This makes securing/encrypting your app painful and so we procrastinate and eventually skip that “feature” altogether. Frankly, I hate working on encryption it’s painful… That’s why we procrastinated on this feature until today! We now support full encryption of the Storage (notice the distinction, Storage is not FileSystem..
|
|
Reflections on the Microsoft Surface Studio and Apple’s inevitable giant iPad: Big Tablets Are Coming
|
|
This is a talk that I gave at the Vancouver Meetup on November 29th, 2016. The talk covers topics around developing your own design philosophy with a focus on decoupling from change. These are things I cover extensively in the Ultimate Go Classes . Here is the material that is covered in the talk. Review the Grouping and Decoupling topics.
|
|
The validation framework makes it easy to verify input quickly and effectively. Up until now you had to define an emblem in order to create an error icon and if you didn’t you had to define an “Invalid” UIID for every entry. This exists by default for text fields and other types but is still a big hassle just to check that we have a valid email… The main reason for this is that when we introduced the validation framework we hadn’t ..
|
|
In the first betas of Codename One we had a lot of bugs related to 2D arrays due to XMLVM. We no longer use XMLVM but the recommendation to avoid 2D arrays remains. We still use them in some occasions e.g. in the creation of a DefaultTableModel but the implementation discards them in favor of an ArrayList internally. __ | To be fair, a 2D array will be faster than an ArrayList so in this case we discarded them due to their lack of
|