|
Per the overlapping interfaces proposal, Go 1.14 now permits embedding of interfaces with overlapping method sets. This is a brief post explain what this change means: Let’s start with the definition of the three key interfaces from the io package; io.Reader, io.Writer, and io.Closer: Just as embedding a type inside a struct allows the embedded type’s […]
|
|
The last time I wrote about Drupal was 2017, when I built the company website for my friend's husband. It was a proper paid project, which really did come at a…
|
|
UPDATE: The snippets in this post are outdated. See ob-swiftui for better SwiftUI babel support . ✨ Chris Eidhof twitted a handy snippet that enables quickly bootstrapping throwaway SwiftUI code. It can be easily integrated into other tools for rapid experimentation. Being a SwiftUI noob, I could use some SwiftUI integration with my editor of choice. With some elisp glue and a small patch, Chris's snippet can be used to generate S....
|
|
Masks have become a hot issue. Here’s my 2¢. Summary # I think everyone should wear a mask, unless they have a compelling medical reason not to. Look at it this way: a mask will either help you and those around you, or it will do no harm—beyond a little social awkwardness. If we look at the trade-offs in a game-theory-style matrix, we get: | | Masks Help | Masks don’t help | |——————-+————+——————| | Wear a mask | +100 | 0....
|
|
Masks have become a hot issue. Here’s my 2¢. Summary # I think everyone should wear a mask, unless they have a compelling medical reason not to. Look at it this way: a mask will either help you and those around you, or it will do no harm—beyond a little social awkwardness. If we look at the trade-offs in a game-theory-style matrix, we get: | | Masks Help | Masks don’t help | |——————-+————+——————| | Wear a mask | +100 | 0....
|
|
Masks have become a hot issue. Here’s my 2¢. Summary I think everyone should wear a mask, unless they have a compelling medical reason not to. Look at it this way: a mask will either help you and those around you, or it will do no harm—beyond a little social awkwardness. If we look at the trade-offs in a game-theory-style matrix, we get: Masks HelpMasks don’t help Wear a mask+1000 Don’t wear a mask-1000 There is nothing to ....
|
|
Masks have become a hot issue. Here’s my 2¢. Summary I think everyone should wear a mask, unless they have a compelling medical reason not to. Look at it this way: a mask will either help you and those around you, or it will do no harm—beyond a little social awkwardness. If we look at the trade-offs in a game-theory-style matrix, we get: Masks HelpMasks don’t help Wear a mask+1000 Don’t wear a mask-1000 There is nothing to ....
|
|
On May 23, 1995, Sun Microsystems released Java. This means that Java turns 25 years old and that is something we need to celebrate!
|
|
Every now and then, I need to do some basic stuff in Java and I wonder what is the best way to this. This happened to me a few days ago! I needed to simply get the sum of a List of numbers and I found out there are a number of ways — pun intended — to do this.
|
|
In my book I discuss the importance of context in reading and writing mathematics. An early step in becoming comfortable with math is deciphering the syntax of mathematical expressions. Another is in connecting the symbols to their semantic meanings. Embedded in these is the subproblem of knowing what to call the commonly used symbols. The more abstract you go, the more exotic the symbols tend to get. Wikipedia has an excellent list for dec..
|
|
In my book I discuss the importance of context in reading and writing mathematics. An early step in becoming comfortable with math is deciphering the syntax of mathematical expressions. Another is in connecting the symbols to their semantic meanings. Embedded in these is the subproblem of knowing what to call the commonly used symbols. The more abstract you go, the more exotic the symbols tend to get. Wikipedia has an excellent list for dec..
|
|
In my book I discuss the importance of context in reading and writing mathematics. An early step in becoming comfortable with math is deciphering the syntax of mathematical expressions. Another is in connecting the symbols to their semantic meanings. Embedded in these is the subproblem of knowing what to call the commonly used symbols. The more abstract you go, the more exotic the symbols tend to get. Wikipedia has an excellent list for dec..
|
|
Do you know someone in the Python community who recently was let go from their job due to the pandemic? What does the job landscape currently look like? What are skills and techniques that will help you in your job search? This week we have Kyle Stratis on the show to discuss how he is managing his job search after just being let go from his data engineering job. Kyle is a member of the Real Python team and has written several articles for ..
|
|
好久没写博客了,最近比较忙,在系统学习一些知识,没学完之前不太容易输出高质量文章,等过段时间学完了再整理一下写几篇文章出来。 但中间也在用零碎的时间学学别的,今天写总结一下回溯法。 概念 回溯法 作为一种搜索算法,可以找出所有或一部分解的一般性算法,尤其适用于约束满足问题,例如今天要讲的N皇后、解数独等等。 回溯法采用 试错 的思想,它尝试分步的去解决一个问题。在分步解决问题的过程中,当它通过尝试发现现有的分步答案不能得到有效的正确的解答的时候,它将取消上一步甚至是上几步的计算,再通过其它的可能的分步解答再次尝试寻找问题的答案。回溯法通常用最简单的 递归 方法来实现,在反复重复上述的步骤后可能出现两种情况: 找到一个可能存在的正确的答案 在尝试了所有可能的分步方法后宣告该问题没有答案 在最坏的情况下,回溯法会导致一次复杂度为指数时间的计算。 回溯法实际上是一种 DFS(深度优先搜索算法)的一种,不同的是,回溯法具备剪枝的能力,下面通过两个例子来具体分析回....
|
|
Learn different ways to manage drift from manual changes on your infrastructure in Terraform for different cases.
|
|
This article discusses the importance of proportional representation and the effects of discrimination in different fields.
|
|
Lately I’ve been thinking about data maturity models within large organizations, and how to measure maturity and ability to use data. Specifically, what it means to be data literate or data fluent or whatever buzzword is used to mean “hip and with it like the cool kids” when it comes to being able to collect, sort, order, and use data to the greatest extent possible. To help think this through, I’m putting down a few thoughts here. My g....
|
|
Christopher Wellons's elfeed is a wonderful Emacs rss reader. In Mike Zamansky's Using Emacs 72 - Customizing Elfeed video, he highlights a desire to open elfeed entries in the background. That is, open the current rss entry (or selected entries) without shifting focus from Emacs to your browser. This behaviour is somewhat analogous to ⌘-clicking/ctrl-clicking on multiple links in the browser without losing focus. I've been wanting el....
|
|
This article discusses the importance of proportional representation and the effects of discrimination in different fields.
|
|
As I promised in the end of the last hacking session (about Oracle SQL Monitoring , I will run another one on 2. June 2020 . This one will be a deep dive into Oracle hint usage and various scenarios of hint (in)validity. I have too much material in my full-week Advanced Oracle SQL Tuning training , so I’m moving some “narrow deep dives” out and make available for free, so that we could spend more time actually tuning SQL during the class..
|
|
As I promised in the end of the last hacking session (about Oracle SQL Monitoring , I will run another one on 2. June 2020 . This one will be a deep dive into Oracle hint usage and various scenarios of hint (in)validity. I have too much material in my full-week Advanced Oracle SQL Tuning training , so I’m moving some “narrow deep dives” out and make available for free, so that we could spend more time actually tuning SQL during the class..
|
|
Step-by-step instructions from Apple for capturing macOS kernel core dumps over a network connection between two Macs.
|
|
A technical guide to deciphering Apple's cryptic boot arguments and setting up macOS kernel core dumps to debug persistent kernel panics.
|
|
Amazon S3 is incredibly flexible and easy-to-use, but S3 security is more complex and requires a deeper understanding of the layers of S3 security options and the full context of your unique cloud use case to get it right.
|
|
To help organizations more quickly and decisively evolve a DevOps culture that effectively incorporates security, Snyk has launched our DevSecOps Hub.
|
|
John Gray, writing for UnHerd: “As pre-Covid life fades into history, large sections of the professional classes face a version of the experience of those who became former persons in the abrupt historical shifts of the last century. The redundant bourgeoisie need not fear starvation or concentration camps, but the world they have inhabited is evanescing before their eyes. There is nothing novel in what they are experiencing. History is....
|
|
Tagging projects is possible today via the Snyk API and allows you to group and filter your projects based on the tags you’ve applied. This feature will be available in the UI soon.
|
|
kAIzo: LMs, RNNs, & VAEs for generating kaizo SMM2 levels – World 1-1 LMs
-
bayesianneuron.com
-
6 years ago
-
eng
I took a break from playing Animal Crossing (albeit a short one) so that I could play with the new update to Super Mario Maker 2 (SMM2); the addition of SMB2, and its world creator. I’ve been looking for a new “short-ish” type project to work on while I take a break from other projects, … Continue reading "kAIzo: LMs, RNNs, & VAEs for generating kaizo SMM2 levels – World 1-1 LMs"
|
|
Investigation into mysterious kernel panics reveals Apple repair centers left my MacBook with undocumented security-weakening boot arguments.
|
|
This blog post was originally posted on JetBrains .NET blog . In the two previous blog posts from this series, we discussed how socket errors and socket orders depend on the runtime and operating systems. For some, it may be obvious that some things are indeed specific to the operating system or the runtime, but often these issues come as a surprise and are only discovered when running our code on different systems. An interesting exa..
|
|
Stretch opportunities are tasks or projects that are a bit beyond your current skill or knowledge level and that allow you to improve and…
|
|
This blog post was originally posted on JetBrains .NET blog . In the two previous blog posts from this series, we discussed how socket errors and socket orders depend on the runtime and operating systems. For some, it may be obvious that some things are indeed specific to the operating system or the runtime, but often these issues come as a surprise and are only discovered when running our code on different systems. An interesting exa..
|
|
Stretch opportunities are tasks or projects that are a bit beyond your current skill or knowledge level and that allow you to improve and…
|