~/devreads

8 May 2018

7 May 2018

Junior Grossi 4 min read

Laravel is a PHP framework that uses Eloquent, a powerful and amazing ORM that allows you to do complex SQL queries in a very easy way. But sometimes you need more, and here I’m gonna give you an interesting tip that can bring you a lot of flexibility. When dealing with simple database queries in … Continue reading Querying and…

laravelphp

jgamblin 1 min read

Recently I have noticed that companies that use Google Suite have a fairly common misconfiguration that is making their internal groups public. In some cases it is just the name of the groups but in some extreme cases the content of the posts are public. Testing for this misconfiguration on your domain is as easy as looking at: https://groups.google.com/a/%yourdomain.tld%/forum/#!forumsearch/ Google…

uncategorized

Jan Lelis 5 min read

Regexes, the go-to-mechanism for string matching, must not only be written, but also need to be applied. This episode acts as a reference with some style advice for working with regular expressions in Ruby. If you are looking for resources on writing the actual regexes, take a look at the link collection at the bottom. What do you Want to…

5 May 2018

Edward Faulkner 1 min read

There is definitely an intimidation factor some people feel about integrating things into Ember apps. While there are plenty of things I want to make easier too, I think a large amount of the perception only comes from lack of good learning materials. Toward that goal, I made this screencast

videos

4 May 2018

6 min read

Testing mobile applications is not always an easy feat. In addition to defining what to test and determining how to write those tests, actually running tests can also be problematic — in particular, UI test suites running on real mobile devices or emulators sometimes run for an extensive amount of time.

3 May 2018

Michael Carroll 1 min read

How capacitive touch sensing, works and some different applications. This tech is used for DIY/Arduino projects as well as consumer products

2 May 2018

lukaseder 1 min read

When inserting records into SQL databases, we often want to fetch back generated IDs and possibly other trigger, sequence, or default generated values. Let’s assume we have the following table: DB2 DB2 is the only database currently supported by jOOQ, which implements the SQL standard according to which we can SELECT from any INSERT statement, … Continue reading How to…

javasqlarray typesbatch insertbatch insertion

Jan Lelis 4 min read

When you get farther upwards the steep hill that is Ruby mastery, you will come across some powerful, yet slightly evil methods: instance_eval and class_eval¹. They allow you to execute code and define methods tied to a specific class, at the same time giving you access to outer scope variables through the Ruby block syntax. Their exact behavior varies, depending…

1 May 2018

0xADADA 33 min read

Alarm goes off, time to wake up. Snooze alarm, and then repeat: check email, check Facebook, check Twitter, check Snapchat, rinse; repeat again; no new posts? Check again. No second spared to compose a thought; dreams fade away. Day continues just the same way — rise, rinse, repeat, repeat. Can’t spare time to sit and relax, can’t let your mind…

essaysprivacyfacebook

30 Apr 2018

29 Apr 2018

1 min read

So, you’ve got a program that’s using more and more over time as it runs. Probably you can immediately identify this as a likely symptom of a memory leak. But when we say “memory leak”, what do we actually mean? In my experience, apparent memory leaks divide into three broad categories, each with somewhat different behavior, and requiring distinct tools…

10 min read

This post explores unit testing in no_std executables using Rust’s built-in test framework. We will adjust our code so that cargo test works and add some basic unit tests to our VGA buffer module. This blog is openly developed on GitHub. If you have any problems or questions, please open an issue there. You can also leave comments at the…

28 Apr 2018

bohops 7 min read

TL;DR This post discusses an alternate DCOM lateral movement discovery and payload execution method. The primary gist is to locate DCOM registry key/values that point to the path of a binary on the ‘remote’ machine that does not exist. This example method is likely to work if mobsync.exe is not in \\target\admin$\system32\, which is default […]

uncategorized

27 Apr 2018

26 Apr 2018

kevin 3 min read

Want to know how to get rough profiling of any tool written in any language, whether you control the source or not? Keep reading. For example, here's the output you get when you compile Go from source code. Each of these lines prints out a few seconds apart. How would you go about getting timings […]

code

Matthew Green 12 min read

Yesterday I happened upon a Wired piece by Steven Levy that covers Ray Ozzie’s proposal for “CLEAR”. I’m quoted at the end of the piece (saying nothing much), so I knew the piece was coming. But since many of the things I said to Levy were fairly skeptical — and most didn’t make it into the … Continue reading A…

applebackdoors

25 Apr 2018

1 min read

