Better HN
topnewbestaskshowjobs
Log inSign up

breadbox

3,118 karma · joined Mar 18, 2010 (16y ago) · 566 submissions

My personal website is at muppetlabs.com under my username.
Submissions

comment 12y ago · link · parent

That is a textbook example of behaving like a boss from hell. The only proper response to that is "I'm not the one with the problem. If it's bugging you, then YOU can be Margaret." (Presumably followed up by a call to the unemployment office, sadly.)

comment 12y ago · link · parent

You're imagining who you are now being in that state, not who you would be after enough brain damage to leave you in a vegetative state. Imagine that you're not (for example) laying down long-term memories, or that your ability to sense the passage of time is compromised.

comment 12y ago · link · parent

... and the gcc flag would need to be -m64. But I don't think it's this easy. If grub is in 32-bit mode when it hands you control, I would think you would need to switch to Long Mode before you could execute 64-bit code. So your entry point would still have to be a 32-bit program, which would set up everything necessary for Long Mode, make the switch, and then load and execute the 64-bit part of your program.

comment 12y ago · link · parent

Possibly. On the other hand, the comments on this post seem to mainly show interest in the medical technology. (Just imagine the top-voted comments on a similar post on Reddit...)

comment 12y ago · link · parent

I try to avoid using Javascript whenever possible, though that has nothing to do with Brendan Eich. And just to clarify, my hypothetical was in response to one specific argument. I didn't say that I personally was joining those calling to boycott Firefox. I honestly don't know how I feel, because it's not a simple matter. But I object to those who argue that it is a simple matter.

comment 12y ago · link · parent

If the owner of my neighborhood coffee shop had gone on record as supporting SOPA/PIPA/et al, I would be strongly inclined to stop going to that coffeeshop and giving them any of my money. I would also tell my friends about the situation so that they might also take similar actions if they felt so inclined.

I can tell you that, in the context of this hypothetical situation, any arguments that my actions are uncalled-for because "coffee has nothing to do with the Internet" would not have much impact on me.

comment 12y ago · link · parent

You can see it as punishing an individual. But for others, it's more an issue of not supporting someone who is trying to make their lives miserable.

comment 12y ago · link · parent

It's sometimes hard to believe, but our current laws seems to allow that you can be forbidden from modifying a piece of software even for your own personal use.

comment 12y ago · link · parent

Indeed. One could argue that government is the original crowdfunding.

This is actually kind of a nice illustration of how backwards our ideas of social services have become.

310.

No, Nate, brogrammers may not be macho, but that’s not all there is to it(medium.com ↗)

12 points · by breadbox · 12y ago · 1 comment

comment 12y ago · link · parent

That keyboard has the aligned key columns, which I think are a big part of Kinesis's advantage. But I also love the two wells for the separated halves, which helps minimize extra motion. Plus the wide variety of thumb keys.

comment 12y ago · link · parent

True. But neither does it mean that you gain anything by being ignorant of it.

comment 12y ago · link · parent

