HNHacker News
TopNewBestAskShowJobs

dhotson

8,324 karma · joined March 18, 2008

Dennis Hotson

https://dn.ht

http://dhotson.tumblr.com

https://twitter.com/dennishotson

dennis.hotson@gmail.com

submissionscomments
dhotson··on iTerm2 version 3 beta released
One small thing not mentioned on this page is that iTerm2 v3 now supports 24bit colour.

If you're on the latest vim (install with: brew install --HEAD vim) you can use the same colour schemes designed for gVim in your terminal with :set guicolors

dhotson··on iTerm2 version 3 beta released
Oh nice—inline images, try this to see if it's working. :)

    curl dn.ht/lol.html
dhotson··on Show HN: Texttop – Interactive desktop rendered in TTY with ASCII
Ok yeah wow, hiptext's output looks pretty fantastic. :)

I'm using my own text webcam thing: https://github.com/dhotson/txtcam .. not too fancy, just using greyscale with some shading characters to do some basic "dithering".

Also, if you're on Mac OSX and using iTerm2 version 3, you might be interested in its 24bit colour support. It's not that widely supported yet in other terminals unfortunately though: https://gist.github.com/XVilka/8346728

dhotson··on Show HN: Texttop – Interactive desktop rendered in TTY with ASCII
This is so cool, very nice work! :D

I've been playing with writing little custom SSH server stuff recently as well—try this for example:

ssh hello.dn.ht

One thing I've been testing to get some extra vertical resolution on graphical stuff is the unicode half block character (https://en.wikipedia.org/wiki/Block_Elements) with a separate foreground and background color. Works ok, but background color can bleed through depending on the font you use.

dhotson··on How computer programming languages for kids have evolved and where they're going
Maybe try this out — QBASIC is accessible in the browser via archive.org's dos emulation:

https://archive.org/details/msdos_qbasic_megapack

dhotson··on The $300M Button (2009)
I personally dislike forced login/register but I've seen it work for some businesses.

In particular, the strategy I've seen work was to put registration early (but not too early) in order to get a contact email address and to follow up with people that drop out of the sales flow. Often people just need a reminder.

dhotson··on Deep Forger, making art forgeries from photos with a neural network
Also, the secret user guide: http://nucl.ai/blog/forgeries-user-guide/
dhotson··on Show HN: Something pointless I made
I got it for $129

Try this list: https://catechgory.com/2-letter-domain-names/

I was pretty lucky to get one that matches my name. :)

dhotson··on Show HN: Something pointless I made
The whole album is pretty fantastic: https://lazerhawk.bandcamp.com/album/redline
dhotson··on Show HN: Something pointless I made
Yep, pixijs can fall back to a canvas renderer. I have a feeling it would be too slow unless I disabled all the effects.
dhotson··on Show HN: Something pointless I made
Yup! Credit where credit is due—that is the gif that inspired this thing. Love it!

I'm really curious how they made it in the first place.

dhotson··on Show HN: Something pointless I made
Ah bummer, WebGL is pretty widely supported but still not quite 100% -- http://caniuse.com/#feat=webgl
dhotson··on Show HN: Something pointless I made
I'm glad you asked! :)

I created it in Adobe Illustrator using a gradient mesh: http://i.imgur.com/kuuFVO2.png

Illustrator's gradient mesh tool lets you create a grid of points where you can choose a colour for each point. I overlayed the grid onto the sprite and estimated the distance at each point.

dhotson··on Show HN: Something pointless I made
I made this demo using http://www.pixijs.com/

Something I'm really happy with is the psuedo-3d effect on the cat using a displacement map.

