HNHacker News
TopNewBestAskShowJobs

shabbyrobe

640 karma · joined August 15, 2012

submissionscomments
shabbyrobe··on A penetration tester’s guide to sub-domain enumeration
I love "AXFR". It lets me AX FR the whole zone in one go.
shabbyrobe··on Jony Ive on Apple’s New HQ and the Disappearing iPhone
No, they're embarking on a known folly. Everyone keeps banging on about open offices because they're awful, and for 25 years we've all been stuck in them.
shabbyrobe··on Eight years of Go
This is exactly my feeling. I don't want generics if I have to pay anything for them in build time, or if it limits go/ast or go/types. A lack of generics has been a pain point a couple of times in my current project (beyond what very simple code generators can provide), but crazy fast build times have been a massive benefit.

Imagine how much wailing and gnashing of teeth there will be if Go 2 delivers generics but with triple the build time and +50% binary size... if you thought the minority was vocal now, wait til you see that!

shabbyrobe··on Tufte CSS
This is a really nice looking stylesheet. I'd almost certainly use it the next time I needed to share some content, but unfortunately it has some pretty janky FOUT and FOIT issues for me here in Australia. I'm no CSS guru, so the best I can really do is to report: https://github.com/edwardtufte/tufte-css/issues/119
shabbyrobe··on Evio – Fast event-loop networking for Go
This is an extremely helpful explanation. Would you consider adding a "Rationale" subheading to the readme and pasting this in wholesale? Great project, thanks for sharing!
shabbyrobe··on Data Classes for Java
Plenty of times! The situation where a library released to third parties requires internal structural changes is not an uncommon one. What do you do? Break every piece of third party code or satisfy the new structure and the old interface simultaneously with a computed property? "Move fast and break stuff" doesn't always have to include breaking stuff.
shabbyrobe··on How Australia's $49B internet network came to be ridiculed
So when your choice is for the worst or the less worse, vote less worse! We don't have to like it (though that'd be nice), just prefer it.

Case in point: the original plan for the NBN was vastly preferable to this scandal ;)

shabbyrobe··on Mapping in HTML – A Proposal for a New Element
Oh, I was joking about .moe, etc - I reckon .geo would be far more useful!

But my main question about the moon was quite serious - how would you access the moon with this? I couldn't quite understand how this part from the executive summary would translate to an actual DNS request:

"One special GeoRegistry must have a server assigned to every cell on the planet. This GeoRegistry will be called the default GeoRegistry named "earth." (The names of the other planets will be reserved for interplanetary geodata.) The default GeoRegistry will be used when client queries do not specify a GeoRegistry name, or when the specified GeoRegistry does not have an assigned cell server."

Kinda cool that .geo predates Google Maps by about 4 or 5 years!

shabbyrobe··on Mapping in HTML – A Proposal for a New Element
Neat! Speaking of galaxy far, far away, the executive summary only mentions other planets in passing. I couldn't quite grok from scanning how you might access cells from the moon with this TLD.

.aero may be questionable, but surely the boundless usefulness of .ninja or .moe isn't in dispute?

shabbyrobe··on Vim after 15 Years
"The vim-surround plugin is so useful that it should probably be built into Vim."

I couldn't agree with this more. Also undotree [1] should be built into Vim as well. Vim represents undo/redo under the hood as a tree, which is absolutely incredible once you have a plugin that unlocks it, but the built-in facilities for traversing that tree could be charitably described as "dismal".

Vim's undo tree makes a solved problem out of the old "undo undo undo undo undo... ok what did this file used to look like... redo redo y... oops did I just press 'y' by accident instead of redo and blow away a bunch of my later edits... next time I should remember to commit before I do that (even though I totally won't)" situation, but without the plugin, it's effectively inaccessible.

  [1] https://github.com/mbbill/undotree
shabbyrobe··on The trouble with text-only email
Mozilla seem to be falling into the same trap as the internet in general, albeit a good long while later. Just a little bit of tracking here, how is that harmful? Just a little bit of tracking there, too. It's really not a problem. Telemetry this browser feature, Google Analytics that addon page. And like the frog in the pan of water, eventually we're all cooked.

"Don't be evil" is deprecated, Mozilla Manifesto #4 will be too, soon enough.

shabbyrobe··on The License Zero Manifesto
What if "paid_available == False" the first time, but later, "paid_available == True"? Is the "standard, Open Source, two-clause BSD" license that applies at first invalidated?
shabbyrobe··on A Pre-History of Slashdot
Medium is shocking for this. I added this to my uBlock custom filters list and now it's not a problem any more:

    ! medium dickbars and other bullshit:
    ##.u-clearfix.metabar
    ##.metabar
    ##.js-stickyFooter
    ##.highlightMenu
I have not limited it by domain so I can catch all the other Medium-based blogs that use other domains (hackernoon, etc). This raises my risk of false positives but that doesn't bother me anywhere near as much as all the extraneous garbage on their site does. YMMV.
shabbyrobe··on Go: Ten years and climbing
Have you written anything complex with Go?
shabbyrobe··on Lenovo Accidentally Leaks an Image of Its ‘Retro Thinkpad’
Oh god yes. 16:9 is an absolute deal breaker for me. After the task bar, tool bar, menu bar, ridiculously oversized fixed position website nav bar, "up next: more related garbage" fixed position pseudo-ad footer and whatever else decides it wants to eat my vertical space, a 16:10 screen offers me a good 200% increase in usable pixels for whatever piece of content I was actually interested in in the first place.

