~/devreads

20 Feb 2018

lukaseder 1 min read

One of the biggest contributors to SQL syntax verbosity is the need to explicitly JOIN every table that somehow contributes to the query, even if that contribution is “trivial”. When looking at the Sakila database, an example could be seen easily when fetching customer data: That single access to the country information cost us 3 … Continue reading Type Safe…

javajooq-developmentsqldqlexplicit join

1 min read

We’ve co-authored a paper that forecasts how malicious actors could misuse AI technology, and potential ways we can prevent and mitigate these threats. This paper is the outcome of almost a year of sustained work with our colleagues at the Future of Humanity Institute, the Centre for the Study of Existential Risk, the Center for a New American Security, the…

safety alignment

19 Feb 2018

6 min read

Exactly on this day, one year ago, I came back from a one month long trip to Taiwan, went straight to work from the airport and immediately moved into a new apartment after work. Since then I have cycled to work nearly every day. Fullscreen (map made with umap, routes made with GraphHopper) Alternatives and motivation Previously I lived in…

18 Feb 2018

1 min read

We spoke to agency owners and small business leaders about their top tips for success in 2018 and asked them what they wish they’d known when they were starting out. This is what they said.

17 Feb 2018

Matthew Green 14 min read

In Fall 2016 I was invited to come to Miami as part of a team that independently validated some alleged flaws in implantable cardiac devices manufactured by St. Jude Medical (now part of Abbott Labs). These flaws were discovered by a company called MedSec. The story got a lot of traction in the press at … Continue reading A few…

attacksmedical

16 Feb 2018

kevin 2 min read

On Tuesday, the SF Board of Supervisors moved to study whether a Mission laundromat is a historic resource, delaying 75 units of housing by 5 months. We wanted to look back at famous laundromats of history. Garden of Eden, 6000 BC Eating the forbidden fruit without any napkins makes quite a mess. Adam and Eve […]

satire

Junior Grossi 4 min read

Learn how to configure XDebug and PHPUnit in PHPStorm, allowing you to write better tests and fix bugs faster. Test Driven Development (TDD) is an old topic, I know, but it seems many people don’t understand how it makes you write better code. The point here is that one of the most important benefits it’s … Continue reading Using XDebug…

phptddxdebug

15 Feb 2018

1 min read

We’ve designed a method that encourages AIs to teach each other with examples that also make sense to humans. Our approach automatically selects the most informative examples to teach a concept—for instance, the best images to describe the concept of dogs—and experimentally we found our approach to be effective at teaching both AIs

research

1 min read

People often think of formal methods and theorem provers as forbidding tools, cool in theory but with a steep learning curve that makes them hard to use in real life. In this post, we’re going to describe a case we ran into recently where we were able to leverage theorem proving technology, Z3 in particular, to validate some real world…

1 min read

In my free time, I’m trying to learn something new and best of way learning is by doing. To avoid spinning my wheels in vain I’m helping to develop some product. In the previous post, I’ve described what we’ve decided to use for the UI and pointed out that I’m going to write integration tests. Here is how I integrated…

14 Feb 2018

Adam Bavosa 1 min read

Write integration tests for a Solidity smart contract using JavaScript. A tutorial for deploying Smart contracts and creating a new Ethereum wallet.

13 Feb 2018

12 Feb 2018

Michael Carroll 1 min read

Functions-as-a-Service (FaaS) is a cloud computing model that can be thought of as the plug-and-play of web-based application development.

Unknown 16 min read

In our previous user survey we found out that you were interested in "OpenStack admin stories". This will be our first attempt in doing that. User guide: https://research.csc.fi/pouta-user-guide While implementing object storage we made a few decisions. This blog post is about highlighting the decisions and their backing thought process. Some background information: cPouta uses OpenStack as the underlying cloud…

10 Feb 2018

bohops 5 min read

[Source: blog.microsoft.com] What is Vshadow? Vshadow (vshadow.exe) is a command line utility for managing volume shadow copies. This tool is included within the Windows SDK and is signed by Microsoft (more on this later). Vshadow has a lot of functionality, including the ability to execute scripts and invoke commands in support of volume shadow snapshot […]

uncategorizedactive directoryautorunsblueteamdfir

18 min read

The first step in creating our own operating system kernel is to create a Rust executable that does not link the standard library. This makes it possible to run Rust code on the bare metal without an underlying operating system. This blog is openly developed on GitHub. If you have any problems or questions, please open an issue there. You…

20 min read

