View on GitHub

Quorten Blog 1

First blog for all Quorten's blog-like writings

Oh yeah. This is important. The future of 3D data. The future of 3D data is meshes, believe it or not. Why is this? Because, in the end, we want to have the 3D equivalent of pixel-based photographs. Mesh points are what bring you closest to that ideal. NURBS, not so much. Probably what we will be aiming for is defining points to be the rendering basis, but using other algorithms to achieve lossy data compression, similar to what is being used for JPEG, but perhaps the concepts will be ported to be based off of NURBS instead. And a combination of bump maps, possibly JPEG compressed, or compressed via a modified DCT/DWT algorithm.

Quick and easy way to update branch

2016-07-26

Categories: git  
Tags: git  

Important! Quick and easy way to to pull in master and rebase your commit to latest.

git fetch -p
SAVE=`git rev-parse HEAD`
git reset --hard origin/master
git cherry-pick ${SAVE}~1..${SAVE}
git push --force

SCSI on Macintosh Classic?

2016-07-21

Categories: mac-classic  
Tags: mac-classic  

SCSI on Macintosh Classic?

20160720/Google macintosh se scsi solid-state drive ssd

20160720/https://duxbridge.wordpress.com/2012/01/15/creating-ssd-for-my-macintosh-se30/
20160720/https://wiki.68kmla.org/SCSI_hard_disk_replacement_options

Python Flask REST listen IPv6

2016-07-21

Categories: python   web-dev  
Tags: python   web-dev  

Python Flask REST application note. Listen ‘::’ covers both IPv4 and IPv6. The operating system proxies IPv6 addresses for you.

20160720/http://stackoverflow.com/questions/21673068/dual-ipv4-and-ipv6-support-in-flask-applications

Convert JSON to XML? Wouldn’t it be convenient for debugging my REST server? Is there a convenient library to do so? Well, it turns out, there isn’t, at least not for the kind of conversion that you want to do. That is, it won’t make it easy for you to apply a CSS stylesheet to the output to view pretty-printed in your browser.

20160720/http://stackoverflow.com/questions/8988775/convert-json-to-xml-in-python
20160720/https://github.com/quandyfactory/dicttoxml

Get numeric IPv6 address with `curl`

2016-07-20

Categories: misc  
Tags: misc  

Oh, this is important. How do you curl a numeric IPv6 address? Here’s how:

curl -g -6 -X GET 'http://[::1]:5000/url'

20160720/http://superuser.com/questions/885753/how-can-i-use-curl-with-1-for-ipv6-based-loopback

Visual Git history with `gitk`

2016-07-13

Categories: git   important  
Tags: git   important  

Important! How do you visualize Git history? gitk. Having a hard time resizing the panels? Just look around more carefully, and watch for when the curor changes.

20160713/http://stackoverflow.com/questions/20389088/gitk-lower-panel-cannot-resize

Also, there’s the related git gui and git-gui commands.

20160713/https://git-scm.com/book/en/v2/Git-in-Other-Environments-Graphical-Interfaces
20160713/https://git-scm.com/docs/gitk