If only Firefox would hurry up and integrate tree styled tabs without requiring one of several now-obsolete extensions, the experience of using a computer might become marginally less terrible. But of course I'm not holding my breath waiting for anyone in this sorry saga to do something that actually helps until I'm forced to read every single website one 200-word line at a time.

shabbyrobe··on Is There a Cryptocurrency Bubble? Just Ask Doge
The full essay, for those as curious as I was: http://larvatus.com/michael-crichton-why-speculate/
shabbyrobe··on GitHub announcements: Marketplace, Apps and GraphQL API
Nice to see the old "oops we didn't bother to check the if the 'subscribed' column was true when we imported the mailing list" trick isn't beneath GitHub either.
shabbyrobe··on Reinventing the Git Interface (2014)
This is especially funny considering the huge discussion recently about rewriting curl and then the entire world in Rust, but imagine you lived in a world where the magical "better tool" already existed and all you had to do was discover it.

Leaving fantasy-land aside for a moment, this morning you woke up in the real world. In the real world, that tool does already exist, and it's called Mercurial.

If you try command-line Mercurial for long enough to get past the initial "oh no Windows/macOS/Linux got updates and moved all my icons" muscle-memory-refresh phase (and especially if you last long enough to get into revsets and templates), you'll find it extraordinarily difficult to go back to using command-line git. Your power grows with Mercurial as you learn more about it because you aren't constantly fighting the complete absence of idioms and opaque "man-page" style of documentation that puts a slab of inscrutable text front and centre and neglects to provide simple examples for common problems (apparently we have a perfectly good Stack Overflow for that).

The git boosters will respond to this by saying, as they always do, "yes, but the real power of git is in the model of the information under the hood. The CLI is just an interface, if you don't like it you should spend months studying the internals and build your own workflow on top of git". Again, back in the real world, who has time for that? Or the interest? Especially when, as I already mentioned, that tool does already exist and it's called Mercurial and you can get started with it right now.

Both tools can do close to exactly the same things under the hood with differences that won't make a lick of difference to the vast majority of users. The user-facing differences are where it really matters: one tool has an excellent CLI which is clear, concise and discoverable; the other has github. Damn. Lousy network effects.

shabbyrobe··on Addendum to “Curl is C”
For those curious, I am guessing this is the link: https://www.dreamsongs.com/RiseOfWorseIsBetter.html
shabbyrobe··on The Long Tail of the Attica Prison Riot
This is becoming far too common. It seems like every good long read I see these days is on a site affected by this problem. Even the tiniest scroll jump causes these things to appear and disappear, moving or obscuring the relevant content underneath. I've been thinking of making a Firefox extension that allows you to whitelist "position: fixed" on a per-site basis, but that won't help much on Mobile Safari!
shabbyrobe··on Java libraries you can't miss in 2017
Check out the ThreeTen backport for a mostly API-compatible Java 6/7 version of the Java 8 date API: http://www.threeten.org/threetenbp/
shabbyrobe··on BSD socket API revamp
Yep it was eventually resolved midway through 2016, D'Amore stepped up, then stepped down, then stepped up again. The link I cited is not a commentary on the current status of nanomsg, it is more to illustrate Sustrik's role in the situation. If, ultimately, this discussion is about Sustrik's IETF proposal, it is important to consider his relationship with previous similar (zmq/nanomsg) or related (libmill/libdill) projects which have borne his name.
shabbyrobe··on BSD socket API revamp
Hmm true, my language was a bit ambiguous. I meant it was abandoned by Sustrik [1], even if some of the community are doing the best they can manage to keep it alive.

  [1] http://www.freelists.org/post/nanomsg/New-fork-was-Re-Moving-forward
shabbyrobe··on BSD socket API revamp
Didn't notice this on my first read, but this is by Martin Sustrik. Sustrik is a former ZeroMQ contributor and, more recently, author of the abandoned zmq alternative nanomsg [1], as well as the libmill [2] and libdill [3] lightweight concurrency libraries.

  [1] http://nanomsg.org/
  [2] http://libmill.org/
  [3] http://libdill.org/
shabbyrobe··on I Do Not Know C: Short quiz on undefined behavior (2015)
Said every C programmer ever!
shabbyrobe··on JSMpeg – Decode It Like It's 1999
Watch out! Some of this code may be GPL-encumbered. The decoder for JSMpeg is based in part on "Java MPEG-1 Video Decoder and Player" [1], which is licensed under the GPLv2. I am not a lawyer, but an argument could be made that the sections of JSMpeg's decoder that are directly ported from that project are a derivative work.

  [1]: https://sourceforge.net/projects/javampeg1video/
shabbyrobe··on MacBook Battery Time Remaining
Having used and trusted the "time remaining" calculation in Macs for years, it's very hard not to be suspicious of the timing here. A series of less-than-stellar reports of battery life in the new MacBook Pros, and then all of a sudden the indicator is inaccurate? Nope, not buying it.
shabbyrobe··on H.264 is Magic
How would you make a 4:2:0 upscaler that doesn't color bleed?
shabbyrobe··on Air India Taking Advantage of Tailwinds
Does the additional speed increase the stress on the airframe or is that more than offset by the reduced flight time?
shabbyrobe··on Vim for Humans
This might be of interest! "Actually using ed": https://sanctum.geek.nz/arabesque/actually-using-ed/
← PreviousPage 4 of 6Next →