In this post, we create a minimal 64-bit Rust kernel for the x86 architecture. We build upon the freestanding Rust binary from the previous post to create a bootable disk image that prints something to the screen. This blog is openly developed on GitHub. If you have any problems or questions, please open an issue there. You can also leave…

9 Feb 2018

8 Feb 2018

7 Feb 2018

6 Feb 2018

Alex Smolen 4 min read

At Clever, one of our tenets is “Always a Student”, and in that spirit of learning we wanted to share the changes we made to fix memory allocation issues in AWS Elastic Container Service related to swappiness. Swappiness is a Linux Kernel setting that specifies how likely it is for a page in memory to be […] The post Swappiness…

awsdebugging

5 Feb 2018

lukaseder 1 min read

A really geeky way to start a Monday morning is to be nerd-sniped by the cool Fermat’s Library twitter account… … reading up on the cool Tupper’s Self-Referential Formula thinking “Can This be Done in SQL?™” As we all know from a previous article, SQL is turing complete, so the answer must be yes. And … Continue reading Calculating Tupper’s…

sqlpostgresqltuppers formulatuppers self-referential formula

2 Feb 2018

Stanko 1 min read

This time we joined forces with our friends from IT Girls. They are promoting tech among women, and helping them start a career in it. Together, we are organizing a series of meetups and workshops about React. Last night, my colleague Nemanja and myself had a pleasure to give the first talk in the series. We are planning to have…

1 Feb 2018

31 Jan 2018

Kalle Happonen 1 min read

We're pleased to release one of the most sought after features in cPouta - object storage! documentation. This cat lives in the cPouta object storage. What is Object Storage? You do not need to set up a virtual machine to serve or receive the data. The data can be accessed from anywhere using the same URL. The data can have…

bohops 5 min read

Introduction Visual Studio Tools for Office (VSTO) “is a set of development tools available in the form of a Visual Studio add-in (project templates) and a runtime that allows Microsoft Office 2003 and later versions of Office applications to host the .NET Framework Common Language Runtime (CLR) to expose their functionality via .NET” (Wikipedia). For […]

uncategorizedapplockerblueteamdfirpentest

6 min read

So testing, right? We should do it. The thing is, testing is hard, and good testing is reaaaaaaally hard, and tbh I’m pretty bad at testing. So I end up not testing my apps, and then I feel guilty about it, but I’ll stop you now: you can’t run guilt on Travis. If this sounds familiar, then this blog post…

30 Jan 2018

Per Fragemann 3 min read

We recently reached the size of 14 people in Development, and our goal is to get to 16 developers/designers in the next couple of months. An interesting question we faced and discussed in this context is that of “optimal team size”. In the past year we’ve typically worked in teams of three or four, but […]

how we work

1 min read

Most of java web applications is built on top of the Spring Framework. Spring has pretty good support for testing and it is a mistake not to take advantage of features it offers. I’ve been developing various applications using Spring MVC for some time and I’ve noticed few patterns for testing that do work. Read more

29 Jan 2018

Stanko 2 min read

React Router switched to component based routing starting with the version 4. Redirects are now done by rendering a Redirect component, like this:Please note that you can use included withRouter decorator but it can cause update blocking and introduce side effects. This is small subset of it. <Redirect to='/redirect-url-here' /> What I usually do is to keep redirectTo property in…

28 Jan 2018

Jack Tarantino 9 min read

This past summer I managed to fit in a TON of fun experiments. One of them was a butterfly kit. I accidentally kept the hatched butterflies for a little bit too long and one day I suddenly had a cage full of hundreds of butterfly eggs. I couldn't possibly take

2 min read

Quite recently a team member wanted to suggest interesting technical books to read for a junior engineer. I figured I might as well write my top 5 books here, in no particular order. I believe every Software Engineer should own these books, but reading them is a very good start ;) The Pragmatic Programmer: From journeyman to master If you…

26 Jan 2018

17 min read

Apple introduced automated UI testing in Xcode 7. This was a great addition for developers because this native support promised, among other things, an improvement in the flakiness notoriously associated with automation tests. As many of us developers have experienced, tests can sometimes fail even when there has been no modification to the test or underlying feature code.

25 Jan 2018

24 Jan 2018

2 min read

SoundCloud consists of hundreds of millions of tracks, people, albums, and playlists, and navigating this vast collection of music and personalities poses a large challenge, particularly with so many covers, remixes, and original works all in one place.

23 Jan 2018

bertalan 4 min read

