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

What I'm saying is that you should have a nix package for your application and one for your database server. Whether these run on the same machine or not is a question for how they're deployed, but it should be the same package that's pulled in by the production recipe and the dev recipe in any case.

comment 11y ago · link · parent

Turning off that hideous beep was always the first thing I did when I got a new Thinkpad.

You know, back in the day when buying a new Thinkpad was a thing I would consider doing.

comment 11y ago · link · parent

My vote is to sack the guy who decided that the AC/battery indicator only needed to be visible when the lid is closed. Maybe hire him again just so you can sack him again... 3200x over?

comment 11y ago · link · parent

I'm not sure what point you're making. Are you saying it's not important to run the same version of all your dependencies in development as in production?

comment 11y ago · link · parent

Basically the only DMs I've sent using twitter are variations of "What's your email address?" and "What's your phone number?"

comment 11y ago · link · parent

> Why would one use a Raspi or Arduino to read out some moisture-meter if it can be done with a 3 dollar hardware piece the size of a fingernail?

The article states that it lacks analog input, so that might be a good reason.

comment 11y ago · link · parent

The driver's not much good on its own.

Traditional dependency systems force you to track the version of the server itself outside the project's configuration.

comment 11y ago · link · parent

My guess is they don't bother with Linux systems because proper application packaging on Linux OSes is source-centric.

They've made the choice not to offer their code as free software, so that would mean it would be a headache to support on systems that value software freedom.

comment 11y ago · link · parent

> As much as I criticize Maven, I'm not sure what this process buys you over maven except... well... what DOES it buy you over Maven dependency management?

I agree that using Nix doesn't make sense for application development where all the dependencies are resolvable within the language runtime. (Provided the runtime itself can be well-specified in the project configuration and the language's dependency management system defaults to exact immutable declarations.)

But throw in a dependency on Redis and Postgres, and you get into territory where traditional tools fall over pretty quickly, especially if different branches of your codebase depend upon different versions of Redis.

Personally Guix is more interesting to me as a way to keep my own stuff declarative rather than for sharing across a team of developers. But the cost doesn't seem too high if your application has external dependencies which traditional tools suck at; I've felt that pain and it isn't pretty.

comment 11y ago · link · parent

Unrelated to the content, but it's very difficult to read the article with those "st" ligatures everywhere. It gives a distinct "I just read an introductory typography book" impression.

Edit: apparently only visible in Gecko. Wonder if it's intentional.

comment 11y ago · link · parent

If you want to work in Indonesia or Thailand you need a local company to sponsor your visa and work permit, which makes remote work tricky. In years past you used to be able to just leave the country every 60 days or whatever and hop right back over the border, but you can't get away with that these days.

Doesn't make any sense, but that's how it is.

comment 11y ago · link · parent

> It's one of several standard types of interview

Except it's not actually an interview. Call it a Q&A or something if you like, but "interview" implies back-and-forth conversation.

comment 11y ago · link · parent

> I think it's because ordinary everyday English language doesn't have a good way to tell someone that their question is wrong

English is always stealing from other languages anyway; it's high time we stole 無 (https://en.wikipedia.org/wiki/Mu_%28negative%29)

comment 11y ago · link · parent

I would like to think it was certainly emailed because I can't imagine a live interviewer getting those kind of answers and continuing in that vein; I really want to assume the only way that could have happened was if there was no real back-and-forth between the interviewer and the interviewed.

comment 11y ago · link · parent

The previous answer defines it as the "Did I re-read it" test.

comment 11y ago · link · parent

My experience is that often even when the user comes with a suggestion backed up with a patch, it can be rejected because either they didn't understand how it interacts with other features in the codebase, or the maintenance burden would be too high for too little gain.

Essentially even when you're asking to contribute a patch, you're requesting that someone maintain some code you wrote for an indefinite span of time.

My experience has been that it's much more productive to say "I can't merge that patch into the core, but here is how it would be implemented as a plugin" and ensure your plugin interface is powerful and stable enough to allow people to do what they want.

comment 11y ago · link · parent

On an unrelated note, I gave up on GitLab last year because the landing page always showed recent commits instead of the readme, making it less welcoming to new users who just want to see what the project is about.

