~/devreads

22 Mar 2020

Henrik Warne 6 min read

I really like Secure by Design. The key idea is that there is a big overlap between secure code and good software design. Code that is strict, clear and focused will be easier to reason about, and will have fewer … Continue reading →

learningprogrammingdesignsecurity

20 Mar 2020

ericlippert 3 min read

Good Friday afternoon all and welcome to this working-from-home-and-obsessively-washing-hands edition of FAIC. I am posting today from my recently-transformed spare room which is now apparently my office. Scott Hanselman started a great twitter thread of techies showing off their home … Continue reading →

uncategorized

0xADADA 4 min read

This articles describes the difference between how component invocation differs when using curlies {​{...}}, angle brackets <...> or an (...) s-expression in Ember templates. Ember has three methods for invoking components and helpers in a template, either of the three can be used to invoke both classic and modern glimmer components. The “classic” syntax in the form that uses curly…

projectsopen-sourcesoftware-developmentember.jsweb development

Tina Vinod 1 min read

Professionals are spending more hours ‘at work’ than ever before. This could be credited to the evolving nature of business priorities coupled with how connected we are today. Organizations like Thoughtworks are working to both understand how this lifestyle change has impacted employees and therefore provide more support.

19 Mar 2020

Ruslan Spivak 8 min read

“What I cannot create, I do not understand.” — Richard Feynman As I promised you last time, today we’re going to expand on the material covered in the previous article and talk about executing nested procedure calls. Just like last time, we will limit our focus today to procedures that can access their parameters and local variables only. We will…

Gitanjali Venkatraman 1 min read

In the second of our illustrated guides to all things crypto, we look at the hugely influential RSA algorithm and explore some of the mathematical concepts underpinning it.

18 Mar 2020

17 Mar 2020

David Walsh 2 min read

JavaScript promises have always been a major win for the language — they’ve led to a revolution of asynchronous coding that has vastly improved performance on the web. One shortcoming of native promises is that there’s no true way to cancel a fetch…until now. A new AbortController has been added to the JavaScript specification that will allow developers to use…

David Walsh 1 min read

It happens less frequently these days but there are times when we need to accommodate for a HTTP request timing out. The service could be down, under heavy traffic, or just poorly coded, or any host of other issues. Whenever I need to simulate a long HTTP request, I use a bit of PHP to make it happen: <?php //…

16 Mar 2020

Meg Bednarcik 9 min read

A word of caution from a former AP Computer Science teacher who, with zero real-world programming experience, quit her dependable teaching gig to become a software engineer: Imposter Syndrome is never late to class. When we grow competent in our craft, yet continue to feel unqualified for our role, that feeling is known as "Imposter […] The post “Do I…

lifedeveloper toolseducationguide

15 Mar 2020

0xADADA 8 min read

A central issue of contestation is elasticity versus discipline, elasticity for me and discipline for you, alchemy of banking and money funding for me, austerity and borrowing/payment for you. Like 2009, the (coming/arriving) financial collapse of 2020 will reveal the asymmetry of power between the financial sector and the rest of the economy, and it’ll especially highlight how the financial…

essayseconomics

14 Mar 2020

13 Mar 2020

AJ Iniguez, Eduardo Meneses 1 min read

Over the years, the world has seen remarkable and rapid advancements in technology which are deeply impacting society. Despite this, we continue to struggle with issues such as poverty, violence, and climate change. At Thoughtworks, we believe that technologists have a unique role to play in how we can positively impact society and push for a more equitable tech future.

12 Mar 2020

Schakko 3 min read

Sophos’ access points are very sensitive with PoE enabled cable connections. If your access point gets disconnected, disable PoE for the given Ethernet port. As a long time reader of my blog, you might know that I am struggling a lot with curious issues like broken L2TP/IPSec VPN connections. This […] The post Sophos UTM and AP15: fixing “ll_read: dead…

networkinguncategorized

1 min read

Alex Gaynor recently asked this question in an IRC channel I hang out in (a channel which contains several software engineers nearly as obsessed with software testing as I am): uhh, so I’m writing some code to handle an econnreset… how do I test this? This is a good question! Testing ECONNRESET is one of those fiddly problems that exists…

