~/devreads

6 Apr 2017

5 Apr 2017

Dave Cheney 1 min read

This is my late entry for the 2017/04 retrochallenge. Notwithstanding my 2015 failure to launch, I plan to work on Arduino based emulators for various 6502 computers. A few years ago I built an Arduino shield to host a real 6502 using the Arduino as RAM, PIA, and glue logic. To some extent the software that this project ran […]

retrochallengerc2017 04

4 Apr 2017

Mike Mason 1 min read

We publish our Technology Radar twice a year: it’s a snapshot of the major technologies and trends that glean from our work, partnering on our clients' most ambitious projects. In this piece, we highlight some of the wider trends that emerge from compiling the Radar, but which aren't covered directly.​

3 Apr 2017

jgamblin 1 min read

I am a big fan of DigiCert for TLS Certificates and CA/WebPKI services. While they have amazing customer support and are an amazing company to work with, there are not a lot of automation scripts to interact with their API available. So over the weekend and with a lot of help from Clint Wilson I built a shell script that:…

careersecurity

Gayathri Mohan 1 min read

The emergence of the Internet of Things (IoT) poses some interesting testing challenges that will make many Quality Analysts rethink their traditional processes.

1 Apr 2017

31 Mar 2017

jgamblin 1 min read

An amazing mentor and leader I work with has been talking to me recently about what real leadership looks like and shared with me a list of quotes he keeps on his desk that his dad who had a leadership role in the military collected and gave to him. He gave me a copy and said I was free to…

career

Luciano Mammino 5 min read

This article explains how short URLs work and provides code examples to expand them in Node.js using request module or tall library. It covers basics of URL redirection, shows how to disable auto-redirect in request module, and introduces tall - a promise-based Node.js library to unshorten URLs.

node-jslibraryjavascript

{"twitter"=>"hlaueriksson"} 6 min read

How to create a ASP.NET Core Web API, secure it with JSON Web Tokens and explore it with Swagger UI and Postman. You can view the example code in this post at https://github.com/hlaueriksson/ConductOfCode ASP.NET Core Web API I installed the new Visual Studio 2017 and created a new ASP.NET Core Web Application. Then I added these dependencies: Swagger with Swashbuckle.AspNetCore…

lukaseder 1 min read

When looking at execution plans in Oracle, we’ll have to do several steps to be able to call the DBMS_XPLAN package functions. In fact, we have to find out the SQL_ID for a given statement first, and only then we can get its plan. I’ve blogged about this previously, here. However, thanks to lateral unnesting, … Continue reading How to…

sqlexecution planslaterallateral unnestingoracle

Daniel McMahon, Lloyd Shanks, Matt Harris, Natalie Drucker 1 min read

While iconic brands like Macy’s and Abercrombie keep recording significant losses, Primark, Aldi and Amazon have been a rousing success. These successful brands demonstrate that shiny technologies and omnichannel strategies are not a silver bullet. Retail is about being a great merchant and having a differentiated product and experience. To win, you must move your retail strategy closer to your…

30 Mar 2017

Lex Neva 9 min read

Back on August 11, 2016, Heroku experienced increased routing latency in the EU region of the common runtime. While the official follow-up report describes what happened and what we’ve done to avoid this in the future, we found the root cause to be puzzling enough to require a deep dive into Linux networking. The following […] The post Latency Incident…

engineering

kevin 16 min read

Do you work in the tech industry in the Bay Area? You should start learning about, and getting involved in, local housing politics. The prognosis for housing and rent prices is bad, and things are likely going to get worse for tech workers in the Bay, unless we start taking action. I will explain why […]

economicstodays world

lukaseder 1 min read

Hah! Got nerd-sniped again: https://stackoverflow.com/questions/43099226/how-to-make-jooq-to-use-arrays-in-the-in-clause/43102102 A jOOQ user was wondering why jOOQ would generate an IN list for a predicate like this: Java SQL … when in fact there could have been the following predicate being generated, instead: In the second case, there would have been only one single bind variable instead of 4, and … Continue reading SQL IN…

sqlarraysbind variablescursor cacheexecution plan cache

29 Mar 2017

lukaseder 1 min read

Tuning SQL isn’t always easy, and it takes a lot of practice to recognise how any given query can be optimised. One of the most important slides of my SQL training is the one summarising “how to be fast”: Some of these bullets were already covered on this blog. For instance avoiding needless, mandatory work, … Continue reading How to…

sqlbenchmarkingoraclepostgresqlsql benchmarking

jgamblin 1 min read

I am reading a book called “The Art of Authenticity” and in the book over a couple of chapters it talks about understanding what makes strong leaders and deciding who you should follow. I have pulled these 10 questions out of those chapters: ​What was your first leadership role? When you think about the process of becoming the leader that…

