Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
# Jurimetria aplicada em estudo sobre direito e desigualdades |
1 | LAFBD-41 | |
---|---|---|
2 | SSNI-497 | |
3 | ABP-984 | |
4 | IPX-580 | |
5 | IPX-811 | |
6 | IPX-177 | |
7 | STARS-804 | |
8 | SMBD-115 | |
9 | ABP-968 | |
10 | ABF-017 |
CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자
# This is an anonymised and annotated version of my CMake | |
# This enabled me to build / archive / validate / distribute my app in Xcode | |
# without having to manually edit any configuration in Xcode | |
cmake_minimum_required(VERSION 3.24) | |
# Some variables needed more than once below | |
set(MY_APP_PROJECT_NAME "My App") | |
set(PROJECT_VERSION 1.2.3) | |
set(MY_APP_REVERSE_DNS_IDENTIFIER "com.mycompany.myapp") |
use std::ffi::CString; | |
use std::os::raw::{c_char, c_int}; | |
use std::{ptr, mem}; | |
#[no_mangle] | |
unsafe extern "C" fn get_strings(outlen: *mut c_int) -> *mut *mut c_char { | |
let mut v = vec![]; | |
// Let's fill a vector with null-terminated strings | |
v.push(CString::new("Hello").unwrap()); |
[ Update 2020-05-31: I won't be maintaining this page or responding to comments anymore (except for perhaps a few exceptional occasions). ]
Most of the terminal emulators auto-detect when a URL appears onscreen and allow to conveniently open them (e.g. via Ctrl+click or Cmd+click, or the right click menu).
It was, however, not possible until now for arbitrary text to point to URLs, just as on webpages.