~/devreads

7 Mar 2017

6 Mar 2017

2 min read

The routing ecosystem around React and React Native is quite different. One is characterized by a strong incumbent, and the other is plagued by rapid change. React JS No question about it, React Router (ReactTraining/react-router) is king here. They have the benefit of several years of active development, along with an active community submitting PR’s, fixes, etc. Supplement that with…

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.

2 Mar 2017

1 Mar 2017

4 min read

What code of yours isn’t tested? Is it code that deals with complicated situations that you don’t control? Threads, running commands, git, networking, or UI? Our apps are most interesting when they’re complicated. They’re also most dangerous. And that’s why code that’s hard to test is exactly the kind of code that needs to be tested well. That doesn’t always…

28 Feb 2017

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

I had reason to revisit the automocked base class from a previous blog post. I am working with another code base and have new opportunities for automocking. We have a lot of internal classes. Approximately 30% of the classes are marked as internal. The old approach did not work anymore. With an internal subject, I got this error: Inconsistent accessibility:…

Matthew Green 11 min read

This is kind of a funny post for me to write, since it involves speculating about a very destructive type of software — and possibly offering some (very impractical) suggestions on how it might be improved in the future. It goes without saying that there are some real downsides to this kind of speculation. Nonetheless, I’m … Continue reading The…

attacksnoodlingransomware

27 Feb 2017

1 min read

Last Thursday I took a day off and jumped on a bus headed to California City Correctional Center. I was part of a group of investors and entrepreneurs participating in a business pitch competition and graduation ceremony for aspiring entrepreneurs — who also happened to be incarcerated. These ninety-four men had worked for months, taking classes, preparing business plans, and…

1 min read

papad Hard to believe Sanjeev Arora and his coauthors consider it “a basic tool [that should be] taught to all algorithms students together with divide-and-conquer, dynamic programming, and random sampling.” Christos Papadimitriou calls it “so hard to believe that it has been discovered five times and forgotten.” It has formed the basis of algorithms in machine learning, optimization, game theory,…

26 Feb 2017

1 min read

I’ve been spending some time learning deep learning and tensorflow recently, and as part of that project I wanted to be able to train models using GPUs on EC2. This post contains some notes on what it took to get that working. As many people have commented, the environment setup is often the hardest part of getting a deep learning…

Ramon 1 min read

Hi. I recently gave a talk in KernelTLV Meetup. The talk was uploaded to YouTube, so if you’re interested, go a head and watch it. The Talk is in Hebrew, but the slides are in English. The slides can be found here: DMA Survival Guide from Kernel TLV

gitlinuxlinux kerneldmadmaengine

24 Feb 2017

1 min read

Adversarial examples are inputs to machine learning models that an attacker has intentionally designed to cause the model to make a mistake; they’re like optical illusions for machines. In this post we’ll show how adversarial examples work across different mediums, and will discuss why securing systems against them can be difficult.

safety alignment

23 Feb 2017

1 min read

There’s no shortage of ways to get paid, but not all payment methods are equal. Your business needs maximum efficiency, so it’s wise to know your options and choose the most suitable payment method to help your workflow rather than hinder it.

1 min read

Page object pattern is common practice when writing automated tests using selenium. It allows to gather all possible operations on the page in one place and hide page implementation details from test case. Page object pattern can be used in the same way for angular directives, react and [put framework name here] components. Read more

1 min read

I was on the Shoptalk Show (hosted by Chris Coyier and Dave Rupert) with Krystal Higgins talking about An Event Apart, speaking, and finding a "thing"

22 Feb 2017

21 Feb 2017

Andrew Terranova 2 min read

This past October I participated in an awesome Open Source event called “Hacktoberfest”, sponsored by Digital Ocean and GitHub. Hacktoberfest is a month-long celebration of Open Source where developers are encouraged to contribute to the community. Participation is easy: Pull requests can be made in any GitHub-hosted repositories/projects. A contribution can be anything—fixing bugs, creating […]

cultureopen sourcejavascript