11 Mar 2020

srinivas.tamada@gmail.com (Srinivas Tamada) 1 min read

This article is more about understanding the Event Emitters in Angular and Ionic. Data flow is the most important when you build an application to communicate with components. Event Emitters will help you to even bind using @Input @Output decorators. Here is a simple example to display and update the user profile using Angular Event Emitters. For this demo I…

angularcomponentsevent emittersionicjavascript

11 min read

I've been comparing notes with people who run corporate engineering blogs and one thing that I think is curious is that it's pretty common for my personal blog to get more traffic than the entire corp eng blog for a company with a nine to ten figure valuation and it's not uncommon for my blog to get an order of…

10 Mar 2020

ericlippert 2 min read

Here’s an interesting question I saw on StackOverflow recently; it was interesting because the answer seems obvious at first, but making a small change to the question makes the answer very different. The original question was: suppose we have an … Continue reading →

asynchronyc#

Chris Mills 7 min read

The release of Firefox 74 is focused on security enhancements: Feature Policy, the Cross-Origin-Resource-Policy header, and removal of TLS 1.0/1.1 support. We’ve also got some new CSS text property features, the JS optional chaining operator, and additional 2D canvas text metric features, along with the usual wealth of DevTools enhancements and bug fixes. The post Security means more with Firefox…

developer toolsfeatured articlefirefoxfirefox development highlightssecurity

Dave Cheney 1 min read

The testing package is one of my favourite packages in the Go standard library, not just because of its low noise approach to unit testing, but, over the lifetime of Go, it has received a steady stream of quality of life improvements driven by real world usage. The most recent example of this is, in […]

goprogrammingtestingunit test

1 min read

Explore Inverse Document Frequency (IDF), a key concept in search & text mining. Learn how it quantifies term rarity and its connection to probability.

Matthew Johnston 1 min read

Every year, The Shaw Trust produces a list called ‘The Power 100’. It’s a list of the 100 most influential disabled people in the UK. Last year, I read the list with interest and noticed that most of them were entrepreneurs or worked in the public or non-profit sectors. There was hardly anyone from the corporate world. I was disappointed…

9 Mar 2020

David Walsh 3 min read

With the coronavirus spreading and employers telling employees work from home if possible, there are scores of people getting their first taste of working remotely. Depending on your experience and discipline levels, this could be a welcomed change or a complete culture shock. The amount of freedom your find yourself in can be similar the leaving high school — no…

AJ Iniguez, Christin Westermann 1 min read

Over the years, the world has seen remarkable and rapid advancements in technology which are deeply impacting society. Despite this, we continue to struggle with issues such as poverty, violence, and climate change. At Thoughtworks, we believe that technologists have a unique role to play in how we can positively impact society and push for a more equitable tech future.

8 Mar 2020

0xADADA 1 min read

The Laughing Man 笑(わらい) い 男(おとこ) (warai otoko) is a fictional character in the anime series Ghost in the Shell: Stand Alone Complex. This lil’ project is an animated SVG using CSS transforms to rotate the text. The Laughing Man logo is an animated image of a smiling figure wearing a cap, with circling text quoting a line from Salinger’s…

projectsopen-sourcegraphicsdesign

7 Mar 2020

6 Mar 2020

Matthew Green 7 min read

Yesterday a bipartisan group of U.S. Senators introduced a new bill called the EARN IT act. On its face, the bill seems like a bit of inside baseball having to do with legal liability for information service providers. In reality, it represents a sophisticated and direct governmental attack on the right of Americans to communicate … Continue reading EARN IT…

backdoors

lukaseder 1 min read

When using jOOQ to create dynamic SQL statements (one of jOOQ’s core value propositions), it is often necessary to add query elements conditionally, with a default “No-op” behaviour. For first time users, this default “no-op” behaviour is not always obvious as the jOOQ API is vast, and as with any vast API, there are many … Continue reading Create Empty…

jooq-in-useconditional sql clausesdynamic sqlempty sql clausesjooq

David Walsh 1 min read

