HNHacker News
TopNewBestAskShowJobs

swdunlop

515 karma · joined December 6, 2009

Lead wookiee at https://www.cmdzero.io
submissionscomments
swdunlop··on Board games are back, thanks to lessons designers learned from computer games
When I moved to Seattle, the D&D Encounters program was just getting started in the local game stores. That was an excellent way to meet other gamers in the area. That program has evolved into the Adventurers' League, which expanded Encounters to include groups outside of participating stores.

Card Kingdom / Mox is very popular; if you have some anxiety, I would recommend one of the other game stores in town. Meeples Games in West Seattle is very friendly and laid back. Uncle's can be chill, too, but I have not attended an event there since the Southcenter store closed.

I recommend checking the Adventurers' League site and visiting a few events at different locations; find which one matches your interests, best. Let the staff know you're new in the area and looking for a group; they'll redirect you to an organizer who will do their best to find you a table.

Alternately, there's a plethora of local gaming conventions around Seattle. Adventurers' Leagues are usually there, too. Same drill -- show up, let them know you're new and looking for new friends.

swdunlop··on The citizens of Detroit are building their own Internet
https://en.wikipedia.org/wiki/Speakeasy_(ISP)
swdunlop··on Working from Home Can Make You Happier and More Productive
You need to set expectations. When you are working at home, you are not daycare, dogsitter, handyman or generally at leisure. I have worked at home for eight years now, and my family generally understands this.

As someone who now manages a remote team, it can be tricky to help people adjust to working from home. Some people just have to have that physical partition because they or their family won't adapt. I recommend a co-working space for those people; that partition can be essential for keeping them productive and happy.

The other side of this coin is making sure you set that time aside for your family and personal recovery. If you had a coworker who never left the office, you should worry about ingrowth and their health. The same is true for a remote worker who seems to be always online and always working.

swdunlop··on Apple Mac computers targeted by ransomware and spyware
No, but it comes with a popular browser?
swdunlop··on Ways to manage conflicts with cops in a medical emergency
That Seattle PI article is from 2011; so if the justice department is still investigating.. They need to hurry the hell up.

Also, Washington is only a blue state because of Seattle. It would be a swing state at best. You can see the evidence in its state legislature, where it has been in a near state of paralysis for years trying to figure out a budget that will satisfy "starve the beast" conservatives and Seattle's infrastructure needs.

swdunlop··on From Node.js to Go
> That sounds like it's actually very difficult to support multiple operating systems. As a developer I never, ever want to write any OS-specific code.

You may not, but if you want something to work on multiple platforms that someone else has not abstracted, you have to do it anyway. When you do, you may want something more orthogonal than cpp macros.

swdunlop··on Keurig 2.0 DRM Bypass
The old way in industrial automation is a float sensor, which is basically a reed switch with some buoyancy on the end. With substances that are corrosive, or where there's a cross contamination concern, you drop down to load cells or a rangefinder, both of which are more expensive and fussy. :)
swdunlop··on Surface Pro 3 Review
That's a big improvement, then. The original Surface Pro was awful, with serious problems [1] in the mwifiex driver. I also found its wireless support was unstable when bluetooth was also in use, even in Windows 8, which was the final deal breaker for me.

I would recommend waiting on adopting any Surface devices until there is general acclaim that they got the hardware right, beyond a reviewer who just used it for a few days then rushed to press.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=69661

swdunlop··on Libchan: Like Go channels over the network
The README looks interesting, but with zero API documentation, it is just a curiosity; see https://godoc.org/github.com/docker/libchan for how this package looks to GoDoc. Usage information and context is essential for encouraging other developers to adopt a dependency and start returning contributions.
swdunlop··on Things from Python I'd miss in Go
Great tool. In Go, I usually write a throwaway_test.go in whatever package I'm hacking on, and use "go test" as my REPL. (With the intent that these experiments and crude checks should become unit tests later, anyway.) For exploring packages that I'm not developing, this is a nice variation from the Go playground.
swdunlop··on Scammed
Yeah. Anyone who knows Mike knows that he isn't some fictional automaton. The journalist is playing the 90's hollywood hacker card here. All we need now is Mike roller blading and some bad CGI to make it complete.
swdunlop··on Scammed
I thought the same thing. The journalist is very careful to respect the scammer, "Mr. Smith" but is very eager to dump where Mike lives, what mule fingered him, and the only thing protecting either would be the fact that Mr. Smith would be more exposed if he tried to retaliate directly.
swdunlop··on Neovim
Interesting. I find it a little comic that plist XML files have become the common language for exchanging syntax definitions between editors, due to TextMate.

