HNHacker News
TopNewBestAskShowJobs

hamiltonkibbe

382 karma · joined July 17, 2013

https://hamiltonkibbe.com
submissionscomments
hamiltonkibbe··on Ask HN: How do you push your code to your server?
This is just for my personal site (wordpress), and probably isn't relevant for a webapp at scale:

a fabric script + git/Github

I develop on localhost and use a python script (with fabric) to manage deployment with git

>>fab git_commit: changes all the Wordpress url references in the database from localhost to production url, dumps the database, uses sed to replace localhost with production url in a few other files, and runs git commit.

>>fab deploy: pushes local repo to private Github repository, runs git pull on production server, and updates the production database from the database dump in the repo.

hamiltonkibbe··on Tesla Model S Ethernet Network Explored
I could certainly see people modifying cotor controller settings. Changing hard RPM limits, or tuning PID controller gains for extra milliseconds on the track.
hamiltonkibbe··on Tesla Model S Ethernet Network Explored
Unless someone re-wrote the kernel to be MISRA-compliant...

MISRA Compliance...Coming soon in Ubuntu 149.04 Zany Zealot!!</s>

hamiltonkibbe··on Ask HN: What's the best domain you own that you aren't currently using?
wookipedia.org
hamiltonkibbe··on Resume Republic – Awesome Online Resume Templates
I've used inDesign for my resume with --in my opinion-- great results.
hamiltonkibbe··on Show HN: My new site/blog. Let me know what you think
Thanks, I should probably turn F.lux off every once in a while...
hamiltonkibbe··on Kiteboat: sailing innovation on SF Bay
Me too. I'm guessing that 80m is for more altitude and better wind. There are plenty of safe 4-line systems, you can always flag the kite on a single front line. Maybe they're Cabrinha fans? I wonder how this would do with a 25m foil kite instead of an LEI. 11m is my go-to most of the summer here in Boston
hamiltonkibbe··on Fluke owns trademark on multimeters with "contrasting yellow border"
It certainly doesn't have the fluke logo on it, but as someone who uses yellow multimeters fairly regularly (Fluke and otherwise) I immediately (and possibly mistakenly) recognized the design (shape, color, the specific rotary switch used) as that of the particular model Fluke multimeter I have in my drawer. (FULL DISCLOSURE: I own two yellow multimeters and only one is a Fluke)
hamiltonkibbe··on Fluke owns trademark on multimeters with "contrasting yellow border"
measuring the potential between the shield and your tongue... I (maybe inaccurately) read the parent comment as "If miswired sockets REALLY are a hazard to people messing around with 5V electronics, prove it"
hamiltonkibbe··on Fluke owns trademark on multimeters with "contrasting yellow border"
In this case the entire design (color, shape, etc) is nearly identical to my Fluke meter. I'm sure they're not going after every yellow and gray meter on the market. These are clearly designed to look just like a Fluke meter
hamiltonkibbe··on Fluke owns trademark on multimeters with "contrasting yellow border"
Plug a cheap, transformerless, USB charger into a socket that's wired backwards, and touch the shield of the connector by accident when plugging it into your cell phone
hamiltonkibbe··on Fluke owns trademark on multimeters with "contrasting yellow border"
I think it's fairly likely that someone who is using this multimeter while working with e.g. Arduinos, would be the type of person who, when some piece of electronic equipment in their home isn't working, would say "I have this multimeter, let me check and see if there's voltage on the outlet"
hamiltonkibbe··on Arduino Sensor Network – Bathroom occupancy detector
"* Clam K has been occupied for 4 days"
hamiltonkibbe··on DEA teaches agents to recreate evidence chains to hide methods
It seems like going to court and saying "yeah the lead investigator for this case just happened to stumble upon what appeared to be a shipment of watermelons bound for the local Stop & Shop, and decided they looked suspicious. After a full body cavity search of the driver, and a thorough search of the contents of each of the 742 watermelons, a small bag of marijuana was recovered" when in fact the reason for the search wasn't "suspicious looking watermelon shipment", but rather "3-letter organization tipped us off, one of their interns stumbled upon it while casually perusing some cell phone recordings over lunch" is certainly perjury and patently illegal.
hamiltonkibbe··on With the New Gmail, People Will Know When You Open That Message
They already did. Now they know less about who opened the email.
hamiltonkibbe··on AT&T offers gigabit Internet discount in exchange for your Web history
I'd be willing to sell swaths of encrypted VPN traffic and the IP address of a data center in New Jersey for $29 a month
hamiltonkibbe··on US Fails To Close TPP Deal As Wikileaks Exposes Discord
Yes, it grants congress the power to grant copyright protections for a "limited time." Although a limited time could conceivably be "any finite period of time," a set of which "1 million years" is a member, if one chose to interpret it that way.

