|
Writing a SQL database from scratch in Go: 1. SELECT, INSERT, CREATE and a REPL
-
notes.eatonphil.com
-
6 years ago
-
eng
Next in database basics: 2. binary expressions and WHERE filters 3. indexes 4. a database/sql driver In this series we'll write a rudimentary database from scratch in Go. Project source code is available on Github . In this first post we'll build enough of a parser to run some simple CREATE, INSERT, and SELECT queries. Then we'll build an in-memory backend supporting TEXT and INT types and write a basic REPL. We'll b....
|
|
Snyk partners with the makers of Greenkeeper to help developers proactively maintain dependency health
-
snyk.io
-
6 years ago
-
eng
We’re pleased to announce the graduation of Automatic Dependency Upgrades, a Snyk Open Source capability that helps developers proactively reduce security vulnerabilities and maintain dependency health when using open source software.
|
|
If you run a website, whether this is a full-fledged SaaS web application or a small blog — built by Gatsby, Wordpress, or an indie GitHub Pages setup — one of the key concerns you want to mitigate is security vulnerabilities.
|
|
I have always found that serendipity plays a large role in my technical life. For example I recently ran into a great article and discussion thread on PDF Text Extraction: Article Discussion Thread The thrust of this article amounts to "PDF Processing Is Hard and Here's Why" (tldr - PDF isn't a document format as much as a layout format and how things are laid out generally bears little relationship to their structure as "document ....
|
|
Simple systems deploy faster than complex ones, and fail less often; sometimes they take less time to build, too, but the pursuit of simplicity often entails a long process to prioritize some features while justifying the exclusion of others. Ironically, that process tends to take much longer than just building in all the features, so most choose the latter approach. The end result is complex software that does many things, but few things w..
|
|
Oracle Shared Pool Internals: List Chunk Position in the LRU List
-
tanelpoder.com
-
6 years ago
-
eng
There was a discussion at Oracle-L about shared pool chunk eviction and I thought I’d show how to see a shared pool memory chunk’s position in the LRU list yourself. This is a post mostly about Oracle internals and less about practical every day troubleshooting. There’s a view X$KGHLU ( @kghlu.sql script) that shows you a summary of shared pool (sub)heap allocations and how many of these chunks are in the “transient list” (used once) v..
|
|
Oracle Shared Pool Internals: List Chunk Position in the LRU List
-
tanelpoder.com
-
6 years ago
-
eng
There was a discussion at Oracle-L about shared pool chunk eviction and I thought I’d show how to see a shared pool memory chunk’s position in the LRU list yourself. This is a post mostly about Oracle internals and less about practical every day troubleshooting. There’s a view X$KGHLU ( @kghlu.sql script) that shows you a summary of shared pool (sub)heap allocations and how many of these chunks are in the “transient list” (used once) v..
|
|
Over the last 7 years, I’ve been maintaining BenchmarkDotNet ; it’s a library that helps you to transform methods into benchmarks, track their performance, and share reproducible measurement experiments. Today, BenchmarkDotNet became the most popular .NET library for benchmarking which was adopted by 3500+ projects including .NET Core. While it has tons of features for benchmarking that allows getting reliable and accurate measurements..
|
|
One of the more interesting facilities in Rails helpers which reside in app/helpers/*.rb and are used, well, as helpers. Helpers are basically display level execution of Ruby code. I recently wrote what I thought was a great example of a helper so I thought I'd document it. What I had was a object, stored in the database which had a bunch of data that I needed to display: the object, called a label A serialized hash called labeled_....
|
|
Over the last 7 years, I’ve been maintaining BenchmarkDotNet ; it’s a library that helps you to transform methods into benchmarks, track their performance, and share reproducible measurement experiments. Today, BenchmarkDotNet became the most popular .NET library for benchmarking which was adopted by 3500+ projects including .NET Core. While it has tons of features for benchmarking that allows getting reliable and accurate measurements..
|
|
CloudPush technology offers manipulation with files on cloud services that are both fast and extremely easy-to-use.
|
|
Women in Tech - Spotlight: Iva Ivanova 5 minute read March is Women’s History Month and in honor of this occasion, NextRoll is launching a month-long Women in Tech Spotlight – where we highlight a few of the women here at NextRoll. This will be a limited three-part series of interviews, showcasing three of our extraordinary women in technology. This week, I had the pleasure of interviewing Iva Ivanova! Iva Ivanova Title: Data Scientis....
|
|
How to set up a global hotkey to toggle mute a tab of Firefox (for example a Twitch stream) using AutoHotKey
|
|
How to set up a global hotkey to toggle mute a tab of Firefox (for example a Twitch stream) using AutoHotKey
|
|
I had a question recently about my use of git trash which isn't a standard git command. I accomplished this, about a decade ago, by modifying ~/.gitconfig and, well, I haven't thought about it ever since. Here's my ~/.gitconfig as an example. [color] diff = auto status = auto branch = auto [color "branch"] current = yellow reverse local = yellow remote = green [color "diff"] meta = yellow bold frag = magenta bold old = red bold new =....
|
|
Once upon a time I blogged about the controversial things but now, well, I mostly don't care. Still every so often you come along someone getting things so, so, so wrong that you feel compelled to respond. I'm speaking to this tweet by DHH, someone I deeply, deeply respect: Did Facebook just kill off React Native? Either way, it's funny that I actually agree. More Nope. We didn't just see React Native get killed. Just because ....
|
|
How (Not) to Build Datasets and Consume Data at Your Company
-
developers.soundcloud.com
-
6 years ago
-
eng
The topic of datasets is not new, and they have been successfully used at SoundCloud for analytics purposes for a long time. In this blog…
|
|
Get insights about new features added in Javascript es2020 like BigInt, Promise.allSettled, Optional Chaining and many more.
|
|
How (Not) to Build Datasets and Consume Data at Your Company
-
developers.soundcloud.com
-
6 years ago
-
eng
The topic of datasets is not new, and they have been successfully used at SoundCloud for analytics purposes for a long time. In this blog…
|
|
Get insights about new features added in Javascript es2020 like BigInt, Promise.allSettled, Optional Chaining and many more.
|
|
Coming out of a busy week at RSA 2020, one of the best aspects of attending was the chance to meet with so many passionate customers and fans of Snyk and listen to their feedback. What was clear this year was a growing excitement around Snyk’s accomplishments — a palpable sense of momentum for our developer-first approach to application security.
|
|
In this blog post, we will use our new product feature and enable new projects to be created in Snyk automatically.
|
|
As I read through part one and then, later, parts two and three of Kris De Decker’s interesting series on mechanical power transmission, I knew I had read other articles from the Low-Tech Magazine before. A quick check through my archive proved me right: for those looking for other interesting reads on low-tech solutions to hard problems, check out How Sustainable is a Solar Powered Website? and How to Build a Low-tech Internet , t..
|
|
After flying to a city to compete in a game for a 22nd time, I took a step back to really wonder why I play Ingress.
|
|
Artwork by my friend Autumn Mott; Hopefully I can find a better link to put here It is a Monday and what better way to start your 6 am Monday morning then learning some of the elements of a new language – Rust. I started by adding a link in my Browser toolbar to the Rust Playground which amounts to a web based REPL (Read Evaluate Print Loop) for Rust where you can type in Rust code and run it. Yes I know it really isn't a REPL because....
|
|
Go’s a great hammer for a lot of nails, one of the areas where I find it fitting is building HTTP servers.
|
|
Suppose we have some codebase we’re considering applying some patch to, and which has a robust and maintained test suite. Considering the patch, we may ask, is this patch acceptable to apply and deploy. By this we mean to ask if the patch breaks any important functionality, violates any key properties or invariants of the codebase, or would otherwise cause some unacceptable risk or harm. In principle, we can divide all patches into “accepta..
|
|
Suppose we have some codebase we’re considering applying some patch to, and which has a robust and maintained test suite. Considering the patch, we may ask, is this patch acceptable to apply and deploy. By this we mean to ask if the patch breaks any important functionality, violates any key properties or invariants of the codebase, or would otherwise cause some unacceptable risk or harm. In principle, we can divide all patches into “accepta..
|
Thank you to everyone who took out 2020 developer survey — Here are the results. Also, the launch of Actionhero Office Hours!
|
|
After using Azure DevOps for a while, I am totally sold on its Auto Complete feature for pull requests. While it does not apply universally, I do believe that any development process should be at the level where merging pull requests, or generalizing it, integrating all forms of contribution, should be as automatic and as hassle-free as possible.
|
|
Programmers have a tendency to be superstitious. Particularly, when a programmer hears that copies are expensive, they start to see them everywhere, especially when they learn that, in Go, every assignment is a copy. Consider this code; x is three orders of magnitude larger than y, is the assignment of x to a more expensive […]
|