I wrote a utility to convert these files to/from YAML so it would be friendlier to edit Sublime Text themes; editing naked XML plists was painful for me.

https://gist.github.com/swdunlop/8872387

swdunlop··on Neovim
There's source code, a BSD license and the README describes their rationale right up front. In light of just the superficial information on github, your comment seems hyperbolic.

My interest in the project is in something with a design similar to Sublime Text that works remotely in an SSH session. There's also some exotica about wrapping Python in a Go process which I find interesting and terrifying.

swdunlop··on Neovim
"Hm, maybe better to write an open-source version of Sublime Text?" You mean, like Lime?

https://github.com/limetext/lime

swdunlop··on Hypercard – Way Too Early
I thought the same when I read the article -- they missed the point of the programmability, and some of the downfall of hypercard (it was an unholy mess to sort out a badly written stack.) Sometimes I wonder if the spiritual successor of hypercard was in fact Visual Basic.
swdunlop··on 30 Window Managers in 30 Days
That is not a bad thing in a window manager for people wanting an environment with few surprises. Openbox's development has been idle for years, but it where I go every time after I get bored with fighting GNOME3 or E17 on a new Linux install.
swdunlop··on WebViews Are Not To Be Trusted
> Do native apps really use third-party authentication services? That would scare the shit out of me too.

I would not underestimate the callousness of someone chasing revenue one or two dollars at a time. I see this all the time in Android applications, digging around with AndBug [1] -- just set a hook on various apache.http.client.HttpClient methods, and watch the interactions.

[1]: https://github.com/swdunlop/andbug

swdunlop··on WebViews Are Not To Be Trusted
And what is the difference between an untrusted application presenting a login webview for your service of choice, and a GUI form doing the same?

I must not understand the article.

swdunlop··on Mailpile – taking e-mail back
Not at all.

"Mailpile will download your e-mail from a mail server much like Thunderbird or Mail.app and process it locally."

PRISM and other efforts at tracking associations operate at the server and header level, this is not a useful countermeasure. It may reduce the amount of mail you leave on the server -- but so would a reasonable mail reader configuration.

swdunlop··on Chuck Moore: The Invention of Forth
It would, except that the JVM is short a stack -- Forth really likes having two. A Toy Forth is a great next step after writing a Toy Lisp. It's like exploring an alternate universe, where any sort of abstraction between you and the hardware should be knocked down in the name of simplicity.

A few great places to get started:

- Forth Warrior, a programming game using a java-based Forth machine with 2d sprites.

- Jones Forth, a literate x86 forth implementation (great for learning plumbing)

- Retro Forth, a minimalist little virtual machine and Forth image that targets it.

None of these are ANS Forth / FIG Forth / etc compatible, which I think is in keeping with Moore's tradition of just whipping up a new dialect whenever he has a new problem domain.

[1]: https://github.com/JohnEarnest/Mako/tree/master/games/Warrio...

[2]: http://git.annexia.org/?p=jonesforth.git;a=blob_plain;f=jone...

[3]: http://retroforth.org

swdunlop··on Impressions of Go
Your blog post has some assertions that are either overbroad ("No type inference.") or just unsupported ("The whole design of GOROOT/GOPATH is completely broken".)

Everyone is welcome to their opinion, but it'd be nice if they actually supported it with some explanation if they want to bandy it about in public.

swdunlop··on Go read: fast Google Reader clone in AngularJS with Go on App Engine
Very nice.. I've wanted a nontrivial example of a Go webapp -- the ones I write are strictly JSON API's that lurk behind our presentation UI.

