Skip to content

Instantly share code, notes, and snippets.

View sueannioanis's full-sized avatar
🗻
she/her

sueannioanis

🗻
she/her
  • Lead Software Engineer at Mastercard
View GitHub Profile
import errors from 'errors';
import { User, Episode } from 'models';
import { AVAILABILITY, CAMERA, MICROPHONE, NOT_PUBLISHED, PRERELEASE } from 'constants';
export async function getEpisodeForUser(episodeId: string, userId) {
const episode = await Episode.findOne(episodeId);
const { isAdmin } = User.findOne(userId);
if (episode.isPublished || isAdmin) return toEpisodeEntity(episode);

Motivation

tl;dr I want to use Rust to program robots. Help me find the best core libraries to build on.

Robotic systems require high performance and reliability, but also have enormous complexity in terms of algorithms employed, number of subsystems, embedded hardware control, and other metrics. Development is mostly split between C++ for performance and safety critical components, and MatLab or Python for quick research or task iteration.

@sueannioanis
sueannioanis / schema-v1.gql
Created January 18, 2020 20:14
Schema v1
type User {
id: ID!
tripIds: [Trip!]!
name: String!
}
type Trip {
id: ID!
description: String!
name: String!
import React, { useState } from 'react';
import Toast from 'react-toast-component';
function App() {
const [isOpen, setToast] = useState(true);
return (
<div className="App">
<Toast
isOpen={isOpen}
hasAutoDismiss={false}
@sueannioanis
sueannioanis / Three.js - Panoramic Drag Sphere
Created April 23, 2016 03:28
This is the code for some dragging goodness.
THREE.ImageUtils.crossOrigin = '';
var manualControl = false;
var longitude = 0;
var latitude = 0;
var savedX;
var savedY;
var savedLongitude;
var savedLatitude;
@sueannioanis
sueannioanis / Three Js Experimentation.markdown
Created August 13, 2015 07:56
Three Js Experimentation
@sueannioanis
sueannioanis / fztvo.markdown
Created September 8, 2014 18:16
A Pen by Sue Ann Ioanis.