Better HN
topnewbestaskshowjobs
Log inSign up

technomancy

3,634 karma · joined Feb 21, 2007 (19y ago) · 1,362 submissions

Hacker-errant, design and sell DIY keyboard kits: http://atreus.technomancy.us

Coding in Clojure, Fennel, and Lua.

Submissions

comment 11y ago · link · parent

Consider the source. a16z has a vested interest in there being more startup founders who don't consider/believe this obvious fact.

comment 11y ago · link · parent

The wikipedia article claims most people who invoke the rule use it in jest, but there is research that indicates different surfaces allow for different speeds of bacterial spread: https://en.wikipedia.org/wiki/Five-second_rule

comment 11y ago · link · parent

It's a start, but I'm much happier having moved it to under my thumb.

comment 11y ago · link · parent

Remember that the JVM was originally developed by a company that sold big-iron server hardware; the software on it would typically run for weeks at a time. If you have to make a trade-off during development that sacrifices startup time for overall performance, take a guess as to which one is going to win.

comment 11y ago · link · parent

I'm sure faster compile times are at least part of it.

comment 11y ago · link · parent

Wow, this is very cool. It shares a lot of the underlying motivation I had in making my own game, but it's much more abstract--I wanted to make it a game specifically in order to get my kids interested, but the same underlying sense of fluidity and hackability is what I'm trying to convey in my game.

That feeling is what can make programming particularly exhilirating and rewarding, and I'm hoping to capture it in the medium of a space game whereas your project seems to be more about exploring programming for the sake of programming and seeing where it takes you.

FWIW my future plans do include embedding other languages in the game. Right now it's just Lua (and Unix, to a degree), but I'm hoping to make it so that you can discover other civilizations built on wildly different technology--at least Scheme and Forth; possibly a DOS-like system thrown in there for giggles depending on how much work it turns out to be. At first you interact with these OSes as they are installed in space stations you encounter, but eventually you learn how to load them into your own ship (virtualization) so you can take advantage of certain in-game technologies built around them.

comment 11y ago · link · parent

I've been working on a programming game of my own along similar lines: http://technomancy.itch.io/bussard

The setting is interstellar rather than urban, and it's still in the early stages of development, but the idea of everything around you being made out of code is central in both. The idea is that your ship behaves less like an arcade game and more like a mashup between Emacs and orbital mechanics--the config file for your ship binds keystrokes to various systems on your ship, and you're never more than a keystroke away from a REPL. But the functions that control your ship are available as an API you can call from your own functions as well.

I'm hoping that at some point it can become polished enough that it could be the means by which beginners could learn to code. There's something about having a "real-world" purpose behind your coding that can really catch the imagination of kids especially.

A good example of this is how earlier today we were testing the game and flying around, and we noticed that an asteroid had fallen into a very close orbit around a particular star. Normally matching velocity with an asteroid in order to mine it is rather tricky when the velocity is steady, but when it's careening in low orbit around a star it's virtually impossible. But by writing a 6-line function that checked the distance between the ship and the asteroid and only activated the laser when it was in range, eventually the wild gyrating around and firing made contact, and the asteroid was destroyed.

I don't think I've seen my kids as excited about a single function worth of code as when that asteroid blew up.

comment 11y ago · link · parent

Understanding what is and what isn't obvious to other people is a good chunk of what makes the difference between a good teacher and a bad one--possibly the single most important factor. Yet it has nothing to do with what makes a good mathematician.

comment 11y ago · link · parent

> The fact that Diaspora failed at implementing this idea doesn't mean that the idea is bad.

I don't think the parent meant to imply it's a bad idea; only that Diaspora kind of sucked all the oxygen out of the "social networks done right" room, and now if you want to float an alternative you have to contend with a lot more skepticism than you would have before.

comment 11y ago · link · parent

Maybe the 3rd dimension is time.

comment 11y ago · link · parent

Well, let's call that out then--folks should be honest that they buy un-repairable hardware at least partly because they enjoy having an excuse to get the latest model two years down the line.

comment 11y ago · link · parent

I'm still rocking my 2009 Thinkpad after passing on my 2007 model (too heavy for my tastes) to my kids.

comment 11y ago · link · parent

> What’s the point of making something repairable generations down the line when nobody is going to still want

The parent comment said that this would become more relevant as Moore's Law continues to lose effectiveness.

comment 11y ago · link · parent

This doesn't seem to be true consistently FWIW; in Thailand the city I looked at had the city name in Thai (แม่สอด) but the street names romanized. Some other city names are romanized as well.