You can see the actual dependencies used by hitting godoc.org:

http://godoc.org/github.com/mjibson/goread/goapp?imports

swdunlop··on Ask HN: What's Your MacBook* Desk Setup
I have found that fan will run like crazy even with htop showing low CPU usage. It is something about Thunderbolt that seems to produce substantial waste heat, even when it's just a single terminal watching htop.

Driving one or two displays doesn't have a perceptible difference for me; I wouldn't want to play a Steam game that way, but watching Hulu or Netflix on one screen while I code on the other doesn't impact Sublime Text's performance. :)

swdunlop··on How Go uses Go to build itself
In a much more complex sense, yes. Go's build process starts from various cruft found in Linux, OSX, or Windows, and makes a beeline for its own (more uniform) cruft, where things are uniform enough to build Go's toolchain.

It is interesting to me, primarily, because as a Go user, I never have to see it. The toolchain's abstractions are good enough that, as long as I don't meddle with the syscall package or keep my CGO interactions shallow and confined, I really don't worry about crossing between developing on OS X and testing and deploying on Linux. (Or even crossing between amd64 and ARM, now that Go 1.1 is out.)

Even cross-compilation is very straightforwards, once again, assuming you stay the hell away from CGO.

swdunlop··on Ask HN: What's Your MacBook* Desk Setup
I have a recent Macbook Air 11 and two Thunderbolt Displays that I daisy chain. That lets me keep my telemetry terminals that monitor cluster health, chat and music off to one side while I work on the other display in a full screen iTerm2 session.

I keep a bluetooth keyboard and a magic trackpad at the desk. Docking is just a careful sequence of power.. wait a second.. thunderbolt cable. (That pause seems to ward off occasional hiccups in OSX recognizing the daisy chain.) Undocking is the same -- savagely yank out the thunderbolt cable, don't sleep first; most of my crashes came from introducing thunderbolt devices while OSX was sleeping.

EDIT:

Regarding Virtualbox -- it works quite well with Linux and one of the displays, although you probably don't want to use a bulky compositing window manager at a Thunderbolt Display's resolution. I use i3 with boring old urxvt's, so the lack of compositing oomph from Virtualbox doesn't bother me.

swdunlop··on Pixar's Chris Horne Sheds New Light on Monsters University
That is the most clear description I've ever seen of local vs global illumination. Thank you.
swdunlop··on Show HN: I've used Go to build a daemon for the Raspberry Pi
"It seems like it's all about saving dev time these days."

It has always been about saving engineering time; otherwise, why aren't you handcoding things in assembler? Any reasonable development process involves at least a subconscious decision about how much hardware to give up in exchange for a manageable engineering cost.

For the problem domain, Go seems like a reasonable point in the continuum of efficiency and engineering costs.

Another part people overlook when they say "well, my low level language has a library for that, too" is that there is also a cost decision when adopting a library. How quickly can you vet libcurl has no buffer overflows or memory leaks? Compare that to Go's net/http? Does the library have enough public usage in your problem space that you can assume someone else has found and reported the bugs?

Dependencies are like puppies. They are cute, right up until they become your responsibility. The author might have felt more comfortable with his chances of updating and maintaining "net/http" and the lower chance that he would need to.

Until something happens to make engineering time limitless and free, it's ALWAYS going to be about saving dev time.

swdunlop··on Massive Number of Vulnerabilities Found in X.Org
It is easy to dismiss these vulnerabilities from a perspective of a common desktop user. "I already have privileges on this box" or "any desktop user already has a way to escalate privileges."

But X11 is also used in process control settings where crappy ancient programs run on decrepit old machines with modern X.org servers used for displays. Would we be so dismissive if someone revealed a host of major vulnerabilities in VNC or RDP clients? (Probably. :))

swdunlop··on How is CipherCloud doing homomorphic encryption?
Is not hearing about the Streisand Effect a counter-example against the Streisand Effect?
← PreviousPage 2 of 7Next →