lukaseder 1 min read

Welcome to the jOOQ Tuesdays series. In this series, we’ll publish an article on the third Tuesday every other month where we interview someone we find exciting in our industry from a jOOQ perspective. This includes people who work with SQL, Java, Open Source, and a variety of other related topics. I’m very excited to … Continue reading jOOQ Tuesdays:…

jooq-tuesdaysbrett wooldridgeconnectionconnection pool sizeconnection pools

Brendan Eich 1 min read

Many thanks to Pressable for the theme porting and ongoing hosting, and to w0ts0n for help with the transfer. I’ll blog again soon.

uncategorized

20 Feb 2017

1 min read

The subscription economy has created a radical shift in how we work, with more companies than ever now relying on cloud-based platforms. In our free e-Guide, discover the major trends in B2B SaaS.

19 Feb 2017

1 min read

I spent a while the last week porting livegrep.com from running directly AWS to running on Kubernetes on Google’s Cloud Platform (specifically, the google container engine, which provisions and manages the cluster for me). I left this experience profoundly enthusiastic about the future of Kubernetes. I think that if Google can execute properly, it’s clearly the future for how we…

17 Feb 2017

Kalle Happonen 1 min read

Many times we've been asked "How do I log in again?" https://research.csc.fi/accounts-and-projects https://pouta.csc.fi and log in to your heart's content. Please note that Haka logins only work with the web interface for now. We're looking into the option of enabling this for API and command line access in the future. Your CSC Cloud Team

lukaseder 1 min read

An interesting question was asked on reddit’s /r/java recently: Should Iterators be used to modify a custom Collection? Paraphrasing the question: The author wondered whether a custom java.util.Iterator that is returned from a mutable Collection.iterator() method should implement the weird Iterator.remove() method. A totally understandable question. What does Iterator.remove() do? Few people ever use this … Continue reading Should I…

javajava 8arcaneiteratoriterator.remove

16 Feb 2017

15 Feb 2017

14 Feb 2017

4 min read

Have you ever wanted to import a bunch of data into your app from a CSV file? Or maybe you need to fix badly encoded characters in some of your customer reviews. Or you changed your mind about how you wanted to store data in Redis, and had to move everything from the old format to the new one. At…

13 Feb 2017

Teamwork Engineering 2 min read

You may have heard our big news! We recently moved into some new digs ! We’ve got big plans for Teamwork.com and big plans require lots of people to make them happen. In time we’ll need more space, but it’ll be a while before we’re calling the slide manufacturers again. We like to be prepared though, so we held onto…

12 Feb 2017

Dave Cheney 8 min read

As an organiser of a large programming conference and a speaker who’s pitched talk ideas to many conferences, I’ve been on both sides of the selection process. Last month I published a piece on writing a proposal for GopherCon. I wanted to revisit that post in the form of more general advice to give some insight into […]

small ideaspublic speaking

10 Feb 2017

lukaseder 1 min read

Sometimes, SQL can just be so beautiful. One of the less mainstream features in SQL is the array type (or nested collections). In fact, it’s so not mainstream that only 2 major databases actually support it: Oracle and PostgreSQL (and HSQLDB and H2 in the Java ecosystem). In PostgreSQL, you can write: Or in Oracle: … Continue reading Beautiful SQL:…

sqlarraylateralnested collectionsoracle

9 Feb 2017

jgamblin 2 min read

The RSA conference starts next week and lets be honest it is becoming known as a stuffy management conference with very little useful technical information but if you know where to look you can take some deep dives. I have put together a quick guide of some amazing talks and events I am looking forward to. Talks: BSidesSF – Coming…

uncategorized

Dave Cheney 2 min read

In April and May I’ll be speaking at GopherChina and GopherCon Singapore, respectively. This post is a teaser for the talks that were selected by the organisers. If you’re in the area, I hope you’ll come and hear me speak. GopherChina GopherChina is the third event in this conference series and this year will return to Shanghai. I was […]

goprogramminggopherchinagophercon sg