Java With The Best is a new Java conference in a series of developer conferences powered by BeMyApp. There are 2 main properties that differentiate this event from other conferences you may have attended – everything takes place online, without a physical venue, and attendees can book virtual 1-1 sessions with the speakers. The event featured 58...

javajava 9java with the besttalkspeaking

0xADADA 1 min read

This talk is a code walkthrough, implementing a date picker to showcase the power of ember-changeset and contextual components. Given at the Ember Boston Community meetup. Ember-changeset is an addon that provides an abstraction over Ember models such that only valid data will ever be set in a model. Contextual components are a set of conventions that allow a developer…

talksjavascriptweb developmentember.jscontextual components

24 Apr 2018

Jukka Nousiainen 7 min read

After releasing object storage in cPouta, we've been asked quite a lot about various use cases. Thus we're starting a blog series to showcase some of them. NFS which is used for file sharing within project network ZFS which is used as encrypting file storage Ansible which is used for configuration management S3 as the chosen API for uploading objects.…

23 Apr 2018

Dominic Steinitz 1 min read

I’m the chair this year for the first(!) ACM SIGPLAN International Workshop on Numerical Programming in Functional Languages (NPFL), which will be co-located with ICFP this September in St. Louis, Missouri, USA. Please consider submitting something! All you have to do is submit between half a page and a page describing your talk. There will … Continue reading Workshop on…

numerical methods

Joel Spolsky 6 min read

There's this popular idea among developers that when you face a problem with code, you should get out a rubber duck and explain, to the duck, exactly how your code was supposed to work. Read more "Strange and maddening rules"

news

Lucas Arundell 7 min read

If there was one word to describe the theme of JSConfIS it would be experience. Beyond the wonder and fantastical environment of the conference’s location and backdrop (hosted in Reykjavik, Iceland at their world-famous Harpa concert hall) – the majority of talks focused on topics relating to both the user and the developer experience too. The […]

frontenddesignhow we work

Junior Grossi 10 min read

Having a clean code with single responsibility is important, and doing that for model filtering can be easy and very powerful. Believe me. This blog post is related to a talk I gave on April, 2018 on Darkmira Tour PHP 2018, in Brasília/DF, Brazil, with the same title. The slides are on SpeakerDeck. Filtering models … Continue reading QueryFilter: A…

laravelopen sourcephptalks

22 Apr 2018

1 min read

Expect tests are a technique I’ve written about before, but until recently, it’s been a little on the theoretical side. That’s because it’s been hard to take these ideas out for a spin due to lack of tooling outside of Jane Street’s walls.

21 Apr 2018

jonskeet 8 min read

This blog post is effectively a log of my experience with the preview of the C# 8 nullable reference types feature. There are lots of caveats here: it’s mostly “as I go along” so there may well be backtracking. I’m not advising the right thing to do, as I’m still investigating that myself. And of … Continue reading First steps…

c# 8noda time

Matthew Green 10 min read

In general I try to limit this blog to posts that focus on generally-applicable techniques in cryptography. That is, I don’t focus on the deeply wonky. But this post is going to be an exception. Today, I’m going to talk about a topic that most “typical” implementers don’t — and shouldn’t — think about. Specifically: … Continue reading Wonk post:…

uncategorized

19 Apr 2018

Colin Schimmelfing 7 min read

For data engineers and analysts, it’s pretty common to get questions about missing or incorrect data. “Hey Data Engineer, there’s an issue with the data – I expect numbers at least 20% higher than what our reporting tools show. Can you take a look?” If you’ve ever been responsible for a Business Intelligence pipeline, you’ve […] The post Save sanity…

generalanalyticsdata

lukaseder 1 min read

Something that has been said many times, but needs constant repeating until every developer is aware of the importance of this is the performance difference between row-by-row updating and bulk updating. If you cannot guess which one will be much faster, remember that row-by-row kinda rhymes with slow-by-slow (hint hint). Disclaimer: This article will discuss … Continue reading The Performance…

sqlbatch operationbatch updatebulk operationbulk update

18 Apr 2018

1 min read

We’re releasing an experimental metalearning approach called Evolved Policy Gradients, a method that evolves the loss function of learning agents, which can enable fast training on novel tasks. Agents trained with EPG can succeed at basic tasks at test time that were outside their training regime, like learning to navigate to an object on a different side of the room…

research

1 min read

Managing and versioning a bunch of connected libraries or services is hard. It doesn’t matter if you are a consumer or a provider of it. In this post, I’m exploring two simple solutions which might come in handy if you develop an ecosystem of libraries/services or when you are a consumer of those. It is all about semantic versioning and…