EDIT: I hope no one ever interprets it that way.

hamiltonkibbe··on Senate Republicans block attempt to update firearms rules for 3D guns
Is this REALLY what we need to be worrying about?
hamiltonkibbe··on FuckIt.py - The Python Error Steamroller
I just ran the part that generates a function with a random string as the body and called the function that it generated, and counted the calls that didn't throw anything. As I threw it together in all of 5 minutes I'm sure there are flaws in the methodology

Also the defuckify code I posted is not exactly right, as it was sort of a joke but it's pretty easy to fix

hamiltonkibbe··on FuckIt.py - The Python Error Steamroller
If anyone's interested, the likelihood of a string with a length between 100 and 1000 characters which contains characters randomly selected from digits, lowercase letters, spaces and the following characters: \n,[](){}'."=+-*/%: is valid python is something like 0.015% (determined empirically)
hamiltonkibbe··on FuckIt.py - The Python Error Steamroller
You'd be surprised
hamiltonkibbe··on FuckIt.py - The Python Error Steamroller

  import fuckit
  from string import ascii_lowercase, digits
  from random import choice, randint

  def defuckify(test_fn, fn_name, n_arguments):
  ''' Randomly generate functions until the test passes
  '''
      defuckified_fn = ('def %s(' % fn_name)
      for i in range(n_arguments):
          arg_name = ('arg%d,' % i) if i != n_arguments else ('arg%d' % i)
          defuckified_fn += arg_name
      defuckified_fn += '):'
      exec('def '+ fn_name + '():\n    pass\n')
      while not test_fn():
          for i in range(randint(100,10000)):
              defuckified_fn += choice(' \n,[](){}\'"=+-*/%:'+ ascii_lowercase + digits)

          with fuckit:
              exec(defuckified_fn)
      print(defuckified_fn)

Edited to use fuckit instead of try/catch

Edited again to add that it has been over an hour and it hasn't been able to make a function that returns 3

hamiltonkibbe··on Disabled woman denied entry to U.S. after agent cites private medical details
I don't think it's that straightforward, a few feet of difference in source position amounts to a phase shift of significant percentage of a wavelength at audio frequencies. You can't just flip phase and sum. It was also my understanding that laser microphones require very precise alignment, and getting one lined up normal to a convex, moving windshield is at least a tiny bit more than "trivial"
hamiltonkibbe··on The second operating system hiding in every mobile phone
>the baseband can control everything Why would that be the case? Baseband in this case refers to a frequency, eg taking data(audio, SMS, etc) and mod/demodulating it. It should take raw data at the bottom of the OSI model and prep it for the RF front end, and vice versa. I may absolutely be wrong, but it doesn't have any connection to the microphone other than receiving preprocessed digital audio from the application processor. Look at the interface for an e.g TI cc2500, that's the sort of device that's being discussed
hamiltonkibbe··on Art project adds tinge of terror to everyday email
I always thought a better way to chaff the NSA/whoever would be sending off a bunch of emails with -----BEGIN PGP SIGNED MESSAGE----- and a bunch of /dev/random nonsense
hamiltonkibbe··on Small helicopter drone crash lands on New York city street
That seems a little sensationalist... It seems a lot more like "hobbyist crashes RC helo in NYC"

see also http://www.youtube.com/watch?v=pAkq6Ou3M_I

hamiltonkibbe··on Poll : What trading account do you use
Charles Schwab
hamiltonkibbe··on For Sale: Soviet Military Ferrite Core Memory Stack Cube and Manual
And the Strawberry Fields flute sound!
hamiltonkibbe··on October 3, 2011 FISC Opinion Holding NSA Surveillance Unconstitutional
Antonin Scalia, dissenting in part stated:

"The document's failure to adequately specify binary operator precedence and associativity was a deliberate choice on the part of the author(s) and the court should hold the value of "2" [2 + (2==4)]as TOP SECRET as well. The failure to do so sets a dangerous precedent of strict adherence to ANSI C operator precedence regardless of context"

hamiltonkibbe··on They're Using it at Coffee Shops
So Meta!

http://placeit.breezi.com/98265d2

← PreviousPage 7 of 8Next →