HNHacker News
TopNewBestAskShowJobs

GSGBen

261 karma · joined January 26, 2020

https://twitter.com/GSGBen
submissionscomments
GSGBen··on Celery in production: Three more years of fixing bugs
I implemented this for its Windows support and it's been great.
GSGBen··on Don't use text pixelation to redact sensitive information
Does anyone know if significant Greenshot blur is irreversible, or know of any cases where it was reversed (and which level)?
GSGBen··on Single dependency stacks
Working with asp .net core then intermittently jumping into different stacks in other projects is blowing my mind. Lots of "Node wants how many packages to do this?"
GSGBen··on Stop Brainstorming
In a group, sure. On your own though it's an incredible technique to get over mental hurdles. Instead of letting yourself get distracted because a problem seems insurmountable or you can't see a path all the way through, try brainstorming entirely by yourself.

It can provide psychological safety for your own subconscious. Write down every idea, regardless of how ridiculous it is. Every "What if I...". I sometimes do a question and answer format in a simple text/markdown document. Write out a question that's one facet of the issue you're working on, and answer it with a bunch of different options. Then discard or select or flesh out the responses. Ask questions about what might and might not work with each option.

It's amazing what having a few different new paths to try can do for your energy levels and motivation.

GSGBen··on Portmaster – Open-source network monitor and firewall
Oh nice, that's more in-depth than what I'd expected. Great work.
GSGBen··on Portmaster – Open-source network monitor and firewall
Damn, looks like a nice free competitor to Glasswire which I'm currently using (which also has an extremely usable free option).

Like Glasswire though I'm guessing this doesn't alert on common traffic like DNS lookups via the host, which would still allow malicious software to get traffic in and out unseen.

GSGBen··on IPv4 Waiting List
Yep, if you can even get one! Someone posted on r/ipv6 that they tried to get some provider-independent space from ARIN for an SMB client and got rejected. If you can't rely on getting one then you can't make that your standard process at all.
GSGBen··on IPv4 Waiting List
IPv6 works great for small users and large users, but is a pain for the middle at the moment:

What's the one-true, best-practise, everyone-accepts-it, supported-almost-everywhere way to provide dual ISP connectivity to an SMB with IPv6?

Once they solve the class of problems like that it'll take off a little faster.

GSGBen··on Show HN: t2md – convert Trello to markdown folders on disk, fast
Kudos to Trello as well though - their json export is really really good. It has everything required in it to recreate the board. Hopefully they don't deprecate that part of it.
GSGBen··on Show HN: t2md – convert Trello to markdown folders on disk, fast
Thanks! If you're after a single card's full details you can pull it out of the json that this downloads, or grab just the card from the api as well. A single card would be pretty fast so you could user a higher level scripting language too.
GSGBen··on Show HN: t2md – convert Trello to markdown folders on disk, fast
Thanks! I haven't moved off Trello yet because the mobile app works really well for me. I'll have to check out the Obsidian apps again though.
GSGBen··on Show HN: t2md – back up Trello to markdown folders on disk, fast
Thanks! You should be able to install the .net core runtime and then use `dotnet build` with its various arguments (see --help) to build it on macOS. But to make it easier I've also added a binary for it here: https://github.com/GSGBen/t2md/releases/tag/v1.0.0
GSGBen··on Show HN: t2md – back up Trello to markdown folders on disk, fast
Hi HN! I use Trello as my personal KB and wanted a way to back it all up locally, but I decided that the .json wasn't enough - I wanted to be able to view it offline easily as well.

So I wrote t2md, which after backing up the .json files constructs a folder tree of markdown files and attachments to represent your boards, lists and cards. From each card the description, comments and checklists are formatted into separate markdown files. Any attachment URLs you've embedded as links or images are then updated to their new relative paths so they continue to display. (The readme shows an example).

This was also my project to learn modern C# .NET Core async, which means it runs fast, is cross-platform and is a single-file binary. Let me know what you think!

GSGBen··on s/bash/zsh/g
Massive pain point. Here's a workaround though: https://github.com/stax76/run-hidden
GSGBen··on Hello IPv6: a minimal tutorial for IPv4 users
That works for one ISP, the issue is with two (a common design for SMB network reliability). Earlier recommendations I read were "get your own public /48 assigned and peer with both, NAT including NPT is not good". But it turns out some (all?) authorities won't do that for SMBs, so we're back to some form of translation, probably on top of ULAs running internally.

Another related issue is the ULA design - they're meant to be randomly generated but it's not enforced, so you just know there'll be a bunch of internal networks with custom duplicate ULAs that will only show up when some businesses merge, so we'll be back to re-ipaddressing subnets.

IPv6 has changed a bit since the first RFCs (privacy extensions etc) so I imagine at some point someone will look at this and make some changes to suit. I wonder if it'll be relaxing ULA recommendations or adding something else entirely.