uncategorized

28 Mar 2017

Richard Schneeman 8 min read

This post is going to help save you money if you're running a Rails server. It starts like this: you write an app. Let's say you're building the next hyper-targeted blogging platform for medium length posts. When you login, you see a paginated list of all of the articles you've written. You have a Post […] The post N+1 Queries…

news

Schakko 2 min read

Yesterday, one of our check_mk monitoring scripts based upon PowerShell failed, because the error Attempting to perform the InitializeDefaultDrives operation on the ‘FileSystem’ provider failed. showed up. The initial reason for this is unknown to me but it has to do with the New-PSDrive and Remove-PSDrive PowerShell commands we were […] The post Attempting to perform the InitializeDefaultDrives operation on…

windows

27 Mar 2017

24 Mar 2017

23 Mar 2017

22 Mar 2017

Sivasubramanian V 1 min read

Code refactoring is integral to every developer's daily routine. Thoughtworker Martin Fowler wrote the canonical text on refactoring and described it as a disciplined technique that involves restructuring existing code to make it better without altering the external behavior. Refactoring is particularly important in Agile development where design evolves incrementally.

21 Mar 2017

Brett Goulder 1 min read

We are happy to announce the general availability of Automated Certificate Management (ACM) for all paid Heroku dynos. With ACM, the cumbersome and costly process of provisioning and managing SSL certificates is replaced with a simple experience that is free for all paid Dynos on Heroku’s Common Runtime. Creating secure web applications has never been […] The post Announcing Free…

newsproduct featuressecurity

20 Mar 2017

lukaseder 1 min read

jOOQ is a library that loves making everything internal final and package private. We have tons of classes like these: The class implements the semantics of SQL string concatenation. Clearly, you shouldn’t need to tamper with it (or even know about it), because it is “protected” behind the corresponding public API in the DSL class: … Continue reading The Open-Closed…

javadesign principlesfinalopen-closedsolid

Dave Cheney 3 min read

A few weeks ago I was asked by a friend, “why should I care about Go”? They knew that I was passionate about Go, but wanted to know why I thought other people should care. This article contains three salient reasons why I think Go is an important programming language. Safety As individuals, you and I may be […]

goprogrammingconcurrencyproductivitysecurity

1 min read

We’re excited to support today’s launch of Distill, a new kind of journal aimed at excellent communication of machine learning results (novel or existing).

company

1 min read

Microservices is the new fancy way of doing applications. Yet, most companies still have big and old monoliths in production. In fast evolving software of this size, it’s usual to have lines of code which are never executed in production. Production code coverage reports can help us find those lines.

1 min read

From now and then, I found myself having to write some mechanical and repetitive code. The usual solution for this is to write a code generator; for instance in the form of a ppx rewriter in the case of OCaml code. This however comes with a cost: code generators are harder to review than plain code and it is a…

18 Mar 2017

0xADADA 1 min read

ember-i18n-changeset-validations is an Ember addon providing internationalized validation messages to ember-changeset-validations. This addon adds the ability to translate ember-changeset-validation messages using the ember-i18n addon. Available on NPM at ember-i18n-changeset-validations and on github at ember-i18n-changeset-validations.

projectsopen-sourceember.jsweb-developmentnpm

17 Mar 2017

lukaseder 1 min read

I was nerd-sniped: So tables dee and dum are two theoretical tables in SQL, and they can be characterised as such: [Dee] is the relation that has no attributes and a single tuple. It plays the role of True. [Dum] is the relation that has no attributes and no tuples. It plays the role of … Continue reading Creating Tables…

sqldeedumempty tablespostgresql

16 Mar 2017

lukaseder 1 min read

There are many many opinions out there regarding the old surrogate key vs. natural key debate. Most of the times, surrogate keys (e.g. sequence generated IDs) win because they’re much easier to design: They’re easy to keep consistent across a schema (e.g. every table has an ID column, and that’s always the primary key) They’re … Continue reading Faster SQL…

sqljoinjoin performancenatural keyoptimisation

15 Mar 2017

Amelie Zeng 4 min read

Since June 2012, Clever has only had one version of our API: v1.1. We’re now ready to introduce v1.2! In this post, we’ll talk about what the new version means for our customers. Why API versioning? Very few, if any, non-Clever developers saw API v1.0. Early beta versions had this designation, but as we finalized […] The post Moving from…

api

5 min read

I was reading yet another blog post titled “Why our team moved from <language X> to <language Y>” (I forgot which one) and I started wondering if you can generalize it a bit. Is it possible to generate a N * N contingency table of moving from language X to language Y? Someone should make a N*N contingency table of…

1 min read