17 Apr 2018

Stephen Blum 1 min read

Built with ‘security by design’, PubNub was built with developers in mind. And with onset of GDPR, PubNub delivers key components to help you comply.

16 Apr 2018

1 min read

How the new Datadog Agent written in Go runs Python checks.

13 Apr 2018

jonskeet 8 min read

I started writing a blog post about versioning in July 2017. I’ve mostly abandoned it, because I think the topic is too vast for a single post. It potentially needs a whole site/wiki/repository devoted to it. I hope to come back to it at some point, because I believe this is a hugely important topic … Continue reading Backward compatibility…

c#evil code

Joel Spolsky 5 min read

I had to think for a minute to realize that Stack Overflow has “gamification" too. Not a ton. Maybe a dusting of gamification, most of it around reputation. Read more "A Dusting of Gamification"

news

lukaseder 1 min read

In a previous blog post, I wrote about why you should (almost) always default to using bind variables. There are some exceptions, which I will cover in another follow-up post, but by default, bind variables are the right choice, both from a performance and from a security perspective. In this article, I will show an … Continue reading When Using…

sqlbind variablescursor cachedynamic sqlexecution plan cache

1 min read

Every now and then I hear some ridiculous things about the equals symbol. Some large subset of programmers—perhaps related to functional programmers, perhaps not—seem to think that = should only and ever mean “equality in the mathematical sense.” The argument usually goes, Functional programming gives us back that inalienable right to analyze things by using mathematics. Never again need we…

12 Apr 2018

lukaseder 1 min read

A common problem with dynamic SQL is parsing performance in production. What makes matters worse is that many developers do not have access to production environments, so they are unaware of the problem (even if there’s nothing new about this topic). What exactly is the problem? Execution plan caches Most database vendors these days ship … Continue reading Why SQL…

sqlbind valuesbind variablescursor cacheexecution plan cache

11 Apr 2018

1 min read

iframe { height: 800px; width: 100%; margin: 0 auto; border: 5px solid #E0F7FA; border-radius: 3px; } When you have a float CSS property on a box (with a value different than none), this box must be laid out according to the float positioning algorithm. Loosely, it says: if the box has float:left, the box is positioned at the beginning of…

10 Apr 2018

lukaseder 1 min read

In a previous blog post, I’ve shown how the programmatic MockDataProvider can be used to mock the entire JDBC API through a single functional interface: Writing the provider manually can be tedious in some cases, especially when a few static SQL strings need to be mocked and constant result sets would be OK. In that … Continue reading Mocking JDBC…

javajooq-in-usedatabase mockingjdbc mockingjooq

9 Apr 2018

7 Apr 2018

Matthew Green 22 min read

Over the past several years I’ve been privileged to observe two contradictory and fascinating trends. The first is that we’re finally starting to use the cryptography that researchers have spent the past forty years designing. We see this every day in examples ranging from encrypted messaging to phone security to cryptocurrencies. The second trend is … Continue reading Hash-based Signatures:…

uncategorized

6 Apr 2018

Joel Spolsky 6 min read

I want to catch you all up on some stuff but mostly I want to tell the story of Stack Overflow in a not-completely-disorganized way. Read more "The Stack Overflow Age"

stack overflownews

5 Apr 2018

1 min read

We’re launching a transfer learning contest that measures a reinforcement learning algorithm’s ability to generalize from previous experience.

research

4 Apr 2018

1 min read

One of the joys of working at Jane Street for the last 15 or so years has been seeing how our software stack has grown in scope. When I started, I was building pretty narrowly focused systems for doing statistical research on trading strategies, and then building systems for executing those same strategies.

3 Apr 2018

lukaseder 1 min read

In some cases, it’s really useful to be able to compile a class at runtime using the java.compiler module. You can e.g. load a Java source file from the database, compile it on the fly, and execute its code as if it were part of your application. In the upcoming jOOR 0.9.8, this will be … Continue reading How to…

java 10java 8java 9in-memory compilationjava compiler

2 Apr 2018

Junior Grossi 8 min read

Working remotely is the dream job of most developers I know. It’s a hard process but it’s totally possible. Now you got the best job you could . Enjoy your new life! The beginning. The dream. Do you remember yourself some weeks/months ago? The first interview you did (maybe you’re not a native English speaker like … Continue reading Congratulations!…

careersprogrammingremote work

1 Apr 2018

30 Mar 2018

29 Mar 2018

28 Mar 2018