Networking expert Glenn Fielder’s article on network serialization techniques is a great read. It discusses a number of scenarios including serializing a sparse set of items from an array. This blog post discusses Glenn’s implementation of sparse array serialization and my thoughts on it. To be sure, Glenn’s code has the virtue of simplicity, and the concepts I’m going to discuss are more […]
|
|
Man, this is a good cup of tea. Feels good, letting the warmth soak through my hands. You know the best thing about tea? When fresh it’s too hot to drink. You’re forced to be still for a moment, enjoy the anticipation. Here, pour yourself a cup and pull up a chair - this is the perfect moment to let our minds go wandering. Have you had enough about AlphaGo and Lee Sedol? Yeah, it’s been everywhere. I like writing AIs for games as much a....
|
Microsoft recently announced Windows Subsystem for Linux (WSL) which allows you to run some Linux binaries
|
|
We introduced the justified layout on Flickr.com late in 2011. Our community of photographers loved it for its ability to efficiently display many photos at their native aspect ratio with visually pleasing, consistent whitespace, so we quickly added it to … Continue reading →
|
|
We introduced the justified layout on Flickr.com late in 2011. Our community of photographers loved it for its ability to efficiently display many photos at their native aspect ratio with visually pleasing, consistent whitespace, so we quickly added it to … Continue reading →
|
|
In this post, we explain how the "Buffer" class works, and why it behaves the way it does. We’ll run an exploit against a vulnerable application, to better demonstrate the ramifications.
|
|
I was interviewed for one of my favorite podcasts ever: The Start FM. The conversation is about how I got to be where I am now and what it means to be so young in the industry.
|
|
In the first post in our series on Distributed Development challenges and solutions, we examined people-related enablers. In this second post, we will look at process-related enablers.
|
|
Every week you get an invitation to a blockchain conference. Every magazine and newspaper has an article about blockchain, and every company you talk to has an “innovation lab” working on blockchain. You’ve spent more than a few idle moments imagining the possibility and promise blockchain could bring to, well, just about anything! But then you go back to work and nothing has changed, and things are getting even more complicated than before..
|
|
Our current IntelliJ/IDEA plugin is seriously behind the times. In our recent survey it was very easy to spot IDEA developers who were significantly less satisfied with Codename One than the rest of the developer community. The IDEA plugin doesn’t include basic capabilities such as: Java 8 Support The New GUI builder New Default application look/themes/icon Builtin demo apps The Generate Native Access functionality ..
|
|
Today I tell you about one of my favorite benchmarks (this method doesn’t return a useful value, we need it only as an example): [Benchmark] public string Sum () { double a = 1 , b = 1 ; var sw = new Stopwatch (); for ( int i = 0 ; i < 10001 ; i ++) a = a + b ; return string . Format ( "{0}{1}" , a , sw . ElapsedMillise..
|
|
Today I tell you about one of my favorite benchmarks (this method doesn’t return a useful value, we need it only as an example): [Benchmark] public string Sum () { double a = 1 , b = 1 ; var sw = new Stopwatch (); for ( int i = 0 ; i < 10001 ; i ++) a = a + b ; return string . Format ( "{0}{1}" , a , sw . ElapsedMillise..
|
|
UITableView UICollectionView: Killing stringly typed cells with Swift
-
techblog.thescore.com
-
10 years ago
-
eng
pUITableView amp; UICollectionView are the bread and butter of many iOS applications. However, dequeuing cells with string identifiers can result in brittle code that doesn#39;t scale as table complexity increases. We#39;re going to look at using Swift#39;s type system to get rid of the ad-hoc typing we get from using string identifiers and eliminate the need for type casts in the process./p h2Introduction/h2 pIt#39;s helpful to look at th....
|
|
Memory unsafety and memory leaks are arguably the two categories of bugs that have received the most attention for prevention and mitigation. As their names suggest, they are in the same part of “bug space”, however they are in some ways diametric opposites, and solving one does not solve the other. The widespread use of memory-safe managed languages hammers this point home: they avoid some memory unsafety by presenting a “leak everyt....
|
Few weeks ago, we did a redesign of our product - VWO. It wasn't a complete overhaul from scratch, but some major design decisions were…
|
|
I just migrated this site from Octopress to Hugo . Expect problems (and hopefully more frequent updates).
|
|
26 + \frac{1}{5 + \frac{1}{12 + \frac{1}{12 + \frac{1}{25 + \frac{1}{14 + \cdots}}}}} $$ Last night I lay thinking of Continued Fractions , trying to understand not just the notation, but what they mean. Trying to pull apart and unwind smaller and smaller parts of these recurrent shapes gave way, as I fell asleep, to the same kind of recursive unwinding, but of my own past. I dreamed all night of scattered childhood memories. At one po..
|
|
Welcome to my new site. I’m just trying to get everything working: expect both style and substance later. For now, my old site is probably more interesting.
|
|
Jenkins 2.0 Introduction Recently maintainers of Jenkins - the leading and most popular open source automation server - announced that long awaited version 2.0 is available to download and additionally it is marked as a beta release . It means that they’re still recommending current LTS version for a production deployments, but new version is coming really soon. So let’s look what it offers! What’s new? Improved usability (aka “N....
|
|
Our existing Windows Phone port has already gone thru 3 rewrites and a community rewrite and we are hard at work on the 4th rewrite (or 5th counting the community port). However, we decided to take a radically different direction with the new port and with backwards compatibility to allow better scale. So let’s start with the “bad news” and follow by an explanation of why and how we plan to do that.
|
|
Sup, let me give you fair warning here. Everything contained in this post is my opinion so don’t go getting your panties all in a knot on Hacker News because you don’t agree with me. I could honestly care less, because that’s the thing about my opinion , it’s mine. I am going to give you my honest and dare I say it “blunt” opinion about each of the Docker graphdrivers so you can decide for yourself which one is the best one for you. No....
|
|
It's 2016, And You're STILL Doing Forms Wrong (And So Is Your Framework)! [Part 3]
-
cscrunch.com
-
10 years ago
-
eng
Part 1: What's missing in Form Security Part 2: Forms—A better way Part 3: Defiant—A step toward unification Defiant: A Proposal For Tool Unification. Defiant is a Node.js module that I am writing to answer the problems that I will address in this post. First of all I must address the question: "Why the name 'Defiant'?" In order to do so, I must first make sure that you understand the mindset of current development (mainly addres....
|
|
It's 2016, And You're STILL Doing Forms Wrong (And So Is Your Framework)! [Part 3]
-
cscrunch.com
-
10 years ago
-
eng
Part 1: What's missing in Form Security Part 2: Forms—A better way Part 3: Defiant—A step toward unification Defiant: A Proposal For Tool Unification. Defiant is a Node.js module that I am writing to answer the problems that I will address in this post. First of all I must address the question: "Why the name 'Defiant'?" In order to do so, I must first make sure that you understand the mindset of current development (mainly addres....
|
|
It's 2016, And You're STILL Doing Forms Wrong (And So Is Your Framework)! [Part 3]
-
cscrunch.com
-
10 years ago
-
eng
Part 1: What's missing in Form Security Part 2: Forms—A better way Part 3: Defiant—A step toward unification Defiant: A Proposal For Tool Unification. Defiant is a Node.js module that I am writing to answer the problems that I will address in this post. First of all I must address the question: "Why the name 'Defiant'?" In order to do so, I must first make sure that you understand the mindset of current development (mainly addres....
|
|
It's 2016, And You're STILL Doing Forms Wrong (And So Is Your Framework)! [Part 3]
-
cscrunch.com
-
10 years ago
-
eng
Part 1: What's missing in Form Security Part 2: Forms—A better way Part 3: Defiant—A step toward unification Defiant: A Proposal For Tool Unification. Defiant is a Node.js module that I am writing to answer the problems that I will address in this post. First of all I must address the question: "Why the name 'Defiant'?" In order to do so, I must first make sure that you understand the mindset of current development (mainly addres....
|
|
It's 2016, And You're STILL Doing Forms Wrong (And So Is Your Framework)! [Part 3]
-
cscrunch.com
-
10 years ago
-
eng
Part 1: What's missing in Form Security Part 2: Forms—A better way Part 3: Defiant—A step toward unification Defiant: A Proposal For Tool Unification. Defiant is a Node.js module that I am writing to answer the problems that I will address in this post. First of all I must address the question: "Why the name 'Defiant'?" In order to do so, I must first make sure that you understand the mindset of current development (mainly addres....
|
|
It's 2016, And You're STILL Doing Forms Wrong (And So Is Your Framework)! [Part 3]
-
cscrunch.com
-
10 years ago
-
eng
Part 1: What's missing in Form Security Part 2: Forms—A better way Part 3: Defiant—A step toward unification Defiant: A Proposal For Tool Unification. Defiant is a Node.js module that I am writing to answer the problems that I will address in this post. First of all I must address the question: "Why the name 'Defiant'?" In order to do so, I must first make sure that you understand the mindset of current development (mainly addres....
|
|
It's 2016, And You're STILL Doing Forms Wrong (And So Is Your Framework)! [Part 2]
-
cscrunch.com
-
10 years ago
-
eng
Part 1: What's missing in Form Security Part 2: Forms—A better way Part 3: Defiant—A step toward unification Forms—A better way The better form processing that I propose is inspired by Drupal, but furthers the idea to improve on it. In order to properly understand the approach, though, you should understand how Cryptographic Signing (specifically, Authenticated Encryption ) and the Galois Counter Mode (GCM) operate. A quick o....
|
|
It's 2016, And You're STILL Doing Forms Wrong (And So Is Your Framework)! [Part 2]
-
cscrunch.com
-
10 years ago
-
eng
Part 1: What's missing in Form Security Part 2: Forms—A better way Part 3: Defiant—A step toward unification Forms—A better way The better form processing that I propose is inspired by Drupal, but furthers the idea to improve on it. In order to properly understand the approach, though, you should understand how Cryptographic Signing (specifically, Authenticated Encryption ) and the Galois Counter Mode (GCM) operate. A quick o....
|
|
It's 2016, And You're STILL Doing Forms Wrong (And So Is Your Framework)! [Part 2]
-
cscrunch.com
-
10 years ago
-
eng
Part 1: What's missing in Form Security Part 2: Forms—A better way Part 3: Defiant—A step toward unification Forms—A better way The better form processing that I propose is inspired by Drupal, but furthers the idea to improve on it. In order to properly understand the approach, though, you should understand how Cryptographic Signing (specifically, Authenticated Encryption ) and the Galois Counter Mode (GCM) operate. A quick o....
|
|
It's 2016, And You're STILL Doing Forms Wrong (And So Is Your Framework)! [Part 2]
-
cscrunch.com
-
10 years ago
-
eng
Part 1: What's missing in Form Security Part 2: Forms—A better way Part 3: Defiant—A step toward unification Forms—A better way The better form processing that I propose is inspired by Drupal, but furthers the idea to improve on it. In order to properly understand the approach, though, you should understand how Cryptographic Signing (specifically, Authenticated Encryption ) and the Galois Counter Mode (GCM) operate. A quick o....
|
|
It's 2016, And You're STILL Doing Forms Wrong (And So Is Your Framework)! [Part 1]
-
cscrunch.com
-
10 years ago
-
eng
Part 1: What's missing in Form Security Part 2: Forms—A better way Part 3: Defiant—A step toward unification What's Missing In Form Security One day, a professor came to me with an interesting question: "Corey, my server is getting hacked! Can you figure out how?" "Can you tell me what exactly is happening?" "Yes," he replied. "Somehow, people are uploading files to my server, and trying to hack me." And with that, I delved int....
|
|
It's 2016, And You're STILL Doing Forms Wrong (And So Is Your Framework)! [Part 1]
-
cscrunch.com
-
10 years ago
-
eng
Part 1: What's missing in Form Security Part 2: Forms—A better way Part 3: Defiant—A step toward unification What's Missing In Form Security One day, a professor came to me with an interesting question: "Corey, my server is getting hacked! Can you figure out how?" "Can you tell me what exactly is happening?" "Yes," he replied. "Somehow, people are uploading files to my server, and trying to hack me." And with that, I delved int....
|
|
It's 2016, And You're STILL Doing Forms Wrong (And So Is Your Framework)! [Part 1]
-
cscrunch.com
-
10 years ago
-
eng
Part 1: What's missing in Form Security Part 2: Forms—A better way Part 3: Defiant—A step toward unification What's Missing In Form Security One day, a professor came to me with an interesting question: "Corey, my server is getting hacked! Can you figure out how?" "Can you tell me what exactly is happening?" "Yes," he replied. "Somehow, people are uploading files to my server, and trying to hack me." And with that, I delved int....
|
|
It's 2016, And You're STILL Doing Forms Wrong (And So Is Your Framework)! [Part 1]
-
cscrunch.com
-
10 years ago
-
eng
Part 1: What's missing in Form Security Part 2: Forms—A better way Part 3: Defiant—A step toward unification What's Missing In Form Security One day, a professor came to me with an interesting question: "Corey, my server is getting hacked! Can you figure out how?" "Can you tell me what exactly is happening?" "Yes," he replied. "Somehow, people are uploading files to my server, and trying to hack me." And with that, I delved int....
|