This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.
Step 1 - Enable NBD on the Host
modprobe nbd max_part=8
-- Based off IETF draft, https://datatracker.ietf.org/doc/draft-peabody-dispatch-new-uuid-format/ | |
create or replace function uuid_generate_v7() | |
returns uuid | |
as $$ | |
begin | |
-- use random v4 uuid as starting point (which has the same variant we need) | |
-- then overlay timestamp | |
-- then set version 7 by flipping the 2 and 1 bit in the version 4 string | |
return encode( |
#!/bin/bash | |
# Sometimes you need to move your existing git repository | |
# to a new remote repository (/new remote origin). | |
# Here are a simple and quick steps that does exactly this. | |
# | |
# Let's assume we call "old repo" the repository you wish | |
# to move, and "new repo" the one you wish to move to. | |
# | |
### Step 1. Make sure you have a local copy of all "old repo" | |
### branches and tags. |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
I am writing this post in order to share my thoughts on the processes behind acceptance/rejection decisions in top-tier (NLP) conferences. I'll first discuss the process and then share some thoughts on its shortcomings.
Before we start, a bit about me. I am an assistant professor (aka, rather junior: I have been in this position for less than 4 years, following my PhD studies and a short postdoc) working on NLP, with a focus on multilingualism and low-resource settings. While I have submitted, published at, and reviewed for *ACL conferences and workshops for many years, it was at EMNLP'23 that I was a Senior Area Chair (SAC) for the first time.
Let's first briefly outline the process that a paper undergoes, from submission to decision:
// The following is an example from the language Kitten, but generalizes to other languages. | |
// It should be useful for language design and choosing naming conventions for variables and functions. | |
// TL;DR: camelCase is most readable/discernable when used in context, as per this simple example extract: | |
`n bottles-of-beer on-the-wall` // kebab-case | |
`n bottles_of_beer on_the_wall` // snake_case | |
`n bottlesOfBeer onTheWall` // camelCase | |
// To more fully see the effect yourself, in context, do the following: |
To keep the script profile running after you close the editor, click on "OPTIONS" and make sure the "DO NOT STOP SCRIPT WHEN THE EDITOR EXITS" option is checked like so – https://imgur.com/UZNHfsc
using System; | |
using Unity.Burst; | |
using Unity.Collections; | |
using Unity.Jobs; | |
using Unity.Mathematics; | |
using UnityEngine; | |
using UnityEngine.UI; | |
using TMPro; | |
public class OptimalSpatialHashing : MonoBehaviour { |
Shader "Points/Billboard" | |
{ | |
Properties | |
{ | |
_PointSize("PointSize", Range(0, 0.1)) = 0.01 | |
[Enum(UnityEngine.Rendering.BlendMode)] _SrcBlend("Source Blend", Float) = 1 // "One" | |
[Enum(UnityEngine.Rendering.BlendMode)] _DstBlend("Destination Blend", Float) = 0 // "Zero" | |
[Enum(UnityEngine.Rendering.CompareFunction)] _ZTest("Depth Test", Float) = 4 // "LessEqual" | |
[Enum(DepthWrite)] _ZWrite("Depth Write", Float) = 1 // "On" | |
} |