8 Tips & Tricks to build better React apps in 2018. Follow these best practices to become a better coder. Which one did you miss so far? The post 8 Tips to Build Awesome React.js Apps in 2018 appeared first on RisingStack Engineering.

reactedited

bohops 4 min read

(Image Source: blogs.technet.microsoft.com) Introduction A few weeks ago, I wrote about Executing Commands and Bypassing AppLocker with PowerShell Diagnostic Scripts. Overall, it was a viable technique that allowed for the loading of .NET/C# assemblies. However, PowerShell Constraint Language Mode proved to be a viable mechanism for defeating this technique if strictly enforced by UMCI/system policies […]

uncategorized

1 min read

While working on private stuff I’ve encountered a moment when I was in need to create a web-based user interface for the application I’ve been developing lately. In this post, I’m going to briefly describe why I’ve decided to use Node.js for generating HTML on the server side and how I’ve taken advantage of the javascript on the server side…

Stanko 1 min read

Short one today. I'm continuing to release small libraries. So let me present react-ratio, another small React component. You probably guessed what it does - creates element with the given aspect ratio. Check the demo or grab the source code

22 Jan 2018

Matt Cutts 1 min read

Last week, I passed my one year anniversary as head of the US Digital Service (USDS). So when Mr. Money Mustache asked for an interview, I was delighted to talk about some of the work that the USDS does. If you aren’t familiar with Mr. Money Mustache, he writes about a philosophy of badassity in […]

productivity

Stanko 1 min read

I just released tiny library called has-tabbed. Again, it is a small piece of code I regularly copy from project to project. I always considered it too insignificant for releasing it as a standalone package. When user presses tab key, it adds CSS classBy default --tabbed is used, but it accepts custom class as parameter. to html element. Then, if…

21 Jan 2018

2 min read

I have recently received a job offer to work on a blockchain implementation. While the offer was very generous, I had to turn it down. In this post I want to collect the thoughts that went into my decision process leading to this conclusion. Introduction I have not touched blockchain technology much before, other than reading the original Bitcoin paper…

19 Jan 2018

18 Jan 2018

16 Jan 2018

Matthew Green 6 min read

Last week Apple made an announcement describing changes to the iCloud service for users residing in mainland China. Beginning on February 28th, all users who have specified China as their country/region will have their iCloud data transferred to the GCBD cloud services operator in Guizhou, China. Chinese news sources optimistically describe the move as a way to … Continue reading…

apple

Dave Cheney 8 min read

What does a distro provide? The most popular docker base container image is either busybox, or scratch. This is driven by a movement that is equal parts puritanical and pragmatic. The puritan asks “Why do I need to run init(1) just to run my process?” The pragmatist asks “Why do I need a 700 meg […]

programmingsmall ideas

15 Jan 2018

blog.muffn.io (muffn_) 1 min read

Intro # So it’s that time of year again when my girlfriend and I decided we wanted to move, after a few months of searching we found a very cosy (and a not so cosy rent price to go with it) flat in Zone 1/2, London. Without boring you with a life story, the aim of this move was to…

14 Jan 2018

12 Jan 2018

lukaseder 1 min read

jOOQ’s main value proposition is obvious: Type safe embedded SQL in Java. People who actively look for such a SQL builder will inevitably stumble upon jOOQ and love it, of course. But a lot of people don’t really need a SQL builder – yet, jOOQ can still be immensely helpful in other situations, through its … Continue reading Top 5…

jooq-in-usesqlhidden featuresjooq

Joel Spolsky 7 min read

My new year’s resolution was to give up on reading Twitter and Facebook. Read more "Birdcage liners"

news

11 Jan 2018

10 Jan 2018

Matthew Green 9 min read

If you’ve read this blog before, you know that secure messaging is one of my favorite topics. However, recently I’ve been a bit disappointed. My sadness comes from the fact that lately these systems have been getting too damned good. That is, I was starting to believe that most of the interesting problems had finally been solved. … Continue reading…

attacksmessaging

9 Jan 2018

Kalle Happonen 3 min read

Three serious CPU vulnerabilities were revealed last week, and they require immediate action. Both we as providers and you as customers are affected. Update the kernels on your virtual machines and reboot your virtual machines. 2018-01-10 13:45: Ubuntu has released new kernel patches, which should work. We recommend upgrading the kernels on Ubuntu and rebooting the virtual machines. Why is…

1 min read

If because of reasons you have to run Maria/Postgres/Oracle on localhost for development and you often import database dumps into it you probably spend some time waiting for DB to be ready to use. In this post, I’m going to show you how you can automate the whole process and save some time doing it with docker. Read more