HN user

benburwell

352 karma

https://www.benburwell.com

Posts27
Comments34
View on HN
mbta.benburwell.com 4y ago

Show HN: Live MBTA Map (Boston T)

benburwell
5pts3
www.benburwell.com 5y ago

Debugging HTTP Services with Mitmproxy

benburwell
2pts0
angeion-public.s3.amazonaws.com 5y ago

Law firms seek $93M in fees in Apple class action suit [pdf]

benburwell
2pts0
www.benburwell.com 6y ago

Learning About Syscall Filtering with Seccomp

benburwell
2pts0
git.sr.ht 6y ago

Show HN: A CLI for Aviation Weather (METARs)

benburwell
1pts0
howtochooseapassword.com 6y ago

Show HN: How to Choose a Password

benburwell
1pts0
www.ampr.org 7y ago

Part of Ham Radio AMPRnet IPv4 Space Sold to Amazon

benburwell
10pts7
www.nearlyfreespeech.net 7y ago

Why do you host offensive content?

benburwell
113pts158
www.nist.gov 7y ago

NIST proposes shutdown of WWV and WWVH time and frequency stations in FY19

benburwell
5pts1
www.eff.org 8y ago

Supreme Court Ruling on Carpenter V. United States [pdf]

benburwell
1pts0
get.slack.help 8y ago

Slack IRC and XMPP Gateways Are Closing

benburwell
6pts2
github.com 8y ago

Pass-audit – Check whether your password-store passwords have been pwned

benburwell
2pts0
staticman.net 10y ago

Staticman: user-generated content for static sites

benburwell
52pts23
css-tricks.com 10y ago

Effective website icons

benburwell
1pts0
www.benburwell.com 11y ago

Facebook Now Sends PGP Encrypted Email Notifications

benburwell
3pts2
www.unicode.org 11y ago

How the new diverse Emoji work – Unicode Standard

benburwell
2pts0
www.theatlantic.com 11y ago

For-Profit Corinthian Colleges ceases operations

benburwell
3pts0
developermedia.com 11y ago

Myers-Briggs types for developers compared to US population

benburwell
37pts48
ia902603.us.archive.org 11y ago

FBI conducts search by disrupting Internet service, posing as repairmen [pdf]

benburwell
109pts25
www.stuartmcmillen.com 11y ago

Rat Park – the fundamental flaw in the way we think about addiction

benburwell
1pts0
bost.ocks.org 11y ago

How to Scroll

benburwell
3pts0
davidtheclark.com 11y ago

The Role of Utility Classes in Scalable CSS

benburwell
1pts0
www.reddit.com 11y ago

Right Now: Reddit AMA with Tim Berners-Lee

benburwell
4pts0
mean.io 11y ago

Mean.io – A MongoDB/Express/Angular/Node web app stack

benburwell
1pts0
scottlinux.com 11y ago

How to create a Tor Onion site

benburwell
2pts0
github.com 11y ago

OpenPGP in the browser (or Node.js)

benburwell
4pts0
www.benburwell.com 11y ago

Don't Make Visitors Make Accounts

benburwell
143pts83

Some examples of flights without schedules:

- A private pilot who departs their local airport without filing a flight plan and flies around for a while.

- A charter jet that departs whenever the passengers show up.

- A medevac helicopter departs a hospital to return to its base. While en route, it is rerouted by dispatch to pick up a patient at a different hospital.

The article mentions a takedown notice they received from GitHub instructing them on how to remove certain content from their repo. I'm guessing maybe this PR contains some of that content they were asked to remove, and there's a bug in GitHub when rendering a pull request page that references deleted content?

How useful is this in practice though?

I'd guess that far greater than 99% of the people using (most) products do not have perfectly color calibrated monitors. If it doesn't look good on the developer's "kinda close" monitors, that seems like a decent indication that the design needs to be updated to allow for "rougher tolerances" so to speak.

