HNHacker News
TopNewBestAskShowJobs

stewartbutler

282 karma · joined July 14, 2009

submissionscomments
stewartbutler··on Why Red Means Red in Almost Every Language
It is amusing that 'salmon' shows up on the male side of the gender comparison chart. The only time I've ever seen that used for a color is in Halo. Wonder how much that biased the results.
stewartbutler··on The Property Jungle: I'm a security researcher, get me out of here
No matter how egregious the security risk is, I have a hard time taking anyone who uses twitter to contact someone they want to do business with seriously. Or any social media, tbh. It comes off as unprofessional to me, and it is especially unbecoming if you are a security researcher and this is the first resort. It immediately removes any chance of them handling the issue discreetly, and puts them in a defensive position. Why the hell would you do that?
stewartbutler··on The Fuck – Correct your previous console command
*Works if properly implemented. Had to manually disable this behavior in eshell as it prevented you from running regex with two carets, e.g. '$ grep -E '^sometext[^ ]+moretext'.

You can also just run a sed style substitution in most shells, e.g. '$ !!:s/before/after/' or '$ !!:gs/x/y/', which is safer IMO.

stewartbutler··on FacePay?
Honest question: has Facebook done anything to indicate that they are willing and able to protect user data? Because social and financial are two words that I don't like seeing near each other. I ask because I deleted my account years ago because I felt I had too little control over what was shared and with who, concerning when the service is from a company with no financial incentive to keep any data private. I have no idea if those behaviors have changed and no real interest in looking into it myself.
stewartbutler··on Ask HN: How do you work efficiently on remote servers?
Yep, Sublime SFTP.
stewartbutler··on Ask HN: How do you work efficiently on remote servers?
I use ssh + tmux + emacs. Security policy states no local copies of development files are allowed at my workplace without special authorization, which I never bothered asking for.

Migrated my emacs configuration to the remote server as a git repository, along with any programs that aren't available (e.g. git, which I use for unofficial code; official code is managed via perforce). Use GNU stow to move those configurations and binaries to the right places. If I need to move non-confidential information around I collect it in an emacs buffer and then use M-x compose-mail to send it out. The home directory is an NFS mount so I can also mount my home directory and exchange files that way. Etc, etc.

I also set up a lightweight Arch virtualbox VM that I SSH out of, because I really don't like the available Windows terminal applications, and every so often I need a local Unix box for some random reason.

A lot of my coworkers use Sublime and remote file editing, but I work faster when using Emacs (comint-mode is a godsend). We mainly work in Perl, Javascript, and HTML so none of the bigger IDEs are really appropriate.

Edit Since people seem more interested in the Sublime workflow, I asked for a few more details. Coworker replied: "Sublime SFTP [...] you might want to mention that the only advantage to SFTP over remote mounting the server is the save time, as with SFTP, you save local and push in the background, meaning frequent saves don't constantly stall workflows. Otherwise, there is no real advantage over just mounting directly." It is worth noting that he is working on a Mac, which has some severe bugs [1] when it comes to NFS mounts, and Samba has some latency issues in this instance.

[1] https://www.google.com/search?q=nfs%20slow%20mac

stewartbutler··on Imagining an America Without Sports
How much of business culture uses military terminology or idioms? If sports were eliminated I'm sure we would find something to fill the gap.
stewartbutler··on Beware of Japanese Balloon Bombs
It struck me as ridiculous when I heard the story, but I can somewhat see how it happens -- first, civil-war era means that it is /old/, which makes it seem less dangerous unless you know about the age->instability relationship with explosives; second, it looks like an inert ball of iron, so there is nothing that really screams 'hazardous' to an uneducated viewer.
stewartbutler··on Beware of Japanese Balloon Bombs
Pigeon-guided missiles also come to mind: http://en.wikipedia.org/wiki/Project_Pigeon
stewartbutler··on Beware of Japanese Balloon Bombs
PSA: old bombs are dangerous bombs. If you find something you suspect may be unexploded ordinance, contact the police or (in the US) regional ATF office. Many of the compounds used in older explosives (e.g. TNT) grow more unstable as time passes, actually increasing the change of accidental detonation

