HNHacker News
TopNewBestAskShowJobs

bpchaps

2,178 karma · joined December 27, 2014

https://mchap.io
submissionscomments
bpchaps··on Tech Interview Handbook
The fizzbuzz test is not entirely about whether someone can do it. It's also about figuring out the style of the programmer. There's a surprising amount of flexibility to fizzbuzz; how is user input handled? Do they use a linter? How are variables managed/named? There's a lot going on, and it can be gamed just like anything else on both ends.

That said, the last time I had a fizzbuzz take-home test, it was infuriating -- my code is online.. what does fizzbuzz prove except to help make a company soc2 compliant?

bpchaps··on Developers Who Use Spaces Make More Money Than Those Who Use Tabs (2017)
Not the main one I use!
bpchaps··on Developers Who Use Spaces Make More Money Than Those Who Use Tabs (2017)
Eh, not really. A string with a tab is still hard to tell apart from a string with spaces. Linters don't help there (why would they?). And no way in hell am I going to change Vim to display them differently!
bpchaps··on Developers Who Use Spaces Make More Money Than Those Who Use Tabs (2017)
Here's one: when your code has no tabs, it's very obvious that whitespace is just a bunch of spaces. With tabs, it's harder to say, especially when mixed. It's one less thing to think about.
bpchaps··on 9th Circuit says users can sue Facebook over unlawful use of facial recognition
Lots of people are already, hence where this sort of decision comes from. If you don't think enough folk are standing up, then why not do your own advocacy work? It's surprisingly fun and especially rewarding.
bpchaps··on Chris Hughes, a Facebook Founder, Is Working With the Government to Break It Up
Mods: it's "Hughes", not "Hughers".
bpchaps··on No CS Degree – Interviews with self-taught developers
I think an undertone point might be that sales is manipulation.
bpchaps··on Human Side-Channels: Behavioral Traces We Leave
Funny they say that, considering much tracking their site has....
bpchaps··on Slack Security Incident
I use a python library called 'passwordmeter' to check the password 'strength' of tokens. If the token's password strength is high, it's either going to be a password, a hash, a key, or perl (half joking). It's then just a matter of ignoring the false positives - about 95% - but that's not as time consuming as it sounds considering the reward.

The precursor to the hipchat scraper: https://github.com/red-bin/password_finder

bpchaps··on Slack Security Incident
At my last job, I wrote a little tool to download hipchat chat logs and scrape them for anything that looks like a password. There were tons!! I raised it to the CTO/CIO, and while they sounded interested in it, they never enacted any policies, etc, to prevent the sort of password sharing that anyone can apparently easily take advantage of.

In fact, the CIO asked me to send him a spreadsheet of when/where passwords were shared -- and then never did anything with it, despite the file essentially being a password map of the infrastructure. When I asked him if he deleted it, he told me he couldn't because the company's lawyers wouldn't allow him to. Lol.

It's insane out there.

bpchaps··on Examples to compare OCR services: Amazon vs. Google vs. Microsoft
Yep! It's great, but is maybe 60% there, so I'm looking for something that can extract much more structure from a document. I doubt what I'm looking for will exist for another 10 years, though.
bpchaps··on Examples to compare OCR services: Amazon vs. Google vs. Microsoft
Do you know how good it is? I have a LOT of structured documents that I need to OCR.
bpchaps··on Space law is inadequate for the boom in human activity there
A little overbroad is somewhat of an understatement..
bpchaps··on What's Coming in Python 3.8
Here's a clean way to do that:

  str_fmt = "File exists, not uploading: {filename} -> {bucket}, {key}"
  fmt_vals = dict(filename=filename, bucket=bucket, key=key)
  raise ValueError(str_fmt.dedent().format(**fmt_vals))
bpchaps··on The Day “/Proc” Died
Nope, I didn't actually. Which is funny and makes a bit more sense, since I haven't seen a full disk cause bad locking like that since around the date of the article. Still, this never should have been an issue, since disk space monitoring shoulda prevented the problem from ever happening in the first place.
bpchaps··on The Day “/Proc” Died
Interesting. I'm legitimately surprised the author put so much work into this research (happy they did!). By far one of the biggest culprits for "really odd behavior" is because of a full disk, or the disk is in some failing/failed state. To the point where when troubleshooting, `df -k` will be one of the first commands I'll run.

Does this company not have disk monitoring?