Yes: "Never Again", by Doug Nufer (http://www.amazon.com/Never-Again-Doug-Nufer/dp/B000HWZ1VE).

comment 12y ago · link · parent

Very true! I mentioned that fact the first time I gave this presentation, but it wound up being an anticlimactic ending, so I chose to omit it from the written essay. (And at this point, the focus is more about the process of reverse-engineering anyway.)

EDIT: To be precise, there were still a few other crossword publishers using the scrambling feature. None as important as the New York Times, though, of course.

315.

Cryptic Crossword: Amateur Crypto and Reverse Engineering(muppetlabs.com ↗)

131 points · by breadbox · 12y ago · 16 comments

comment 12y ago · link · parent

> But in reference to the article in question: would this system work for you? If not, isn't there a chance it really won't work for these people, for the same reason?

Sheesh. We all have a few things in common, but beyond that different people really can be different. Especially when it comes to how to manage family relationships. In my experience, anyway. Be careful of generalizing from yourself to folks you've never met.

comment 12y ago · link · parent

Really? I always do. If you don't, it makes the variable look like a type. It's the same reason why I dislike extra parens around the value in the return statement. Don't make it look like something it isn't.

comment 12y ago · link · parent

> http://www.muppetlabs.com/~breadbox/software/tiny/teensy.htm.... which is a 45 byte executable (it doesn't say Hello World)

True, I needed 62 bytes to get the greeting in there.

comment 12y ago · link · parent

In some (most, I thought, but maybe I'm wrong) terminals, you can only use the control key to generate an actual control character -- i.e. one of ASCII 0-31. The ctrl key basically unsets bit 64 from the typed key, so ctrl-A through ctrl-Z generate ASCII 1-26, ctrl-@ generates ASCII 0 (though traditionally ctrl-spc gives this as well), and ctrl with [ \ ] ^ _ generate the remaining ASCII 27-31. Ctrl-? sometimes generates ASCII 127 (pretending that ctrl actually subtracts 64 instead of unsetting the bit), but otherwise there are no remaining ASCII values left for such extensions as ctrl-%.

comment 12y ago · link · parent

One possible interpretation: Things that are valuable (be it artistic creations or useful tools) will overshadow their inventors. If you want your work to be recognized, then you should care more about your work than about being recognized for it.

comment 12y ago · link · parent

I also took the time to type in Randall Beer's Lisp from 80 micro. In fact, I'm pretty sure that that was my first time accessing a working Lisp interpreter. (Mostly working, anyway. I think I had a typo that I never managed to track down.) Unfortunately I didn't really know what to do with it. I didn't really learn how to use Lisp until I spent several days trying to write Lisp programs in college, and finally started to understand the functional paradigm. But yeah, that may have been one of the longest magazine programs that I ever typed in.

comment 12y ago · link · parent

Obviously I agree (check out my page of teensy executables sometime), but it's much more complicated to compete on that metric. The size of a compiled executable can vary widely depending on details of your compiler and/or platform, making for a very unportable challenge. In a monoculture world, that would be more practical, but that's not how things are nowadays.

However, I will say that trying to minimize the size of the source involves much of the same kind of resourcefulness and lateral thinking that minimizing executable size does. So despite the drawbacks, it really is just as fun.

comment 12y ago · link · parent

See also storybundle.com, which is very similar.

324.

Fake sign-language interpreter at Mandela funeral(languagelog.ldc.upenn.edu ↗)

2 points · by breadbox · 12y ago · discuss

comment 12y ago · link · parent

For me the poster's point was undermined by my own personal experience of interviewing and discovering the alarming frequency at which people with PhDs will bomb the technical interview, simply because they can't program their way out of a paper bag.

(And yes, this is my own personal experience, therefore it doesn't prove anything. If you thought I was trying to prove something, you didn't come close to understanding my comment.)

comment 12y ago · link · parent

It's not really a problem with the analogy; I'm just saying that a good analogy is no cure for a lack of experience. My first non-toy C program was a disaster because I knew what a pointer was but I didn't yet understand how to manage them.

comment 12y ago · link · parent

Certainly I have (the former, not the latter). You won't be surprised when I tell you that it wasn't a horrible tragedy and that I didn't die on the spot because of this, or accidentally purchase a handgun instead of a watermelon. In fact, it was such a minor event that I hadn't taken the time to make plans ahead of time for such an eventuality. Likewise, the first time I used pointers, nobody told me ahead of time that it was even possible to have a pointer that pointed to nothing. Understanding this, and (more crucially) learning exactly how to know when a pointer was and was not valid, was what got me my first merit badge in C. Everything before that was just Pascal with less formality.

comment 13y ago · link · parent

For a lot of people I think it takes a while to really internalize the ramification of the fact that you can have a pointer to memory you're not allowed to use. (That, plus the way they're used in C as a cheap answer to templates/generics.) I understood that a pointer was an address from the start, but it was still some time before I figured out how to use them correctly.

329.

NFL Follows the Tobacco Company Playbook(skepticblog.org ↗)

1 points · by breadbox · 13y ago · discuss

1
101112
19