Case example: while I don't remember all of the details (it was 15 years ago), there was an exhibit in a small museum in my hometown that had several civil war era percussion fuse cannon balls. An explosives-certified agent at the local ATF office heard that one of the curators would occasionally show children visiting the museum how neat they were, since they would warm up when you shake them. Ends up they were still live, but that the explosive had degraded; a little more energy (say, from dropping it after shaking it for a while) could have set the charge off, killing or seriously injuring the kids at the exhibit. They were safely destroyed, but it stuck in my mind as a cautionary tale not to screw around with old ordinance.

stewartbutler··on Researchers work to counter a new class of coffee shop hackers
> keyboard software

Sounds to me like they modified the driver so that it had some kind of emissions pattern they could track. Driver could be modified via a virus or something.

stewartbutler··on Israeli Startup Can Charge Your Phone in 1 Minute
Maybe a nanopore/nanostructure battery[1,2]? They are touted to bring near-capacitor charge/discharge rates from fairly traditional chemistry. This specific application leaves a few questions, though:

1: What is the actual capacity of the battery demonstrated? If it has a high C but low capacity, this isn't really notable. The paper [1] indicates that total charge capacity is a function of how fast the battery is charged; what tradeoff are they making?

2: How many charge cycles is this battery capable of at those rates?

3: What thresholds are they putting in place for temperature, and are all the components of the phone rated for repeated thermal cycles to those levels and back to ambient?

4: What is the failure mode for this battery? Outgassing? What compounds are released in overcharge?

[1] - http://www.nature.com/nnano/journal/v9/n12/abs/nnano.2014.24...

[2] - http://www.google.com/patents/US20060216603

stewartbutler··on The Python I Would Like To See
The Freaking Article.
stewartbutler··on Navdy: HUD for your car
http://en.wikipedia.org/wiki/Near_miss_(safety)
stewartbutler··on Lego Finds Discontinued Set For Boy Who Saved Up For 2 Years
Patent =/= trademark.
stewartbutler··on Do not track is dying
> It's not like the people using Facebook aren't aware that it tracks you.

I call bullshit on this. The majority of the people using Facebook have no clue what information they are giving up to a third party, and would be very concerned if they realized that their browsing habits were tracked by Facebook without their explicit authorization.

stewartbutler··on Ford Nucleon - a nuclear-powered concept car from 1958
Seems like a horrible idea to have a nuclear reactor in your primary crumple zone -- most high-speed collisions would be front-end collisions.
stewartbutler··on Ford Nucleon - a nuclear-powered concept car from 1958
A complete wild-ass guess -- those concerns are most important in small-scale reactors, and the primary driving force behind small reactors is Navy submarine use. At sea you are surrounded by water, so there is no reason not to use it as your fluid. Adding salt would add another complication to the supply chain.

I guess you could theoretically pull salt out of the water, but there is no telling what impurities may be left. Reverse-osmotic water filtering makes water so pure that it supposedly extracts minerals back out of your bones and teeth, so impurities are no concern when it used as an exchange fluid.

stewartbutler··on Sculpture Made On A MakerBot
They aren't valid at all -- 3D printing isn't limited to plastic.

http://en.wikipedia.org/wiki/Selective_laser_sintering

http://www.solid-scape.com/products/solidscape-3d-wax-printe...

http://www.contourcrafting.org/

Also, plastic 3D printing is a low-part-order replacement for injection molding, and is significantly cheaper for short-run or prototyping. And it is not designed to be a one-stop solution, but simply part of a workflow that can be brought to small fabrication shops to permit them to construct a wider range of things.

That said, the biggest limitation of the Makerbot series of printers in my opinion is the lack of a soluble support material. The Dimension printers [1] allow you to fabricate models with both a structural plastic (ABS) and a support material (unknown) that will dissolve in a lye bath, meaning you can make complex mechanical components in one pass and then dissolve out the unnecessary sections.

[1]: http://www.dimensionprinting.com/