bpchaps··on Ask HN: Who wants to be hired? (July 2019)
Location: Chicago

Remote: Preferred

Willing to relocate: maybe

Technologies: Linux, postgres, *sh, python, clojure, prometheus, pandas, visualization, ETL, geocoding, pogtgis

Email: matt@mchap.io

A little late to the party, but let's try this out anyway.

Professionally, my background is mostly in linux administration and finance with a focus on infrastructure management. Outside of professional work, I do a lot of work with the Freedom of Information act and data visualization, both using python.

Short and sweet.

bpchaps··on Pennsylvania Is First State to Use Automated System to Expunge Criminal Records
Yes, that's extremely cheap.

In Chicago, there was a system being developed in partnership with University of Chicago to make city-owned database schemas open to the public through a PHP web app.

The system cost 300k to develop, was never finished, and was quietly put into forever-maintenance mode after a few years of use.

As a general rule, Government is pretty bad with tech projects and their associated costs.

bpchaps··on Awk by Example
Here's another source of good awk examples: http://tuxgraphics.org/~guido/scripts/awk-one-liner.html
bpchaps··on Google Cloud Networking Incident Postmortem
It can help some amount, though. Bind the NIC interrupts to a small handful of cores. Or, ensure that ssh only works through a management NIC, and have that NIC bound to the same cores as sshd. You can get really fancy with these setups, especially when working with NUMA stuffs
bpchaps··on Google Cloud Networking Incident Postmortem
Yes - use taskset or isolcpus with other magic to put sshd on its own CPU core, or one core per CPU. Lots of HFT places do that.
bpchaps··on Lo-fi hiphop beats mixed with live police scanners
1. https://www.broadcastify.com/listen/feed/763/web

2. https://www.youtube.com/watch?v=Qo4JIT8jMtI

3. https://www.youtube.com/watch?v=RScZrvTebeA

bpchaps··on [dead]
It makes me happy to see companies getting grief for this. It absolutely blows my mind every time I see this in large production systems such as banks and hosting companies.
bpchaps··on Car Owners Should Control Data Collected by Cars
Probably, but not universally.

Generally, information recorded (or maintained by, and often if contracted through a third party) by a government agency is made public if that state's public records law does not consider it to be private. "Private" is usually defined on a state-by-state basis. Every state has a public records law.

Some states consider license plates to be private, while others don't. Foe example, Illinois considers license plates private only if it's associated with other personally associatable information.

Aggregate or redacted information on accidents might be accessible in the case of privacy exemptions. Unless it's all on paper, which dramatically complicates things because of the efforts required to review/redact where needed.

In other words - if an agency has access to records on traffic incidents, it's probably accessible.

bpchaps··on Seattle police use family DNA, latest science to identify killer 52 years later
Do you seriously think that you're the only person who cares about what happens to your body after you die? Would you be perfectly okay if somebody dug up your mother's body and did $AWFUL_THING with it?
bpchaps··on DHS Asserting Unconstitutional Authority to Search Travelers’ Phones and Laptops
Do you have any proof of this?
bpchaps··on Put Another Zero on Facebook’s Fine. Then We Can Talk
So, uh. How do you know?
bpchaps··on The Army thought a veteran faked his health issues while having lead poisoning
Ah! Interesting point. I'll probably eventually do that. It's not exactly a high priority in life right now, though. Thankfully I eat a lot of oranges. :)
bpchaps··on The Army thought a veteran faked his health issues while having lead poisoning
Holy crap. This very much matches my experiences. I'm not military, but I used to shoot air rifles competitively in high school. I was definitely overexposed to lead. I remember my fingers would literally be coated in lead, and I don't remember even once hearing that we should wash our hands after shooting.

My experience with trying to get a medical professional to actually give a shit about the matter is exceptionally frustrating. Every doctor that I've ever spoken to have all come just short of laughing in my face when I try to self diagnose myself, and without exception, try to send me to get blood tests - which give no indication of lead poisoning except in recent exposure. I really just want some closure on this, since I know there's not much I can do treatment wise. Getting a doctor to take it seriously is an uphill battle...

bpchaps··on A16Z is re-registering as a financial advisor, renouncing its status as a VC
And I take it as the sort of statement that can apply to literally anything. Chicago, Tulsa, Burbank, Dungeons and Dragons, antique mold collections, etc.

It's a silly thing to say on its own.

← PreviousPage 2 of 29Next →