I'm glad to see they have changed this; navigating to a GitLab project now shows you the readme. Definitely going to give it a long hard look to see if I can switch again.

comment 11y ago · link · parent

After my experiences with Jira, "nowhere near as flexible as Jira" sounds like high praise.

comment 11y ago · link · parent

> Am I not visiting enough of the slow sites?

Do you use NoScript? I feel the same way because I usually run with JS turned off. Most things are pretty zippy despite using a computer from 2009.

comment 11y ago · link · parent

Given Stallman's background with Emacs and lisps in general, the idea that he doesn't understand the idea of implementing a program in two languages is pretty hilarious.

comment 11y ago · link · parent

Applications that are written specifically in order to be run on the servers of a given company instead of being written to be general purpose have vastly different tradeoffs involved when it comes to choosing dependencies.

comment 11y ago · link · parent

It depends who your end users are. If the people responsible for running the code do it as their full time job, then yes, bundling the dependencies is more practical because you have a team of full-time engineers to handle security updates, rollbacks, etc. But if you're pushing it out to people who expect to just be able to fire and forget, not relying on your distro to manage dependencies for you is going to result in a world of hurt.

comment 11y ago · link · parent

> should I also focus more on getting things done instead of trying to find the best solution?

This question can only be answered in the context of the project's life cycle. Is it in the early stages? Are there many downstream users relying on its stability? How clearly is the distinction between internals and interface communicated to downstream users? How technical are the end users?

> the fact that ffmpeg has more features and its devs fix bugs and security issues more quickly seem to suggest that ffmpeg is more maintainable

Or it could just be that ffmpeg has people who are willing to dedicate a much larger amount of time to their maintainership duties. Often differences like this have much more to do with nontechnical causes like corporate support.

comment 11y ago · link · parent

> Debian and Fedora do packaging better than Docker, relatively speaking, but they still have major issues that have lead to "solutions" like Docker, Chef/Omnibus, etc.

I get what you're saying, but the way you've phrased it makes it seem like it wasn't intentional when in fact before immutable git-style packages were discovered, you were forced to choose between packaging that works well for developers/ops and packaging that works well for end users.

Debian is the best example we have of the latter, but it's a mistake to say they did a bad job at making ops-friendly packaging. They are solving a different, mutually-exclusive (until recently) problem.

With a bunch more elbow grease and polish, the nix/guix approach allows us to have the best of both worlds, but this is a very new development; arguably it isn't even "there" yet.

comment 11y ago · link · parent

Technically yes, but in a way that's so trivial so as to be basically meaningless.

comment 11y ago · link · parent

Yes, that's another reason I've avoided upgrading--I really appreciate the ability to swap the battery out in the middle of a long flight without a screwdriver.

Basically everything in the X200 is user-serviceable; you can even replace the keyboard without taking it in, provided you can find the parts you need. The only thing I'd be worried about is being able to find new batteries for it; worth looking into before you pull the trigger.

comment 11y ago · link · parent

> I think the problem is humans just aren't smart enough to do the work.

I think this is true if you define "the work" as building on top of the infrastructure we have today. I believe we're capable of building conceptually clean, non-ball-of-mud architectures, but the need to interoperate with piles and piles of legacy systems forces compromises into the design. Just look at a typical web application stack; you've got layers and layers of cruft, and nobody is able to pull off a bold move that tears layers off; the best we can do is add more layers on the top.

comment 11y ago · link · parent

I've been using my X200 since I got it. Not only has it survived multiple falls from a 1.8m standing desk, it's still perfectly serviceable for everything I've needed it for. Most Thinkpads released since then are markedly worse, plagued with low-resolution or glossy screens. They've also removed the LED indicator that tells you whether the AC adapter is plugged in and when the battery level is critical.

tl;dr: sure there are newer machines with better specs, but nothing better in ways that actually matter to me.

comment 11y ago · link · parent

Singapore has had 99.99% coverage since 2000 or so... Quite true that lots of things that make sense for them wouldn't work elsewhere.

comment 11y ago · link · parent

There is great irony in using the .io domain for this considering its extremely undemocratic history: https://en.m.wikipedia.org/wiki/Depopulation_of_Diego_Garcia
1
678
46