I'm insanely excited for never having to worry about subnet size again but it just doesn't seem like there's a clear best-practice one-true-way everyone-agrees way forward right now for a whole bunch of popular use-cases.

GSGBen··on Shodan Search Engine: Search Engine for the Internet of Everything
This is a great tool, but there's a caveat: Last time I checked Shodan didn't scan all ports, and from all locations. If you're using this to check the surface area of your infrastructure (including the notify-me-of-new-open-ports feature), always test with a full nmap scan yourself, preferably from within the same geographic region.
GSGBen··on Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag
A new wake-up reason might get installed in the future. Instead I found some powershell code ages ago, created a `nap` function in my $profile, and set the option to not allow waking it from sleep:

    # load assembly System.Windows.Forms which will be used
    Add-Type -AssemblyName System.Windows.Forms
    
    # set powerstate to suspend (sleep mode)
    $PowerState = [System.Windows.Forms.PowerState]::Suspend;
    
    # do not force putting Windows to sleep
    $Force = $false;
    
    # don't allow the computer to be woken by devices or tasks (e.g. windows updates)
    $DisableWake = $true;
    
    # do it! Set computer to sleep
    [System.Windows.Forms.Application]::SetSuspendState($PowerState, $Force, $DisableWake) | Out-Null;
GSGBen··on My love-hate affair with technology
Wow, that "where do you want to go today" really tripped a strong nostalgia vein and reminded me of the old Microsoft Interactive CD Sampler: https://youtu.be/FrD78hULKIQ?t=234
GSGBen··on GitHub Discussions is out of beta
Do you mean the web-based Outlook? I find the traditional desktop Outlook is unbeaten for business email/calendar. Strongly agree on Teams though.
GSGBen··on Lists, more lists, and the power of checkboxes (2019)
Even further: you need draggable nested checklists, where you can select an item, drag it, and all of it's nested children follow. I'm currently using the 2016 / desktop version of OneNote for this and it's incredible. Give it a try. The main downside is it's lack of code formatting support.
GSGBen··on Unix Shell Programming: The Next 50 Years [pdf]
This makes me really hope to see more uptake of PowerShell in Linux (and performance improvements in PowerShell too). The above is just $PSScriptRoot.
GSGBen··on Show HN: Flashcards to learn AWS skills
For anyone skimming the comments and considering skipping this video: do yourself a favor and don't. Krazam's tech comedy is unparalleled.
GSGBen··on Why do long options start with two dashes? (2019)
It makes a little more sense in context to me. The verbose Verb-Nounish works because the verbs are designed to be limited. E.g. there's Remove- but no Delete- in the standard (shown in `Get-Verb`). So you can then press ctrl+space after typing Remove- and see all the different types of things you can remove. Too many, so you can filter to Remove-<prefix>* etc. The verbosity of cmdlet names when using it as a shell is mitigated with the aliases (e.g rm), and the parameters by accepting any case and shortening to anything non-ambiguous (e.g. `rm -rec -fo`). I guess the capitalisation comes from C# or .net's casing? I like PascalCase for it's great readability/conciseness tradeoff over others, and it's standard windows case-insensitive so I've never had a huge issue with it.
GSGBen··on Terminal escape sequences in Git commit email field
Thanks for writing this! I used it a few years ago to remove the ANSI output from HP/Aruba network devices that clear your screen or line which was a nightmare for scripting. It works like a dream.
GSGBen··on Apt Encounters of the Third Kind
Cheers, this one is even better!
GSGBen··on Apt Encounters of the Third Kind
Thanks, this is such good writing. Reminds me a little of Douglas Adams.
GSGBen··on Mistakes I've Made as an Engineering Manager
This works for developers but excludes large swathes of other stakeholders, some with huge amounts of business/process knowledge. MediaWiki supports WYSIWYG via VisualEditor, which increases usage from others (and has the benefit of making tables much more pleasant to work with).
GSGBen··on Github1s – One second to read GitHub code with VS Code
This would be incredible on Trello!
GSGBen··on Architectural Decision Records (ADRs) (2018)
"Based on my experience in this area and with this business, will I likely be asked about this later and will I confidently and easily be able to answer? Is the expected value of recording higher than the expected value of not (factoring in time, noise, mental load later etc)?" is something like what I ask myself to help decide. Also if you make it filterable and searchable (table instead of document format) you can minimise the issues of having a lot of them. You can add your own scale/importance tags as well to give a list of overview ones to read through too.
GSGBen··on Architectural Decision Records (ADRs) (2018)
I started using something like these a little while back and they're phenomenal. Nothing like being able to answer "what the hell was I thinking 6 months ago?", or a stakeholder's "why are we doing it this way?". Also great for getting a new contributor up to speed. My preferred format is a simple Excel table: ID, Date, Area, Decision, Reason, People Involved.
← PreviousPage 2 of 3Next →