Your "state of the art" Go code is not really a good example of how that functionality would be written.

If you want to check for a specific error condition, then just define a value for that error and use `errors.Is` to check for it. This works as you'd expect with wrapping: https://go.dev/play/p/rJIlKKSYn9Q

With the current go error handling, you need to add the informations yourself in the string, not as a real data structure.

This is completely false! If you want to provide a structured error, then you just need to define a type for it. In your example, a Go programmer might use errors.Is(err, fs.ErrNotExist) and errors.As if they wanted to retrieve the specific file path that does not exist in a strongly-typed way, something like https://go.dev/play/p/hdHPLAVbQuW.

Delegating error handling to a try/catch block with a typed data structure allows the caller to care for certain type of errors and delegate the others to its own caller. With the current error type in Go, what would you do? parse the error message?

Certainly not! I think there is a misconception that "an error is a string" -- in Go, an error is actually any type that satisfies the error interface, i.e. has an `Error() string` method. It can be any type at all, and have as many other methods as you like in order to provide the functionality you need.

what if the function is defined in a dependency you have no control over?

There's nothing stopping you from writing `throw new Exception(String.format("file not found: %s", filename))` in languages with exceptions either. In both cases, it would be recognized as poor API design.

Regarding stack traces, Go makes a strong distinction between errors (generally a deviation from the happy path) and panics (a true programming error, e.g. nil pointer dereference, where the program must exit). Errors do not provide stack traces since there is no need for them in a flow control context, panics do provide stack traces for useful debugging information.

Hi HN! I wanted a way to visualize the MBTA system as a whole, so I hacked this together over the weekend.

It shows the current position of each bus, train, and subway, including a little tail behind each vehicle to show where it's been.

There are plenty of rider-focused experiences built around this data but I'm more interested in the visual aspect of being able to look at the whole thing at once. It's probably not a very practical tool for riders!

Wouldn't clients then only become aware that they need to replace their certs after they've been revoked?

I think the desire here would be for a mechanism to alert clients to obtain a new certificate before their current certificate is revoked and becomes invalid.

edit: formatting

As a Go programmer, it doesn't really seem that notable or surprising to me that Go isn't considered the best language to use for implementing an operating system.

Of course it is their responsibility to take it back.

Suppose I order a watering can from the garden supply store. When I get home from work, I discover that instead of a watering can, they've delivered 2 tons of mulch in a giant pile in my driveway.

I'm not sure how you could make the argument that it's now my responsibility to get rid of the mulch that I didn't want or ask for?

This is how it works in most areas. Mobile calls to 911 will go to the PSAP for a relatively large region, who will triage the call and if your address is in an area served by a more local PSAP, they will add a calltaker from the local PSAP to the line and transfer the call to them.

It's probably best to just stick with 911. That's what calltakers are used to, and trying to route around 911 means you won't get the advantages built into that system (like priority handling, mapping, etc).

As an EMT, I too found this rather disturbing. Throughout the article, prehospital interventions were repeatedly not acknowledged. From the reference to "ambulance drivers" that you mentioned to things as subtle as saying that the clock starts when the patient rolls into the ER rather than when the ambulance arrives on scene, the article completely misses (or does not fully acknowledge) a hugely important factor in improving outcomes for STEMI: the prehospital care involved.

Totally agree. Going off of this, it would be kind of neat if they started signing all outgoing email by default, regardless of whether the recipient has uploaded their public key for encryption.

I know this really isn't answering the question, but most consumer-grade Internet connections aren't ideal for running a server of the email variety. Assuming you have a static IP, your ISP will likely block the standard SMTP/IMAP ports, requiring you to do additional configuration that may or may not work with different clients. Aside from the technical workarounds, your ISP may actually forbid you from doing this in their TOS. I agree with a3n that a VPS is the way to go.

Google Contributor 11 years ago

Maybe not the first time (before you've seen any of the content), but generally, I like this idea.