|
In my previous post , I talked about Self and gave a general tour of the language and the programming environment. I mentioned that Self was an image-based programming language. Of course, if you want to develop a Self application with multiple people, an image is not suitable for collaborating (except in real-time – we’ll come back to that in a later post). Your Self image contains everything in your programming environment (provided you ..
|
|
Boost Heating Temperature for 30 minutes (HomeAssistant)
-
snippets.bentasker.co.uk
-
5 years ago
-
eng
Initially roughly patched together in Musings on Home Automation this script is intended to work around the fact that Google's NEST Thermostat doesn't have a "boost" function - making it a bit tricky if you want a part of the house not containing the NEST thermostat to be able to call for heat. The basic idea is that it will increase the NEST target temperature by a configurable amount for 30 minutes, causing the boiler to come on if ..
|
|
Shopify's tutorial is awesome for getting started, but doesn't let you deploy onto Vercel. In this article, I'll show you how.
|
|
Turn light up 50% on button press, then full, then off (HomeAssistant)
-
snippets.bentasker.co.uk
-
5 years ago
-
eng
We've a wall light in our hall whose main lightswitch is poorly placed. So, I put a smart bulb in and put a Zigbee button in a more convenient place. However, the light is brighter than a thousand suns, so I wanted a it to come on at just under half brightness by default, with an option to turn it up to full (in case someone loses a contact, or is bored of having retinas) The following script in HomeAssistant/Hass.io achieves that. On..
|
|
Deep Reinforcement Learning in a Notebook With Jupylet + Gaming and Synthesis
-
realpython.com
-
5 years ago
-
eng
What is it like to design a Python library for three different audiences? This week on the show, we have Nir Aides, creator of Jupylet. His new library is designed for deep reinforcement learning researchers, musicians interested in live music coding, and kids interested in learning to program. Everything is designed to run inside of a Jupyter notebook.
|
The Dark Tangent gives an interview on DEF CON's origin story and the hacker way of life way back in 1997 at DEF CON 5.
|
|
Hey there. This is the first post I will be making here, and I wanted to give a tour of Self before making posts about my current implementation, mySelf. Throughout this post, I will be showing examples from the regular implementation of the Self programming environment, available here . What is Self? To quote the Self language homepage : Self is a prototype-based dynamic object-oriented programming language, environment, and virt..
|
|
Hey there. This is the first post I will be making here, and I wanted to give a tour of Self before making posts about my current implementation, mySelf. Throughout this post, I will be showing examples from the regular implementation of the Self programming environment, available here . What is Self? To quote the Self language homepage : Self is a prototype-based dynamic object-oriented programming language, environment, and virt..
|
|
Black Mirror: Bandersnatch (2018) is an interactive film in which viewers are periodically asked to make decisions for the main character Stefan Butler, the decisions then result in different scenes, and paths through the film, resulting in a branching path to a variety of endings. Think “choose-your-own-adventure”, but in interactive video. Since television viewers are conditioned to be passive spectators, the film included a tutorial e....
|
|
1 2 3 4 5 6 7 8 ██████╗ ███████╗ ██████╗ ██████╗ ██████╗ ██████╗██╗ ██╗███████╗ ██╔════╝ ██╔════╝██╔═══██╗ ██╔══██╗██╔═══██╗██╔════╝██║ ██╔╝██╔════╝ ██║ ███╗█████╗ ██║ ██║ ██████╔╝██║ ██║██║ █████╔╝ ███████╗ ██║ ██║██╔══╝ ██║ ██║ ██╔══██╗██║ ██║██║ ██╔═██╗ ╚════██║ ╚██████╔╝███████╗╚██████╔╝██╗██║ ██║╚██████╔╝╚██████╗██║ ██╗███████║ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝╚════..
|
|
I finished reading Erebus: The Story of a Ship by Michael Palin, an excellent book on the dramatic adventures of the HMS Erebus with her sister ship, the HMS Terror, first in James Clark Ross’s Antarctic expedition of 1839-43, and then during Franklin’s ill-fated Arctic expedition in search of the Northwest Passage. I knew Michael Palin as a member of the Monty Python comedy group. As it turns out, since 1980, he has also made many travel..
|
|
I finished reading Erebus: The Story of a Ship by Michael Palin, an excellent book on the dramatic adventures of the HMS Erebus with her sister ship, the HMS Terror, first in James Clark Ross’s Antarctic expedition of 1839-43, and then during Franklin’s ill-fated Arctic expedition in search of the Northwest Passage. I knew Michael Palin as a member of the Monty Python comedy group. As it turns out, since 1980, he has also made many travel..
|
|
I finished reading Erebus: The Story of a Ship by Michael Palin, an excellent book on the dramatic adventures of the HMS Erebus with her sister ship, the HMS Terror, first in James Clark Ross’s Antarctic expedition of 1839-43, and then during Franklin’s ill-fated Arctic expedition in search of the Northwest Passage. I knew Michael Palin as a member of the Monty Python comedy group. As it turns out, since 1980, he has also made many travel..
|
|
An in-depth look at the Ada programming language, its history, and what it has to offer developers today. As well as a fistful of my humble opinions.
|
|
Here’s a little SQL query that lists all Oracle wait events where Oracle kernel developers have added additional “human readable” descriptions. Since the original wait event names shouldn’t be changed for compatibility with existing tools, then a new column DISPLAY_NAME was added: SQL> SELECT name, display_name FROM v$event_name WHERE name != display_name; NAME DISPLAY_NAME ----------------------------------------- ----------------------....
|
|
Here’s a little SQL query that lists all Oracle wait events where Oracle kernel developers have added additional “human readable” descriptions. Since the original wait event names shouldn’t be changed for compatibility with existing tools, then a new column DISPLAY_NAME was added: SQL> SELECT name, display_name FROM v$event_name WHERE name != display_name; NAME DISPLAY_NAME ----------------------------------------- ----------------------....
|
|
Introduction If you can write a for-loop, you can do statistics. - Jake Vanderplas A lot of developers shy away from problems which involve statistics or probability. Which is shameful since in today’s data-rich environment, you can gain a lot of insights from data. In this blog post, I’ll show you how to write a simulation tool which requires no knowledge in statistics or probability. Simulations are easy to write and can be a very ..
|
|
Since I’ve never found a complete and easy tutorial on how to setup an encrypted account using the default macOS/iOS Mail.app, I’ll try to explain my setup and how I made this. Keeping things separate for the two type of encryption, an easy and less secure way: S/MIME, and the more robust and secure PGP. I’m using both on my macOS/iOS devices, with two different apps, when I want to use a friendly way and I don’t have to share important inf..
|
|
Since I’ve never found a complete and easy tutorial on how to setup an encrypted account using the default macOS/iOS Mail.app, I’ll try to explain my setup and how I made this. Keeping things separate for the two type of encryption, an easy and less secure way: S/MIME, and the more robust and secure PGP. I’m using both on my macOS/iOS devices, with two different apps, when I want to use a friendly way and I don’t have to share important inf..
|
|
It’s a brand new year, which means it’s time to set yearly goals. But before I list my goals for 2021, let’s take a look at how I did for my 2020 goals .
|
|
This is an early attempt at blender from 2021. It started with a drawing that I loved. I’ve poked around Google Images but so far I haven’t found the original artist. I quickly modeled a few things, trying to create a more 3d look rather than sticking with the more stylized look. I’m not sure if this was ultimately the right choice. The moon was a little tricky to get right and I haven’t nailed the look of low light.
|
|
Figure 1. Asciidoc. I’ve been using reStructuredText for writing on this blog, because it has lots of built-in features that markdown doesn’t. However, reStructuredText’s actual syntax is a bit… fiddly - particularly its non-atx headings, too many things relying on lining up white space, etc… If I don’t use it for a bit, I have to look up or copy & paste all the advanced syntax. I’d prefer to use AsciiDoc, as it has all the extra....
|
|
Preface This is a tale of the intersection between thermal physics, cosmology, and a tiny amount of computer science to answer a seemingly innocuous question: “How strong does a password need to be for it to be physically impossible to brute-force, ever?” TLDR at the bottom. Note: this post contains equations. Since none of the equations were long or complex, I decided to just write them out in code blocks instead of using images ....
|
Just a little note to thank everyone who came out to our New Year’s Eve Party! It was fun to hang out with so many of you, and very satisfying to ring in the New Year with our community. These are difficult times for many of us, and maintaining our connections is an important part of staying healthy. Please feel free to visit forum.defcon.org for conversation, links to DEF CON Groups around the world and information about our upcomi..
|
|
MP² quantile estimator: estimating the moving median without storing values
-
aakinshin.net
-
5 years ago
-
eng
In one of the previous posts, I described the P² quantile estimator. It allows estimating quantiles on a stream of numbers without storing them. Such sequential (streaming/online) quantile estimators are useful in software telemetry because they help to evaluate the median and other distribution quantiles without a noticeable memory footprint. After the publication, I got a lot of questions about moving sequential quantile estimators.....
|
|
The First 90 Days” by Michael D. Watkins is a book on leadership transition that I had delivered to me from my new manager at the role I just took on at a new company. I read the book ahead of starting last month but finally got around to sitting down and writing out my summary. The book provides a comprehensive framework for making a successful transition, with practical advice and tips that are applicable to any industry or organization.
|
|
MP² quantile estimator: estimating the moving median without storing values
-
aakinshin.net
-
5 years ago
-
eng
In one of the previous posts, I described the P² quantile estimator. It allows estimating quantiles on a stream of numbers without storing them. Such sequential (streaming/online) quantile estimators are useful in software telemetry because they help to evaluate the median and other distribution quantiles without a noticeable memory footprint. After the publication, I got a lot of questions about moving sequential quantile estimators.....
|
|
Onboarding during lockdown: joining Thoughtworks remotely
-
www.thoughtworks.com
-
5 years ago
-
eng
Joining a new company can be daunting at the best of times, but anyone onboarding during the COVID-19 pandemic will probably experience a whole new meaning to first day jitters. When I woke up on day 1 at Thoughtworks, whilst I was grateful for the short commute from my bed to my laptop, I was nervous about the prospect of starting a job remotely. How would I get to know my colleagues?
|
|
In which I save myself from financial hell by putting subscriptions on another card where they can't creep up on me
|
|
In which I save myself from financial hell by putting subscriptions on another card where they can't creep up on me
|
|
In which I save myself from financial hell by putting subscriptions on another card where they can't creep up on me
|
|
If you're already using a CSS-in-JS library, trying out Tailwind CSS with your existing app might be much easier than you think.
|
|
In an earlier post, I got USB audio working on my used, manual, 2013 Honda Civic EX . Today I’ll do the same for a Sony ZS-RS60BT boombox . Here it is in all its used glory after a little cleaning. Background : I decided I should get a small portable boombox to practice my dope dance moves . I currently still suck because I think I spend more time computering than out on the floor. In any case, in a stroke of luck, I happened..
|