I took the cat sprite (http://dn.ht/picklecat/mesmercat.png) and made a "depth map" (http://dn.ht/picklecat/mesmercatdisplacement.jpg) where white is closest and black is furthest. This information is used to determine how far to move the underlying pixels. It's enough to give a subtle illusion of depth.

dhotson··on A Neural Algorithm of Artistic Style
Some examples: http://i.imgur.com/ibHuI3Q.jpg
dhotson··on Khan Academy: Algorithms
Boyer-Moore (finding a string in another string) is a good example: http://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_string_sear...
dhotson··on Show HN: A Simple terminal-based video chat – renders in ASCII and has audio
I made something similar to this using a combination of 256 color mode and unicode halftone characters for "dithering" between the foreground/background colors.

https://github.com/dhotson/txtcam

Another thing I'd like to try to get a bit more resolution is to perhaps use the braille character set in combination with 256 color mode: https://github.com/asciimoo/drawille

Also, some terminals are starting to support 24bit color (iTerm2 nightlies) which could pretty drastically improve the possibilities of terminal based video: https://github.com/frytaz/txtcam/tree/color :)

dhotson··on QBasic game programming
I managed to dig up one of my old 3d demo projects:

Source: https://gist.github.com/dhotson/686036fb771fbbca8c48

Screenshot: http://i.imgur.com/4fpaYtO.png

.. it's not as embarrassing as I expected. :)

dhotson··on QBasic game programming
Oh wow.. the community is still going: http://www.neobasic.net/

Marcade, Alias, Chaoticmass, Sciolizer.. any of you guys hang out here? :)

dhotson··on ASCII Cam
Very cool!

I made something similar that runs in your terminal: https://github.com/dhotson/txtcam

dhotson··on Creepy visitor tracking using Linkedin
I found it a little bit ironic that one of the companies protesting NSA surveillance and collection of user data.. was LinkedIn.

https://www.reformgovernmentsurveillance.com/

dhotson··on Show HN: Nightmare – Simple browser automation
Hey Peter,

Swiftly lead dev here. Just wanted to say this is very cool! I was a little bit surprised to see us in your examples.

We've been looking into improving our end-to-end testing tools, but it looks like you guys have already taken care of it. Nice work! ;-)

dhotson··on Latent Dirichlet Allocation on Tweets
Very cool!

I've read that LDA doesn't work well on short documents. Your approach of concatenating all tweets for a user appears to work quite well. One other technique I've seen is to concatenate multiple tweets together that contain the same hashtag.

One of our intern students at 99designs did some work on applying LDA to classify graphic design tasks:

http://99designs.com.au/tech-blog/blog/2014/01/22/Swiftly-Ma...

.. you might find it interesting. :)

dhotson··on Ask HN: What did I do so wrong in this coding interview
Yep, it's that balance between abstraction and indirection.

Abstraction can be a great tool, but it comes with the cost of added indirection.

You want to aim for the sweet spot in the middle somewhere.

dhotson··on Springy: A force-directed graph layout algorithm in JavaScript
Hey guys, original author here. Thanks for taking a look. Questions welcome. :)
dhotson··on Excel formulas in JavaScript
Isn't that true for a lot of tools? Including programming languages?
dhotson··on Excel formulas in JavaScript
Very cool!

Slightly related... I reckon a command line / ncurses version of Excel would be really useful. Am I crazy?

e.g. something like http://upload.wikimedia.org/wikipedia/en/e/ec/Lotus-123-3.0-...

Spreadsheets are a pretty useful and powerful tool when it comes to doing ad-hoc data analysis, but it's kind of annoying to get data in and out of them from command line tools.

dhotson··on Show HN: NCurses Terminal Webcam
Neat! I made something similar for OSX: https://github.com/dhotson/txtcam / Screencast: https://asciinema.org/a/7301

I used halftone characters to do "dithering".

Someone forked and updated it to work with iTerm2's 24 bit colour support: https://s3.amazonaws.com/f.cl.ly/items/063S2A0b2b3w3T2Z3J0q/... .. not bad!

dhotson··on Show HN: A Color Palette Generator I Built For My Senior Thesis
If you're into this kind of thing, definitely check out the NASA color usage research lab website: http://colorusage.arc.nasa.gov
dhotson··on TLS/SSL implementation in Haskell
The first thing I searched for in the README was "constant time".

This whole thing has got me curious about techniques for formally verifying software.

I'm a complete beginner on this topic, but I assume there are tools to help write software that's formally verified / proven to be correct. Can they make any guarantees about side-channel aspects such as timing in these systems? Anyone care to give me some pointers on where to begin?

← PreviousPage 3 of 15Next →