blog.muffn.io (muffn_) 1 min read

Get fucked HP. # So there I was, moving VMs off of my main host (DL380 G7, 2x x5690’s, 192GB RDIMM), getting ready to replace the 8x 300GB RAID10 array I’ve been using for a while now with some 1TB disks and SSDs, awesome, right?

8 Feb 2017

lukaseder 1 min read

Earlier this week, I’ve blogged about how to execute SQL batches with JDBC and jOOQ. This was useful for the MySQL, SQL Server, and Sybase users among you. Today, we’ll discuss a slightly more difficult task, how to fetch Oracle 12c implicit cursors – which are essentially the same thing. What’s an implicit cursor? Oracle … Continue reading How to…

jooq-developmentsqlbatchimplicit cursorsjdbc

19 min read

A couple years ago, I took a road trip from Wisconsin to Washington and mostly stayed in rural hotels on the way. I expected the internet in rural areas too sparse to have cable internet to be slow, but I was still surprised that a large fraction of the web was inaccessible. Some blogs with lightweight styling were readable, as…

7 Feb 2017

Teamwork Engineering 8 min read

We feel that Teamwork.com’s new HQ in Cork just might be the best place for developers to work in Ireland because we — Dan and I, the founders are developers ourselves and we’re trying hard to create the perfect environment for developers to do their best work in a company and setting they love. Here are some of the reasons…

6 Feb 2017

lukaseder 1 min read

Some databases (in particular MySQL and T-SQL databases like SQL Server and Sybase) support a very nice feature: They allow for running a “batch” of statements in a single statement. For instance, in SQL Server, you can do something like this: This is a batch of 4 statements, and it can be executed as a … Continue reading How to…

jooq-in-usesqlbatchbatch statementsjdbc

Teamwork Engineering 3 min read

Nine years ago, when we decided to take a real stab at the SaaS game, we moved into the first floor of a building on the outskirts of Cork city. Over the next few years, as our team grew, we shared the two remaining floors with other local companies. In 2015 we explored the idea of getting our own workspace.…

31 Jan 2017

30 Jan 2017

1 min read

The OpenAI team is now 45 people. Together, we’re pushing the frontier of AI capabilities—whether by validating novel ideas, creating new software systems, or deploying machine learning on robots.

company

29 Jan 2017

1 min read

This weekend I wanted to setup Precompiled Bridging Headers for my project. This setting is available in the new Xcode 8.3 beta. Then building for latest official XCode (8.2.1) the code will not compile because the Swift compiler doesn’t recognize it. How do we use different build settings for different Xcode versions? Only possible with xcconfig files. There’s an undocumented…

27 Jan 2017

Litsa Litsa 5 min read

So many folks are wonder what they need to do to make a career of User Experience Design. As someone who interviewed many designers before, I’d say the only gate between you and a career in UX that really matters is your portfolio. Tech moves too fast and is too competitive to worry about tenure […]

uncategorizeduxdesigniaix

Dominic Steinitz 3 min read

I have been thinking about writing a blog on why the no u-turn sampler (NUTS) works rather than describing the actual algorithm. This led me to look at Jared Tobin’s Haskell implementation. His example tries to explore the Himmelblau function but only finds one local minima. This is not unexpected; as the excellent Stan manual … Continue reading Warming up…

uncategorized

26 Jan 2017

25 Jan 2017

Dave Cheney 2 min read

In my previous post I suggested that the best way to break the compile time coupling between the logger and the loggee was passing in a logger interface when constructing each major type in your program. The suggestion has been floated several times that logging is context specific, so maybe a logger can be passed around via […]

goprogrammingdesignlogging

Sebastian Frostl 10 min read

Intro This is the first post of a series explaining the story and technical learnings we had from starting to migrate from AngularJS to React. Check out the github repo for examples and the full code. Our frontend story so far At Small Improvements we’re aiming to make meaningful feedback available for every employee in every […]

frontendangularjsmigrate

24 Jan 2017

23 Jan 2017

jona fenocchi 7 min read