We’ve used hex colors for years but 8-digit hexadecimal is still relatively new. While rgba is simple to understand, 8-digit hex is more difficult, as you need to provide a hex representation of a numeric value. The following is a hexadecimal chart of opacity! Opacity ValueHex Code 100FF 99FC 98FA 97F7 96F5 95F2 94F0 93ED 92EB 91E8 90E6 89E3 88E0…

5 Mar 2020

lukaseder 1 min read

Most jOOQ users use the jOOQ DSL API, which provides compile time type safety and an easy way to write dynamic SQL. But occasionally, this DSL get in the way, because it might be In such cases, you can still benefit from jOOQ’s many secondary features, including for example its nice integration with the Stream … Continue reading Using Java…

jooq-in-usejava 13java 14jooqmulti line strings

4 Mar 2020

Jamie White 5 min read

In the early years of web development, there were three standard fundamentals upon which every website was built: HTML, CSS, and JavaScript. As time passed, web developers became more proficient in their construction of fancy UI/UX widgets for websites. With the need for newer ways of crafting a site coming in conflict with the relatively […] The post Building with…

engineeringdeveloper toolsjavascriptproduct features

Jim Blandy 16 min read

Optimizing the integration of Firefox Developer Tools with the SpiderMonkey JavaScript engine has resulted in many benefits, including the new asynchronous call stack tracking now available in Firefox Developer Edition. In this post you can learn how that was done, down to detailed changes to memory management. The post Future-proofing Firefox’s JavaScript Debugger Implementation appeared first on Mozilla Hacks -…

developer toolsfeatured articlefirefoxjavascriptdebugging

lukaseder 1 min read

jOOQ supports a vast amount of SQL syntax out of the box. As such, most users will not think of resorting to string concatenation like in the old days when writing dynamic SQL with JDBC. But every now and then, a vendor specific feature is not supported by jOOQ (yes, it happens). In that case, … Continue reading Never Concatenate…

jooq-in-usedynamic sqljooqplain sqlplain sql templating

3 Mar 2020

jonskeet 3 min read

My current clunky “put all the code in the view” approach to V-Drum Explorer is creaking at the seams. I’m really not a WPF developer, and my understanding of MVVM is more theoretical than practical. I’ve read a reasonable amount, but quite a lot of aspects of V-Drum Explorer don’t really fit with the patterns … Continue reading V-Drum Explorer:…

v-drums

lukaseder 1 min read

It appears that our recent beginner SQL articles explaining SQL syntax were quite popular. These include: A Beginner’s Guide to the True Order of SQL Operations A Probably Incomplete, Comprehensive Guide to the Many Different Ways to JOIN Tables in SQL 10 Easy Steps to a Complete Understanding of SQL How SQL DISTINCT and ORDER … Continue reading 5 Ways…

sqlparenthesessql syntaxsyntax

19 min read

My hobby: opening up McIlroy’s UNIX philosophy on one monitor while reading manpages on the other. The first of McIlroy's dicta is often paraphrased as "do one thing and do it well", which is shortened from "Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new 'features.'" McIlroy's…

Dr. Martin Kramer, Martin Milcke 1 min read

The dispute about software development methods is over. The agile organization is set to establish itself as the dominant organizational form. Current literature, specifically that relating to agile software development, impressively demonstrates this, both in empirical research and in theory.

2 Mar 2020

Francis Lacoste 3 min read

Meditation, like the foundations of software, is built on top of a binary state: an inhale and an exhale, a breath in and a breath out, a one and a zero. We often believe that to engage in meditation, we need to place ourselves in a room of absolute silence, to dress in comfortable linens, […] The post Culture at…

lifeeducationplatform updates

David Walsh 1 min read

Having a default commit message is really useful for a number of reasons: It can formalize your commit messages It serves as a good reminder for the information you should add to your commit message, like issue number If you set it to “Drunk AF, don’t accept this” To set a default commit message on your local machine, start by…

lukaseder 1 min read

A very common misconception I often encounter with SQL users is the idea that DISTINCT is something like a function, and that it can take parenthesised arguments. Just recently, I’ve seen this Stack Overflow question where the OP was looking for a way to express this in jOOQ: Notice the parentheses around (emp.id), which look … Continue reading SQL DISTINCT…

sqldistinctdistinct ontop 1 per category