comment 11y ago · link · parent

I can't think of a better language to complement Clojure than OCaml. It hits all of Clojure's weak points dead-on, and its own weak points are covered really well by Clojure.

In terms of "general purpose", I think of Clojure as being a better choice for long-running server processes and OCaml as being a better fit for code you run on your own machine or programs that don't stay running forever, due to the varying memory/performance/concurrency characteristics of their respective runtimes.

I wrote in more detail about my experiences coming from Clojure to OCaml here: http://technomancy.us/170 I found it very easy to pick up with some FP background. Not having to think about nil in particular was a huge breath of air after Clojure. I also had good luck accepting contributions from others with a Clojure background who wanted to make some changes to my code and learned OCaml just for that.

comment 11y ago · link · parent

I used to think being able to touch type on any surface would be really cool, but after some experience with the nightmare that is typing on a touch-screen mobile, I'm convinced it would just be frustrating. What makes typing satisfying (and accurate) is the feedback you get when a switch has actuated; otherwise you must be much more hesitant with your keystrokes.

FWIW I had the same objection to a fancy stationary keyboard as you, so I ended up designing and building my own tiny travel keyboard: https://github.com/technomancy/atreus

comment 11y ago · link · parent

Maybe you wouldn't get the job not because you gave a different answer, but because you assumed the worst about the interviewer; that he was a fool who didn't know how to run an interview.

comment 11y ago · link · parent

Serious question: what kind of codebases are you working on where there tokens in which it's not immediately obvious from the context whether they contain digits or numbers? I have never seen such a situation.

comment 11y ago · link · parent

The "m" in Ubuntu Mono is just so adorable it makes me smile every time.

comment 11y ago · link · parent

There is a bit of a network problem with it; sure.

One advantage that may help is not needing a license; if you have siblings that have to share a Minecraft account they can play Minetest on as many machines as they have without bugging their parents to pay for a new account. Plus it can run on much older machines.

But yeah, it can be a tough sell just because people don't want to bother.

comment 11y ago · link · parent

Hopefully he will eventually share the source code. I showed it to my son who was very interested to see how it was made. We go back and forth between Racket and Lua Love; he thinks Love is easier, but seeing examples of Racket that other kids had made might encourage him to explore it further.

I would love that since Racket is obviously a much better language than Lua for learning, but Love is still a bit more approachable for graphics than Racket's universe library.

comment 11y ago · link · parent

Later in the thread he says his son is working through Algebra II, so I imagine it will be useful, but not quite in the way you've described.

comment 11y ago · link · parent

You should take a look at Minetest: http://minetest.net

It's a bit less polished, but far, far better when it comes to hacking. I found it significantly easier to create a mod for Minetest than to use a mod in Minecraft. Once my kids grasped the idea that they could add whatever items and behavior they could dream up, they really took a shine to it. The Lua coding used is very approachable.

comment 11y ago · link · parent

> this hack victimizes individuals more than the company

Hm; do you really think there's a chance the company will survive this? It seems unlikely.

comment 11y ago · link · parent

Agreed; it would be insane of them not to.

comment 11y ago · link · parent

Some cities in China, as well as Manila IIRC, only allow cars in the city on certain days based on their license plate numbers. Even, then odd, back and forth. Of course this means rich people just buy two cars, so it doesn't quite have the intended effect.

comment 11y ago · link · parent

Sure, but you can't check the profile directory into git, and you can't know the path of the profile directory ahead of time to make a symlink either. The way they randomize the path makes it seem like they're going out of their way to make it automation-resistant.

comment 11y ago · link · parent

TBH I don't care if there's a user interface; what I want is to be able to store my browser's config in git along with the rest of my config. Every other program I use regularly is configured through sane dotfiles; if I check them out on a fresh OS install it's all like I want, except Firefox. I have to go through this insane song and dance of hunting down all my extensions and remembering obscure about:config settings every time.

In fact, it's a bit cringeworthy that this whole list is presented as a thing you're supposed to manually enter while using the about:config search.

comment 11y ago · link · parent

Well considering they don't browse HN or GitHub it's hard to see what the problem is.

comment 11y ago · link · parent

Elsewhere in the manual it seems to imply that formulas can include arbitrary Emacs Lisp functions, which would make it quite easy to implement a virus as there appears to be no sandboxing. What it probably means is that viruses written for other spreadsheet implementations won't work on it.

Edit: never mind; I read further and it does do some sandboxing based on the same whitelisting principles as directory-local variable settings. Very clever.

1
567
46