I’m happy to announce our next public tech talk, called Seven Implementations of Incremental, on Wednesday, April 5th, presented by yours truly. You can register here.

14 Mar 2017

13 Mar 2017

1 min read

Problem: You have a catalog of items with discrete ratings (thumbs up/thumbs down, or 5-star ratings, etc.), and you want to display them in the “right” order. Solution: In Python ''' score: [int], [int], [float] -> float Return the expected value of the rating for an item with known ratings specified by `ratings`, prior belief specified by `rating_prior`, and a…

12 Mar 2017

Henrik Warne 5 min read

Here are my thoughts on programmer career planning. You should always stay employable, mostly by changing jobs regularly (every five years or so). When changing, don’t wait until you have to. Your negotiating position is much better when you can … Continue reading →

workcareer

11 Mar 2017

1 min read

At ContaAzul, we use the CI infrastructure a lot. We open several pull requests in several projects every day, and we block the merge until the build pass. We consider our master branches are sacred, and we can’t afford too much waiting to change them.

10 Mar 2017

9 Mar 2017

Peter Crona 7 min read

In an ideal world, caching wouldn’t be something we have to care about. However, with more and more mobile users on slow and limited data plans, as well as more advanced applications, we can’t escape reality. We need caching. As a response to this we have invested quite some time in Ladda – a dependency-free client side library for […]

product

Stanko 1 min read

I started leading teams relatively early in my career. Mentoring and leading younger developers is something I tremendously enjoy. But there is one thing I really miss about being a "regular" developer. And that is - being able to put my headphones, play some rock 'n roll, and code for a couple of hours without any distractions. Something that is…

8 Mar 2017

jgamblin 1 min read

Certificate transparency logs are an amazing way to get a good overview of your certificate landscape, detect fraud (bad guys also use TLS) and find shadow IT and unknown cloud services. The problem is that there are not many good places to search these logs. The best I have found is from Symantec, although it is slow and errors out…

hacking

lukaseder 1 min read

Probably the most impactful thing you could learn about when writing efficient SQL is indexing. A very close runner-up, however, is the fact that a lot of SQL clients demand tons of “unnecessary, mandatory work” from the database. Repeat this after me: Unnecessary, Mandatory Work What is “unnecessary, mandatory work”? It’s two things (duh): Unnecessary … Continue reading Many SQL…

sqlmandatoryperformanceunnecessary

1 min read

The best way to learn any new skill is through practice. This post is about how to come up with creative and effective side projects for developers to keep up with today's ever-changing technology.

7 Mar 2017

Mars Hall 4 min read

UPDATE: As of July 31, 2023, Salesforce no longer offers the Object Detection and Image Classification APIs. This means those APIs are no longer available. As a result, the demo app and the Einstein Vision add-on are no longer available. The most innovative apps augment our human senses, intuition, and logic with machine learning. Deep […] The post Introducing the…

news

lukaseder 1 min read

There are already only very few real-world use-cases for FULL [ OUTER ] JOIN, but maybe, you have run into this beast in the past. But when was the last time you’ve seen a NATURAL JOIN? Right. A quick reminder from our article about JOINs: FULL JOIN A FULL JOIN is a type of OUTER … Continue reading Impress Your…

sqlfull joinfull outer joinnatural joinoracle

6 Mar 2017

Stanko 2 min read

Most JavaScript developers used jQuery's .slideUp() and .slideDown() methods, and got used to them. As component based frameworks usually do not include such functionality, the first logic choice is to turn to CSS. But alas, CSS transitions do not work with height: auto. (Transitions can do a tween only between two numeric values.) As we use this a lot in…

5 Mar 2017

Matthew Green 7 min read

This morning on Twitter, Buzzfeed editor Miriam Elder asks the following question: Possibly stupid question: is the Signal desktop client as secure as the mobile app? — Miriam Elder (@MiriamElder) March 3, 2017 No, this is not a stupid question. Actually it’s an extremely important question, and judging by some of the responses to this … Continue reading Secure computing…

applejournalism

jgamblin 1 min read

Ever since Charlie Miller hacked a Jeep while it was driving on the interstate I have wanted to learn more about Car Hacking but really had not had a chance to get started with it until a month ago when I ordered a Carloop and was ready to get hacking: … or so I thought. Turns out car hacking is…

hacking

Stanko 2 min read

In this post you can find seven talks I really liked in no particular order, most of them development related. I'll explain why I liked them, and why I should recommend watching every single one of them. Every talks is embedded, but link to a website or youtube is included as well. Please comment with the talks you think are…

4 Mar 2017

1 min read

At ContaAzul, we have several old pieces of code that are still running in production. We are committed to gradually re-implement them in better ways.