At Bazaarvoice, we’re big fans of cloud. Real big. We’re also fans of DevOps. There’s been a lot of discussion over the past several years about “What is DevOps?” Usually, this term is used to describe Systems Engineers and Site Reliability Engineers (sometimes called Infrastructure Engineers, Systems Engineers, Operations Engineers or, in the most unfortunate […]

culturedevops

Dave Cheney 2 min read

This post is a spin-off from various conversations around improving (I’m trying not to say standardising, otherwise I’ll have to link to XKCD) the way logging is performed in Go projects. Consider this familiar pattern for establishing a package level log variable. package foo import “mylogger” var log = mylogger.GetLogger(“github.com/project/foo”) What’s wrong with this pattern? The first problem […]

goprogrammingdesignlogging

1 min read

When some of our customers reported that their agents were freezing, sometimes for hours at a time, we tracked down the issue to their disk mount options.

22 Jan 2017

Henrik Warne 4 min read

These days it is common to hear arguments that software development is becoming gig based. In other words, companies will not hire programmers for permanent positions. Instead, they will put together temporary teams of independent contractors from anywhere in the world to complete … Continue reading →

programmingworkoutsourcingsoftware project

4 min read

There’s times when you need to investigate regressions in your project, and you don’t know have any clue as why something is happening. Git bisect is the best tool for this cases, but it can be painful to use in non small projects using CocoaPods and Xcode. I want to share what I’ve been doing to ease the pain. If…

21 Jan 2017

Matthew Green 13 min read

This post is the second in a two-part series on zero-knowledge proofs. Click here to read Part 1. In this post I’m going to continue the short, (relatively) non-technical overview of zero knowledge proofs that I started a couple of years ago. Yes, that was a very long time! If you didn’t catch the first post, now … Continue reading…

uncategorized

Stanko 1 min read

Update March 2019 # Check this fix too. It works really well in most cases. If you ever used vh units and tested your work on mobile Chrome (iOS and Android), you probably were annoyed by page jumping when you scroll. As you probably know vh units are based on the window height. When you scroll, Chrome's address bar disappears…

20 Jan 2017

jgamblin 1 min read

I was lucky enough to get a hold of an Insta360 Nano this week and it is some of the most amazing technology I have seen recently. It allows for truly instant 360 photos, videos and timelapse captures. As one of the people I was showing it to this week said it is the “selfiestick of 2017”. Here are some…

hacking

19 Jan 2017

jgamblin 2 min read

I was at dinner on Tuesday with 6 security professionals and I proposed this hypothetical situation and I thought it was worth writing up and sharing. Background: Six identical safes with $1,000,000 inside are being built into the side of a public building and are being randomly assigned to everyone at the dinner. At the end of 90 days any…

careersecurity

Matt Cutts 2 min read

A few months ago, I took a leave of absence from Google to do a stint with the US Digital Service. A lot of people know about the US Digital Service because they helped rescue the healthcare.gov website. But you might not realize that the US Digital Service has helped veterans get their health benefits, […]

personal

18 Jan 2017

lukaseder 1 min read

A very interesting feature of the SQL Server and PostgreSQL databases (and some others, including SQLite) is the partial index (sometimes also called “filtered index”). That’s an index that contains only “parts” of the table data. For instance, we can write the following index in SQL Server and PostgreSQL: Let’s imagine you have a house … Continue reading How to…

sqlindexoptimisationoraclepartial index

Stanko 3 min read

May 2018 - Updated to match React Router v4 API. September 2019 - Updated to match React Router v5 API, added React Create App part. If you ever had to deploy React Router app to the subfolder on the server, you know what the problem is. Routes will get messed up once you upload it to the server. Here are…

17 Jan 2017

7 min read

React is a good tool when it comes to building flexible and reusable UI components. However, it’s “one of those libraries” that cannot handle all the tasks involved in building a full fleshed UI project. Other supporting tools - such as a recently announced React SDK from Cloudinary - are available to provide solutions that the React core cannot. In…