Better HN
topnewbestaskshowjobs
Log inSign up

davidwtbuxton

138 karma · joined Dec 14, 2011 (14y ago) · 47 submissions

Submissions

comment 1y ago · link · parent

Good write up of security vulnerabilities in a useful web-based tool for Google Cloud that should be relatively simple. It wasn't as simple as the authors intended.

2.

Sketchy Cheat Sheet – Story of a Cloud Architecture Diagramming Tool Gone Wrong(jdomeracki.github.io ↗)

2 points · by davidwtbuxton · 1y ago · 1 comment

comment 1y ago · link · parent

Interesting security bug in Google Cloud's IAP, from 2021. Since fixed.

https://cloud.google.com/iap/docs/concepts-overview

4.

Bypassing Identity-Aware Proxy – Google Cloud Vulnerability (2021)(seblu.de ↗)

2 points · by davidwtbuxton · 1y ago · 1 comment

comment 2y ago · link · parent

My crusty Python code implementing EPUB, with the conforming uncompressed mimetype file as first member in the archive:

https://github.com/davidwtbuxton/ucflib/blob/e576fb97fc2a2ea...

comment 2y ago · link · parent

I got hooked by the stereotypical 1970s production and the decidedly untelegenic (but informative) introduction from Dick MacKinnon, but the whole thing is a fascinating view of interactive programming.

Good reminiscing in the YouTube comments too.

7.

1975: VM/370 and CMS Demo(youtube.com ↗)

2 points · by davidwtbuxton · 2y ago · 1 comment

comment 5y ago · link · parent

Relevant Computer Chronicles episode from 1988: BUS wars

https://youtu.be/aYt4ZPxVkSs

IBM engineer responding to the accusation that MCA is proprietary (around 14' 15"):

"I really don't understand the term proprietary. To me that would mean that it's not available [snip] and it's available for use by anyone."

comment 5y ago · link · parent

I am guessing the commenter means computing with and without use of your fingers on touch screens.

10.

Boo – Business Nightmares May 2011(youtube.com ↗)

2 points · by davidwtbuxton · 6y ago · discuss

comment 6y ago · link · parent

My memory of Frak! on the model B was glacial speeds, but looked great.

comment 6y ago · link · parent

I was interested to read about got, which uses the same on-disk format as git.

https://man.openbsd.org/ports-current/got.1

The command-line interface is consistent and minimal. It has the least amount of options possible while still being usable. We strive for sane defaults that fit our workflow, instead of offering configurability for every possible use case.

https://gameoftrees.org/faq.html

comment 6y ago · link · parent

That UI only made sense if you already understood:

- That there were 4 octets in an IP address.

- Class-based IP addressing.

- Subnet bit masks.

The UI that replaced it was an improvement in that all it asked for was a series of numbers, separated by dots, constrained to 0-255.

comment 6y ago · link · parent

Also this https://github.com/xeno14/recordio

comment 6y ago · link · parent

From the article:

> That program, which he described as a “shell” around the computer’s whirring innards, gave inspiration—and a name—to an entire class of software tools, called command-line shells, that still lurk below the surface of modern operating systems.

comment 6y ago · link · parent

I found this article via Wikipedia as a result of wondering why unix shells are named so.

https://en.wikipedia.org/wiki/Shell_(computing)

17.

The internet’s fifth man (2013)(economist.com ↗)

82 points · by davidwtbuxton · 6y ago · 45 comments

comment 6y ago · link · parent

I was at a private boarding school, aged 10 in 1985. They had a computer lab with ~20 BBC model B's and we were taught BASIC, how to load and run programs from tape, how to use this paint software I don't remember the name of. It was all solid stuff.

But the real draw was playing video games, which was only permitted on weekends. Hours and hours of Chuckie Egg, Cylon Attack, Stryker's Run, etc.

comment 7y ago · link · parent

Also Threads, from the same era, incredibly bleak depiction of British society in the aftermath of a nuclear attack.

https://youtu.be/vgT4Y30DkaA

(For those who haven't seen it, it is grim, but gripping.)

comment 7y ago · link · parent

I've seen UTF-8 with a BOM while consuming data when integrating with strongly Windows-centric environments. Relatively uncommon, but does happen. And it is very annoying!

comment 7y ago · link · parent

Yes, but I still want this for combining dictionaries. Python already violates this property, I don't find it confusing.

    Python 3.7.2 (default, Dec 30 2018, 08:55:50) 
    [Clang 10.0.0 (clang-1000.11.45.5)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    >>> 'foo' + 'bar' == 'bar' + 'foo'
    False
    >>> ['foo'] + ['bar'] == ['bar'] + ['foo']
    False

comment 7y ago · link · parent

WebDAV wasn't a native Exchange protocol. But it was officially supported for Exchange server 2003/2007, and used heavily by Mac Entourage 2004/2008 to connect to Exchange servers as a supposedly "native" client.

In my experience, Mac Entourage clients connecting to suitable Exchange servers worked, but only for very few clients.

Vaguely remember that the Exchange servers would often get overloaded with the quantity of sync requests from the Mac clients.

This doc mentions that WebDAV was a previously-supported protocol for Mac Entourage: https://blogs.technet.microsoft.com/exchange/2009/01/20/ento...

comment 8y ago · link · parent

Me too. I love In Our Time, so many interesting subjects and I think it is a very well produced programme.

comment 8y ago · link · parent

> Simpler code almost always wins. Predicting the future is hard, refactoring simple code that does the minimum it needs to is comparatively easy. Don't write what-if code, YAGNI.

I strongly agree with this point.

I speculate that some people tend to add unnecessary code because they are thinking of all those well-written libraries they use every day, which have evolved to support multiple uses, including the uses that clearly they don't need but they can see are useful to others. Therefore they conclude good software must add features that are useful for other coders!

comment 8y ago · link · parent

You can also use css selectors with lxml. Works great, in my experience.

http://lxml.de/cssselect.html

comment 9y ago · link · parent

Grow https://grow.io/

comment 9y ago · link · parent

> Use format instead of + for generating strings — In Python, str is immutable, so the left and right strings have to be copied into the new string for every pair of concatenations.

It isn't always faster to use string formatting.

    $ python -m timeit -s 'a, b, c, d = "1234567890", "abcdefghij", "ABCDEFGHIJ", "0987654321"' 'a + b + c + d'
    10000000 loops, best of 3: 0.181 usec per loop
    $ python -m timeit -s 'a, b, c, d = "1234567890", "abcdefghij", "ABCDEFGHIJ", "0987654321"' '"{}{}{}{}".format(a, b, c, d)'
    1000000 loops, best of 3: 0.447 usec per loop
    $ python --version
    Python 2.7.13

comment 9y ago · link · parent

Why describe the Gherkin as infamous? My impression is it is largely admired by Londoners (myself included).

It would be interesting to hear from those working inside it.

comment 9y ago · link · parent

I did a big project involving InDesign and the XML import a few years ago (CS4 times). Once I learnt to be very careful when editing the templates, it was pretty satisfying.

I remember that certain XML tags had to use the exact namespace defined in the Adobe spec, but other than that it all seemed pretty XML compliant.

I was using Python / ElementTree, and had to override the namespaces to make sure the exact name was being used. Or something.

https://docs.python.org/2/library/xml.etree.elementtree.html...

What other problems did you encounter regarding XML compatibility?

12