|
CharInsert is one of my favorite extensions. Here’s how I made a Lua wrapper for it to create a user-friendly interface for anyone to add snippets they want.
|
|
CharInsert is one of my favorite extensions. Here’s how I made a Lua wrapper for it to create a user-friendly interface for anyone to add snippets they want.
|
|
CharInsert is one of my favorite extensions. Here’s how I made a Lua wrapper for it to create a user-friendly interface for anyone to add snippets they want.
|
|
CharInsert is one of my favorite extensions. Here’s how I made a Lua wrapper for it to create a user-friendly interface for anyone to add snippets they want.
|
|
From Alan Adler, inventor of the Aeropress and the Aerobie flying ring courtesy of Priceonomics . Learn all you can about the science behind your invention. Scrupulously study the existing state of your idea by looking at current products and patents. Be willing to try things even if you aren't too confident they’ll work. Sometimes you’ll get lucky. Try to be objective about the value of your invention. People get carried away with the t..
|
|
A little while back, the web team at SoundCloud got an urgent report that our upload page looked weird in the US. Web engineering is based…
|
|
A little while back, the web team at SoundCloud got an urgent report that our upload page looked weird in the US. Web engineering is based…
|
|
Table of Contents An Example The Emitter Parameter Pattern For libraries and frameworks it’s a common requirement to make specific aspects customizeable via service provider interfaces (SPIs): contracts to be implemented by the application developer, which then are invoked by framework code, adding new or replacing existing functionality. Often times, the method implementations of such an SPI need to return value(s) to t..
|
|
Table of Contents An Example The Emitter Parameter Pattern For libraries and frameworks it’s a common requirement to make specific aspects customizeable via service provider interfaces (SPIs): contracts to be implemented by the application developer, which then are invoked by framework code, adding new or replacing existing functionality. Often times, the method implementations of such an SPI need to return value(s) to t..
|
|
I happened across The Law of Requisite Variety the other day, which states that a system for which D possible disruptions exist requires R countermeasures to keep itself stable, where R >= D . Having spent some time on my projects’ more theoretical side lately, I found this idea at once interesting and then familiar. Today, I want to talk about the simple way I apply this concept to my code, as a way to architect more reliabl..
|
|
So regular readers of this site might know that I run https://searchcode.com which I recently converted over to Go. While I had always run searchcode cheaply I never wanted to implement rate limits and instead operate as Bill and Ted by being “Excellent to each other”. Sadly the internet is not from the Bill and Ted universe and due to some level of abuse against the API I have been forced to implement a rate limiter.
|
|
Being cooped up at home got me looking into the new Xbox and PlayStation 5. I was curious about the innovations in the consoles since their successors. Both claim to have ray tracing and support for 8K graphics. This then got me thinking about how prevalent 8K televisions are today. 8K televisions seem to be in the same state as 4K televisions a few years ago. One thing I know through my life is that pixel density will continue to get bigge....
|
|
Go professional - Creating your personal homepage with custom domain name & email for less than 1$
-
geo.rocks
-
6 years ago
-
eng
Picture by Émile Perron on Unsplash There comes a time one needs a web page. May it be for work, a project or as personal showcase. After using wordpress for some time, I was looking for a better option to design, maintain and host a personal homepage. On top of that, I wanted a custom domain email - and all of this of course for as little money as possible.
|
|
Phishing e-mails which are designed to steal credentials often depend on a user clicking a malicious link. The link then usually navigates…
|
|
Renaissance gopher Johannes Gopherberg after inventing html/template I’m using html/template much too seldom to remember how to properly share common template blocks across multiple pages. Today I had to figure it out for the second time. It’s about time to document it! The approach presented here both (1) makes it possible to share template blocks across multiple logical pages, and (2) makes it easy to use them using tmpl.Execute(writ....
|
|
Renaissance gopher Johannes Gopherberg after inventing html/template I’m using html/template much too seldom to remember how to properly share common template blocks across multiple pages. Today I had to figure it out for the second time. It’s about time to document it! The approach presented here both (1) makes it possible to share template blocks across multiple logical pages, and (2) makes it easy to use them using tmpl.Execute(writ....
|
|
Renaissance gopher Johannes Gopherberg after inventing html/template I’m using html/template much too seldom to remember how to properly share common template blocks across multiple pages. Today I had to figure it out for the second time. It’s about time to document it! The approach presented here both (1) makes it possible to share template blocks across multiple logical pages, and (2) makes it easy to use them using tmpl.Execute(writ....
|
|
Exploring Bayesian Optimization - Intent In this blog, post I will cover different approaches for gradient-free optimization. The main focus will be on Bayesian Optimization and in order to understand Bayesian Optimization, we will cover Gaussian processes. In full transparency, my original intent for the post was to show for a real-world example that...
|
|
Exploring Bayesian Optimization - Intent In this blog, post I will cover different approaches for gradient-free optimization. The main focus will be on Bayesian Optimization and in order to understand Bayesian Optimization, we will cover Gaussian processes. In full transparency, my original intent for the post was to show for a real-world example that...
|
|
If you’ve ever programmed in Eclipse, you’re probably familiar with the call hierarchy window. You know the part that lets you find all instances of a variable? When you right-click on a variable and select “Open Call Hierarchy” or simply type CTRL-ALT-H?
|
|
I spent most of my development time in April working on a project that I can, at best, call tangentially related to First Crack. After fighting with Flask , Bottle , and then Pythonâs own http.server library, I decided to write my own web framework. I wonât spend much time on this now, since I plan to deploy it in an Intranet soon and then release it after some real use, but I will say this: I liked Flask, but it has far too many de..
|
|
In the previous post I discussed how leaf inlining allows the Go compiler to reduce the overhead of function calls and extend optimisation opportunities across function boundaries. In this post I’ll discuss the limits of inlining and leaf vs mid-stack inlining. The limits of inlining Inlining a function into its caller removes the call’s overhead […]
|
|
If you’ve ever installed and explored another Linux distro (what Linux sysadmin hasn’t?!?), then exploring FreeBSD is going be somewhat similar with a few key differences. While there is no graphical installation, the installation process is straightforward and similar to installing a server-based Linux distro. Just make sure you choose the local_unbound package when prompted if you want to cache DNS lookups locally, as FreeBSD doesn’t have..
|
|
If you’ve ever installed and explored another Linux distro (what Linux sysadmin hasn’t?!?), then exploring FreeBSD is going be somewhat similar with a few key differences. While there is no graphical installation, the installation process is straightforward and similar to installing a server-based Linux distro. Just make sure you choose the local_unbound package when prompted if you want to cache DNS lookups locally, as FreeBSD doesn’t have..
|
|
If you have ever worked with Ruby, or have maybe maintained a Rails application, I am sure the name Sidekiq will sound familiar.
|
|
I like the idea of small, weekend projects. Something small you can make in a weekend. I’ve used the last two days to play around with an idea for a microphone stand. That’s because the microphone stand I’ve got when buying the microphone is really, really bad. It’s unstable and can barely hold the weight of the microphone, which in my case is the Novox NC-1 microphone. It’s a good entry level microphone, which I’ve used to record most of..
|
|
An article covering everything you need to know about time on Unix. Time, a word that is entangled in everything in our lives, something we're intimately familiar with. Keeping track of it is important for many activities we do.
|
|
AsyncIO + Music, Origins of Black, and Managing Python Releases
-
realpython.com
-
6 years ago
-
eng
Want to learn more about AsyncIO in Python, with an example where you can see and hear events being triggered in real-time? This week we have Łukasz Langa on the show. Łukasz has created a talk for PyCon 2020 online about using AsyncIO with Music.
|
|
The global coronavirus pandemic is affecting the majority of the world’s population. People are locked in their homes, and businesses are trying to adopt remote working solutions. Collaboration is difficult even when your team is in the same office. When the team is separated across different home offices, collaboration and communication get even more complex. This article explains key concepts of DevOps pipelines, and then presents a few ....
|
|
Previously in database basics: 1. SELECT, INSERT, CREATE and a REPL 2. binary expressions and WHERE filters Next in database basics: 4. a database/sql driver In this post, we extend gosql to support indexes. We focus on the addition of PRIMARY KEY constraints on table creation and some easy optimizations during SELECT statements. $ go run cmd / main . go Welcome to gosql . # ....
|
|
Managing license compliance across your organization with Snyk’s license policies
-
snyk.io
-
6 years ago
-
eng
You can now use Snyk to create your own policies and use these rules to help your development teams easily find and fix what is most critical to your projects, while minimizing the distractions created by less pressing issues.
|
|
Alkene Stability (And Instability) What factors affect alkene stability? If you’ve studied elimination reactions, no doubt you’ve learned about Zaitsev’s Rule – about how elimination
|
|
I occasionally stop getting Gmail notifications on my Google Pixel 2XL android phone. I later find that I have a whole bunch of emails that I had missed. I am not sure what causes it however I have found a way to make it work again.
|