How to implement access manager for fine grain control over grant/revoke access to data streams in a chat app for an extra layer of security.
4 Feb 2015
Customers need to be able to trust you with their payment info. Here's how.
I know, everyone uses Travis. I have nothing against it. But in case you want to test and/or use Shippable, this might be just the guide for you. I will also show how to setup those nice tabs with the test and coverage reports.
Have you been struggling with complicated installation of open-source GIS command-line tools with all the drivers on your computer? Now it is much easier!
3 Feb 2015
Building smarter beacon tech with bidirectional beacon communication. An overview of beacon tech, differences, and tutorials for Android, Apple, and Tessel.
We’ve been blogging a lot about the merits of modern SQL on the jOOQ blog. Specifically, window functions are one of the most fascinating features. But there are many many others. Markus Winand, author of the popular book SQL Performance Explained has recently given a very well-researched talk about modern SQL. We particularly like his … Continue reading Still Using…
It's generally accepted that any piece of software could be compromised with a backdoor. Prominent examples include the Sony/BMG installer, which had a backdoor built-in to allow Sony to keep users from copying the CD, which also allowed malicious third-parties to take over any machine with the software installed; the Samsung Galaxy, which has a backdoor that allowed the modem…
2 Feb 2015
There has been an interesting discussion on reddit, the other day Static Inner Classes. When is it too much? First, let’s review a little bit of basic historic Java knowledge. Java-the-language offers four levels of nesting classes, and by “Java-the-language”, I mean that these constructs are mere “syntax sugar”. They don’t exist in the JVM, … Continue reading Top 5…
Last time we left off with a tantalizing conjecture: a random graph with edge probability $ p = 5/n$ is almost surely a connected graph. We arrived at that conjecture from some ad-hoc data analysis, so let’s go back and treat it with some more rigorous mathematical techniques. As we do, we’ll discover some very interesting “threshold theorems” that essentially…
Recently I saw a job description of a Brazilian company, more or less like this:
The SoundCloud API will be dropping support for offset-based pagination on March 2, 2015, in favor of linked partitioning. To page through a…
1 Feb 2015
App users were content with static apps, single-user experiences where content changes only when a user requests a new page
Back in January of 2012, Russ Cox posted an excellent blog post detailing how Google Code Search had worked, using a trigram index. By that point, I’d already implemented early versions of my own livegrep source-code search engine, using a different indexing approach that I developed independently, with input from a few friends. This post is my long-overdue writeup of…
31 Jan 2015
Diving deep into raw sockets and IP headers with Go: A technical exploration.
30 Jan 2015
The problem Invoking event handlers in C# has always been a bit of a pain, because an event with no subscribers is usually represented as a null reference. This leads to code like this: It’s important to use the handler local variable, as if instead you access the field twice, it’s possible that the last … Continue reading Clean event…
29 Jan 2015
In this talk, Mikael Rogers discusses io.js including the reduction in Node.js contributions and the difference between Node.js and io.js.
Writing good APIs is hard. Extremely hard. You have to think of an incredible amount of things if you want your users to love your API. You have to find the right balance between: Usefulness Usability Backward compatibility Forward compatibility We’ve blogged about this topic before, in our article: How to Design a Good, Regular … Continue reading You Will…
28 Jan 2015
This Ember.js encryption tutorial walks through how to implement encryption and three way data binding for real-time messaging in an Ember.js app.
A guide to sort code checkers walking you through what a sort code checker is and how it works before looking at how effective they are.
27 Jan 2015
An introduction to Runtime.JS from Jacob Groundwater, including what it is, when you'd use it, and a live demonstration.
26 Jan 2015
Last time we left off with the tantalizing question: how do you do a quantum “AND” operation on two qubits? In this post we’ll see why the tensor product is the natural mathematical way to represent the joint state of multiple qubits. Then we’ll define some basic quantum gates, and present the definition of a quantum circuit. Working with Multiple…
In previous blog posts, we discussed how SoundCloud has been moving towards a microservice architecture. Soon we had hundreds of services, with many thousand instances running and changing at the same time. With our existing monitoring set-up, mostly based on StatsD and Graphite, we ran into a number of serious limitations. What we really needed was a system with the…
25 Jan 2015
In my last two posts, “What is special about Nim?” and “What makes Nim practical”, I forgot the important conclusion - why I personally have decided for Nim in favor of Rust, C++, Python and Haskell: Nim is not the fastest language, it’s not the easiest language to write in and it surely has some flaws that should be fixed.…
In my previous post, I doubled down on my claim that Go’s error handling strategy is, on balance, the best. In this post, I wanted to take this a bit further, and prove that multiple returns and error values are the best, When I say best, I obviously mean, of the set of choices available […]
Conor McBride was not joking when he and his co-author entitled their paper about dependent typing in Haskell “Hasochism”: Lindley and McBride (2013). In trying to resurrect the Haskell package yarr, it seemed that a dependently typed reverse function needed to be written. Writing such a function turns out to be far from straightforward. How … Continue reading A Type…
Streamline your software delivery process with automation and collaboration.
It’s a feeling of immense satisfaction when we complete a major achievement. Being able to say “it’s done” is such a great stress relief. Recently, I completed work on my first publication, a chapter about Emscripten for the upcoming book WebGL Insights to be published by CRC Press in time for SIGGRAPH 2015. One of the life goals I’ve had…
24 Jan 2015
Does it make sense for me to run ads on my blog? I've been thinking about this lately, since Carbon Ads contacted me about putting an ad up. What are the pros and cons? This isn't a rhetorical question. I'm genuinely interested in what you think. Pros Money Hey, who couldn't use more money? And it's basically free money. Well,…
Sketchnotes are a great way to document a talk or event. They allow you to doodle and get a little bit creative with your content recording.
23 Jan 2015
Earlier this month I did a talk at the University of North Carolina at Chapel Hill about lessons learned from the early days of Google. The video is now online and watchable, or you can watch it on YouTube: We did the talk in a pretty large room, and the camera at the back of […]
I couldn’t resist. I have read this question by Hugo Prudente on Stack Overflow. And I knew there had to be a better way than what the JDK has to offer. The question reads: I’m looking for a lambda to refine the data already retrieved. I have a raw resultset, if the user do not … Continue reading How to…
22 Jan 2015
This tutorial shows you how to implement advanced user detection for an Ember.js chat app, enabling users to define their location in the chat app.
In my last post I showed what makes the Nim programming language special. Today, let’s consider Nim from another angle: What makes Nim a practical programming language? Binary Distribution Programs written in interpreted languages like Python are difficult to distribute. Either you require Python (in a specific version even) to be installed already, or you ship it with your program.…
21 Jan 2015
Just a reminder that submissions for the Releng 2015 conference are due this Friday, January 23. It will be held on . If you've done recent work like we'd love to hear from you. Please consider submitting a talk!In addition, if you have colleagues that work in this space that might have interesting topics to discuss at this workshop, please…
Subscribe to this newsletter here Tweet of the Day Today, we’re very happy to have “spied” on our users as we can now show you a whole Tweet Conversation of the Day It was initiated by Dan Woods who proposed a talk about RxJava, jOOQ and Reactive Streams at GR8Conf. https://twitter.com/danveloper/status/553370842948567040 Dan Woods then proposed … Continue reading jOOQ Newsletter:…
This tutorial shows you how to build a real-time messaging chat plugin application for the Atom.io text editor that can be applied to any other text editor.
In this talk, James Kyle gives an overview and introduction to 6to5, a tool to transpile ES6 to vanilla ES5.
Jamie Allen, Typesafe‘s Director of Global Services published an interesting point of view on Twitter: Pivotal’s move to end support of Groovy is a stark reminder that enterprises who depend on FOSS projects should help support them. — Jamie Allen (@jamie_allen) January 20, 2015 And he’s right of course. We are constantly reminded of the … Continue reading Open Source…
20 Jan 2015
In this tutorial, we'll show you how to implement user detection and message persistence for an Ember.js chatroom web or mobile application.
For our December FAQs, we talk all things mobile push notifications, including APNS, GCM, and pub/sub for real-time notifications.
Today Stack Exchange is pleased to announce that we have raised $40 million, mostly from Andreessen Horowitz. Everybody wants to know what we’re going to do with… Read more "Stack Exchange Raises $40m"
19 Jan 2015
Today there was great news in the JVM ecosystem. Pivotal, the company who is committed to OSS has become a bit less committed: The reaction in the community were largely summarised by the hashtag #jesuisgroovy: Je suis groovy #groovylang — JBaruch 🎩 (@jbaruch) January 19, 2015 The interesting part in Pivotal’s announcement is this one: … Continue reading Suis-je Groovy?…
Some logs are there to be consumed by machines and kept forever. Other logs are there just to debug and to be consumed by humans. In the latter case, you often want to make sure that you don’t produce too much logs, especially not too wide logs, as many editors and other tools have problems … Continue reading Using Java…
Estimated reading time of a post is a feature that became popular, I believe, with Medium.
18 Jan 2015
Once upon a time, my blog was OpenSource. People liked it and forked it tons of times, but they never changed some stuff (disqus, analytics).
I created a tool that lets you architect your Sass project in a single location (your manifest file), and it will build all of the directories and partials for you! This blog explains what a Sass manifest file is, what it does, and why you should use one.
16 Jan 2015
A wise man once said: Anything that can possibly go wrong, does — Murphy Some programmers are wise men, thus a wise programmer once said: A good programmer is someone who looks both ways before crossing a one-way street. — Doug Linder In a perfect world, things work as expected and you may think that … Continue reading Infinite Loops.…
Mozilla’s Release Engineering team has been through several major iterations of our “release automation”, which is how we produce the bits for Firefox betas and releases. With each incarnation, the automation has become more reliable, supported more functionality, and end-to-end time has reduced. If you go back a few years to Firefox 2.0 it took several days to prepare 40…
15 Jan 2015
In this tutorial, we'll show you how to build a fully featured mobile Polymer chat app using Polymer and Material Design.
14 Jan 2015
I’ve been working on some other blog posts, including a conclusion of (or at least an installment in) this exciting series on zero knowledge proofs. That’s coming soon, but first I wanted to take a minute to, well, rant. The subject of my rant is this fascinating letter authored by NSA cryptologist Michael Wertheimer in February’s Notices … Continue reading…
In this blog post, we discuss how to maintain a PHP publish/subscribe client SDK, including unit tests, auto testing, and maintaining versions.
13 Jan 2015
This blog post/tutorial features Rect Rangle is a browser-based game using HTML5 and JavaScript, that uses PubNub for in-game notifications.
What is a payment gateway? And how do you find the right one for your business?
Hi everybody! Here I’m again to write my first post in 2015. Last year I’ve wrote less and this year I have plans to write much more, telling about my experience with web development. I have plans to start screencasting too, but this is just plans 😀 I decided to start this year writing about … Continue reading Why WordPress…
12 Jan 2015
Last week I learned that using static is going to be the syntax for importing static members (including extension methods) in C# 6. That fulfils a feature request I made in September 2005 (my fourth ever blog post, as it happens). With a feature request turnaround of 10 years, I figure I should get put … Continue reading C# 7…
This blog post gives an overview of real-time data streams and the pubsub, publish/subscribe paradigm, including use cases and how to do it yourself.
11 Jan 2015
The Ubiquiti EdgeRouter: Configuring this extremely low-cost, enterprise-grade router for home use
Larry LandUpdated Jan 17, 2015: Moved the dynamic DNS away from a scheduled task to the new custom- service method Updated Apr 3, 2016: Added dynamic DNS instructions for iwantmyname Updated Jul 24, 2016: Added NAT-PMP for UPnP, up-to-date dynamic DNS methods, IPv6 instructions, and EdgeRouter-X mention I’ve gotten a new, inexplicable, love for Ubiquiti. They fit in my favorite category…
This is a response to the following question from David Albert: My mental model of CPUs is stuck in the 1980s: basically boxes that do arithmetic, logic, bit twiddling and shifting, and loading and storing things in memory. I'm vaguely aware of various newer developments like vector instructions (SIMD) and the idea that newer CPUs have support for virtualization (though…
10 Jan 2015
Due to some internal network problems I fired up Wireshark and saw a lot of gratuitous ARP requests/broadcasts. I had never seen the sending MAC or IP before but could assign it to one the ports our switching hardware. The designated port was used for a Citrix XenServer virtualization environment, […] The post Fixing gratuitous ARP requests appeared first on…
9 Jan 2015
This DIY Arduino project shows you how to build an Arduino alarm for frozen pipes that is triggered based on temperature.
I followed @mdo’s recent article “Using Sass with Jekyll”, and wanted to point out the results.
If you need to publish your maps online, there is no need for Geoserver, Map Server or ArcGIS Server, which are all hard to install and maintain. You can do it on any PHP hosting.
8 Jan 2015
This talk demos Famo.us Mixed Mode, a javascript framework for building user interactive UIs entirely in the browser, mixing WebGL, DOM, and physics.
Here's December 2014's monthly analysis of the pushes to our Mozilla development trees. You can load the data as an or as a . There was a low number of pushes this month. I expect this is due to the Mozilla all-hands in Portland in early December where we were encouraged to meet up with other teams instead of coding…
In the recent past, we’ve shown how Java 8 and functional programming will bring a new perspective to Java developers when it comes to functional data transformation of SQL data using jOOQ and Java 8 lambdas and Streams. Today, we take this a step further and transform the data into JavaFX XYChart.Series to produce nice-looking … Continue reading Transform Your…
7 Jan 2015
A walkthrough on connecting an Arduino Yun to the Internet for remote signaling and trigger, as well as data streaming for IoT actions.
6 Jan 2015
Some databases are awesome enough to implement the MEDIAN() aggregate function. Remember that the MEDIAN() is sligthly different from (and often more useful than) the MEAN() or AVG() (average). While the average is calculated as the SUM(exp) / COUNT(exp), the MEDIAN() tells you that 50% of all values in the sample are higher than the … Continue reading How to…
5 Jan 2015
This talk on parallel continuous integration discusses efficient and fast end-to-end testing for web and mobile applications.
3 Jan 2015
I finally got around to reading Clean Code by Robert C. Martin (Uncle Bob). It is often high on lists of the best books for software development, and for good reason. Clean Code is an excellent book that all programmers … Continue reading →
2 Jan 2015
This blog post looks at M2M vs IoT and their differences, and discusses "practical IoT" and the IoT stack.
I’d like to mention two books that stood out for me in 2014: Nonfiction: The First 20 Minutes. Gretchen Reynolds is a New York Times columnist who distills health and exercise research down to practical, readable advice. I’ve never dog-eared as many pages in a book as The First 20 Minutes. Reynolds writes about why […]
1 Jan 2015
I recently finished the Coursera course Computational Investing Part 1 by professor Tucker Balch at Georgia Tech. The focus of the course is on portfolio analysis and selection. Almost all the analysis uses the daily closing prices of stocks as the … Continue reading →
This winter vacation, I had a bunch of spare time at home with my parents. It turns out that my parents call to Romania a lot – especially during the holiday season. Since Romania is far away from here in Canada, if they were to use the local phone provider, Bell, they’d be destroyed with long distance charges (c’mon guys,…
31 Dec 2014
Russian Translation by frol, Chinese Translation by JiyinYiyong, Japanese Translation by Mutsuha Asada The Nim programming language is exciting. While the official tutorial is great, it slowly introduces you to the language. Instead I want to quickly show what you can do with Nim that would be more difficult or impossible in other languages. I discovered Nim in my quest…
This project was featured on Hackaday and the Atmel blog. For the next step in my Apple 1 replica project I decided I wanted to replace the Arduino Mega board with a bare Atmega MPU with the goal of producing a two chip solution — just the Atmel and the 6502, no glue logic or external support […]
This is a personal post about my 2014 in review (because a lot happened) and my goals for 2015. Happy New Year!
30 Dec 2014
In this blog post, we'll show you how to get your Arduino Uno & Seeed Studio Ethernet Shield v2 connected to the Internet, & also how to set up PubNub
Sometimes when aggregating data with SQL, we’d love to add some additional filters. For instance, consider the following world bank data: GDP per capita (current US$) 2009 2010 2011 2012 CA 40,764 47,465 51,791 52,409 DE 40,270 40,408 44,355 42,598 FR 40,488 39,448 42,578 39,759 GB 35,455 36,573 38,927 38,649 IT 35,724 34,673 36,988 33,814 … Continue reading The Awesome…
29 Dec 2014
If you don’t follow NSA news obsessively, you might have missed yesterday’s massive Snowden document dump from Der Spiegel. The documents provide a great deal of insight into how the NSA breaks our cryptographic systems. I was very lightly involved in looking at some of this material, so I’m glad to see that it’s been … Continue reading On the…
This walkthrough shows you how to build user detection and device detection using JavaScript and the Presence API.
We’ve recently published an article about how to bind the Oracle DATE type correctly in SQL / JDBC, and jOOQ. This article got a bit of traction on reddit with an interesting remark by Vlad Mihalcea, who is frequently blogging about Hibernate, JPA, transaction management and connection pooling on his blog. Vlad pointed out that … Continue reading Leaky Abstractions,…
28 Dec 2014
Here's a language that gives near-C performance that feels like Python or Ruby with optional type annotations (that you can feed to one of two static analysis tools) that has good support for macros plus decent-ish support for FP, plus a lot more. What's not to like? I'm mostly not going to talk about how great Julia is, though, because…
26 Dec 2014
Woot! This project was featured on Hackaday. No Apple 1 under the tree on Christmas Day ? Never mind, with a 6502 and an Arduino Mega 2560 you can make your own. The Apple 1 was essentially a 6502 computer with 4k of RAM and 256 bytes of ROM. The inclusion of a 6821 PIA and a […]
25 Dec 2014
Let an be stopping times and let the filtration on which they are defined be right continuous. Then , , and are stopping times where . For the first we have and both the latter are in by the definition of a stopping time. Similarly for the second . For the fourth we have since … Continue reading Stopping Times
24 Dec 2014
This guide walks you through what a Bacs approved bureau is and the benefits and reasons for using one.
If you want to accept payments online, you have two main options: Credit (or Debit) Card and Direct Debit. To help you get to grips with your online payment options we've run through the main choices at a high level here.
23 Dec 2014
The common contract for functions which return a value of the interface type error, is the caller should not presume anything about the state of the other values returned from that call without first checking the error. In the majority of cases, error values returned from functions should be opaque to the caller. That is […]
22 Dec 2014
The author shares 5 powerful quotes and lessons learned from mentors during an intensive 3-month accelerator program in Ireland focused on startups and entrepreneurship. Key takeaways include the importance of passion, understanding customers' problems, building a great team, and working tirelessly while maintaining positivity.
In this talk, Lydia Katsamberis discusses imposter syndrome and the Node.js community, and feeling like a "real" developer.
In this tutorial, we'll show you how to send and receive iOS Push Notifications with APNS, PubNub, and PhoneGap for web, mobile, and devices.
We all know that Oracle’s DATE is not really a date as in the SQL standard, or as in all the other databases, or as in java.sql.Date. Oracle’s DATE type is really a TIMESTAMP(0), i.e. a timestamp with a fractional second precision of zero. Most legacy databases actually use DATE precisely for that, to store … Continue reading Are You…
Previously I posted notes and links for my talk about “Ember at 10 feet” from the Embergarten Saturday Symposium. Today my awesome friends at Unspace posted a video of the talk, which you can watch below: Source Code | Online Demo
18 Dec 2014
We’ve just added support for the EVERY() aggregate function (#1391) to jOOQ, and would like to take the opportunity of letting you know of this true SQL gem that can come in handy EVERY(now and then) (pun intended). Let’s assume we have four books in our table: Now the question is: Is EVERY() ID lower … Continue reading A True…
In this tutorial, we'll show you how to send and receive Android Push Notifications with GCM, PubNub, and PhoneGap for web, mobile, and devices.