stewartbutler··on Megaupload Is Dead. Long Live Mega
AES?
stewartbutler··on New Zealand PM requests inquiry into illegal Megaupload wire tapping
Check your facts, please. ATF has its own share of assholes, but from personal experience I'm inclined to attribute its failings to incompetence in upper ranks rather than malice.

http://features.blogs.fortune.cnn.com/2012/06/27/fast-and-fu...

stewartbutler··on Cable lacing on the Curiosity rover
Also, zip ties are plastic. Most plastics decay when exposed to ultraviolet. As this is NASA, there is probably some funny polymer that can get the job done, but why fix what isn't broken?
stewartbutler··on Cable lacing on the Curiosity rover
Either they are laced parallel to a support strut, which can be thought of as a very hard wire, or lashed down to some support point. You can also see this in large data centers.

http://www.reddit.com/r/cableporn

stewartbutler··on Motorola to release phone with no bezel by end of year.
I can think of two ways to do it.

First, you could put the piezo film (commonly used in speakers for cellphones, more efficient for smaller transducers but requires a special amplifier) directly below (but in contact with) the display and use the display as the 'diaphragm'. Makes the entire display a speaker, but would require some interesting sound cancelling tricks to avoid feedback with the microphone.

Second, you could use a piezo below the display with an airgap and use something akin to the laser used in the power LEDs on the Macbooks to poke enough airholes to direct the sound toward the ear.

A third method, which I'm not sure would work, is to suspend the piezo material between two ITO layers (like that used in the capacitive touchscreen) and put it above the display. Depends on if someone has found a transparent piezoelectric material yet; I haven't been keeping up with the materials science side of things.

stewartbutler··on Dropbox blocks API access for Boxopus over piracy concerns
Well... yeah?
stewartbutler··on BlackOps Plastics (Opaque to the eye, transparent for cameras)
My guess is that it is just a plastic that is IR-transparent and visible-opaque, viewed by a camera with no IR filter. Actually fairly common - coke cola is IR-transparent. Not sure you can get an image through it, but I wouldn't be surprised.
stewartbutler··on Medical devices: A ticking time-bomb
When lives are at stake, people tend to be more amenable to changes like GMT and 24-hour clock. If the military can do it, a civilian organization with sufficient motivation (insurance terms, regulation, etc) should be able to make the same shift.

However, I was referring more toward the recording system than the staff. If the recording systems were all using unix time stamp with a GMT system clock synchronized over NTP, there would be no ambiguity as to when a record was added to the system. End user systems could be responsible for keeping track of what time zone the user is in, and could convert as necessary. The important thing is that the "One True Datum" have the appropriate stamp.

stewartbutler··on Medical devices: A ticking time-bomb
Well, if it could be regulated, you could require that the hospital put the NTP server or equivalent on IP over power line.
stewartbutler··on Medical devices: A ticking time-bomb
> "Surely connected devices could use one centrally calculated timesource?"

... like NTP?

Sorry, but I'm not sure what point you are trying to make here. Anything with a computer, even a microcontroller, and basic network connectivity can use NTP, it is an extremely simple protocol.

Anything that doesn't connect to a network could be kept in sync via a wireless pulse/tick, though then you have security issues unless you cryptographically sign the clock signal. Though I'm not sure why anybody would try and screw up a clock signal like that other than general asshattedness.

That aside, I'm unsure why they are using local time for logging data anyhow. If the folks managing the hospital were rational, shouldn't there be a regulation to use GMT and 24-hour clock? My home town is right on the Eastern/Central timezone split, and I know it causes all kinds of problems in day-to-day life. I just hate that kind of ambiguity.

stewartbutler··on Hedge Funder Who Bet $100 Million On Facebook IPO Is Furious
As an addendum to your points, I do not have a Facebook account, and since deleting mine I've not even wanted one. Google, Amazon, Dropbox, and a few other services are compelling enough that unless they make serious errors, I will continue using their product. Facebook just had to change their privacy policy before I was finally annoyed enough to give them the boot.
← PreviousPage 2 of 3Next →