This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import wave | |
from pathlib import Path | |
import json | |
import time | |
import sys | |
import keyboard | |
import pyaudio | |
writing = False | |
reverse = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>gl</title> | |
<link href="style.css" rel="stylesheet" type="text/css"/> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Abstract: We present the first deep learning model for segmenting galactic spiral arms and bars. In a blinded assessment by expert astronomers, our predicted spiral arm masks are preferred over both current automated methods (99% of evaluations) and our original volunteer labels (79% of evaluations). Experts rated our spiral arm masks as `mostly good' to `perfect' in 89% of evaluations. Bar lengths trivially derived from our predicted bar masks are in excellent agreement with a dedicated crowdsourcing project. The pixelwise precision of our masks, previously impossible at scale, will underpin new research into how spiral arms and bars evolve. | |
Summary: Scientists have introduced a groundbreaking deep learning model designed for accurately segmenting galactic spiral arms and bars, outperforming current automated methods and even original volunteer labels, according to expert astronomers in a blinded assessment. With 89% of evaluations rating the predicted spiral arm masks as 'mostly good' to 'perfect,' the mod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://developer.api.autodesk.com/modelderivative/v2/viewers/7.*/viewer3D.min.js"></script> | |
<div id="viewer"></div> | |
<select id="models"></select> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <memory.h> | |
#include <stdint.h> | |
#define ONE_LETTER_CMD(str, c) ((str[0] == c) && (str[1] == ' ')) | |
#define TWO_LETTER_CMD(str, c0, c1) ((str[0] == c0) && (str[1] == c1) && (str[2] == ' ')) | |
#define VCMD(str) ONE_LETTER_CMD(str, 'v') | |
#define FCMD(str) ONE_LETTER_CMD(str, 'f') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ERROR_H | |
#define ERROR_H | |
#define LOG(...) do { \ | |
fprintf(stderr, "%s:%s():%d: ", __FILE__, __func__, __LINE__); \ | |
fprintf(stderr, __VA_ARGS__); \ | |
fputc('\n', stderr); \ | |
} while(0) | |
#define FAIL(...) do { LOG("Error: " __VA_ARGS__); exit(1); } while(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#define ROUNDS 100 | |
float outval(float w, float x) { | |
return w * x; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <stdbool.h> | |
typedef struct Node { | |
size_t size; | |
struct Node* next; | |
struct Node* prev; | |
} Node; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <ctype.h> | |
void mock(char* s) { | |
srand(time(NULL)); | |
for (int i = 0; s[i]; i++) { | |
if (rand() % 2 == 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global main | |
extern puts | |
main: | |
push rbp | |
mov rbx, rdi | |
.loop: | |
push rsi | |
mov rdi, [rsi] |
NewerOlder