HNHacker News
TopNewBestAskShowJobs

DomBlack

113 karma · joined February 23, 2012

Life long developer, mostly in the fintech space.

GitHub.com/domblack

submissionscomments
DomBlack··on We rebuilt the Linux MicroVM stack on Apple Silicon
I saw this blog post title and wanted to read it, as I thought this is something we really wanted when I worked back at Encore - and lo and behold what website I ended up on!

Great work lads, seeing those old shell scripts brought back memories, but this is awesome to see you've solved the problem now to make your own lives easier!

Any plans to open source crackling? I was looking into cross platform microVM's after reading about sbx recently.

DomBlack··on Tailscale Services
You can use oauth tokens with the permissions of auth_key write to use long lived tokens to permission ephemeral nodes
DomBlack··on Encore releases automatic tracing in tests
Hi folks,

I just wanted to share that the latest release of Encore automatically captures a trace of every test, providing much more visibility into what's happening and making it easier to understand why a test failed.

The test traces automatically include everything you expect: API calls (including mocked calls with Encore's new mocking support!), Database queries, Pub/Sub messages, HTTP requests, etc.

And it does all of this without the user having to change or add any code outside what they would normally write for a Go test.

DomBlack··on How we used Go 1.18 generics when designing our Identifiers at Encore
This has been my first technical blog post in a long while, so any constructive feedback is greatly appreciated.
DomBlack··on How we used Go 1.18 generics when designing our Identifiers
I agree; there are entirely different ways to achieve this same goal without generics. I mentioned using a struct and including the data from the struct in the post. However, what I wanted to show within the post is how generics can make this problem easier for us.

> As boilerplate goes, if you look at it, it isn't even that much more. Interfaces can still be used to ensure that the correct methods are guaranteed to be implemented.

Yeap, we implemented many different interfaces on our ID types, and the resource type also implements a couple of interfaces (such as methods to get the Postgres type information). Unfortunately, this means we still need to create receiver methods for each of these interfaces so we can use the ID types with those underlying libraries (such as `JSON` or the `SQL` scanners) which ends up being 14 methods per resource type (and we have quite a number of resource types). We would have ended up code generating these, and generics just saved us that work.

> Underscores are too common in identifiers.

We picked underscores, as they are not included in the base32 encoding of XID. They're also safe to put in URLs without needing to perform any encoding. Our static analysis tools during CI check that all code generation has been completed and prevent the prefixes from having underscores. That means we don't need to worry about escaping as we can always unambiguously split it. However, even if your prefixes allowed underscores, you can always just split the string at the last underscore; as the XID portion of the string cannot contain it.

I'd be interested to know how you were bitten by it in the past?

DomBlack··on A startup’s Firebase bill suddenly increased from $25 to $1750 per month
> Always build your architecture in a way that will avoid becoming trapped into a specific service. Amazon’s AWS Lambda sitting between any services and your app is a strongly recommended path!

Isn't using AWS Lamba as your gateway, trapping you into using a specific service, just as much as firebase was?

DomBlack··on Chrome 57 distrusts most StartSSL certificates
We spent a good hour or two when Chrome 56 came out trying to work out why our .eu domain didn't work but the .com did. Even though it was the same startssl cert on the same IP. Turned out our .eu wasn't popular enough to remain allowed even though it was our primary domain up until last year.

I had read the original blog post but my original understanding was that existing certificates would remain trusted and simply newer ones would not be. Hidden in the paragraph was the parts out then staring to distrust existing certificates. Very poor communication from Google

DomBlack··on Ask HN: What are your favorite active tech-related subreddits comparable to HN?
Two others in my office read the front page, but quite none of us have yet found invites (not that we've looked hard), but the idea of an invite only community sites feels counter productive
DomBlack··on Ask HN: Effect of Brexit on DEV Jobs in UK?
I'm interested in what you're looking at which says that. Against the dollar 2.5-3 years ago GBP was never below 1.47, since the referendum, the highest it has been is 1.34 and that was the lowest we got in the 2008/2009 crash.
DomBlack··on Emperor Akihito of Japan Raises Possibility of Leaving Throne
Source? I'm interested into reading why - given Henry VIII.
DomBlack··on Introducing Kindle Oasis
I was under the impression that online shops didn't get Sales tax (not sure where I heard that, thanks for clarifiying)
DomBlack··on Introducing Kindle Oasis
Interseting to see that the UK price is £269.99, and the US price is $289.99 (£203.95). Seems a steep price different, even accounting for VAT.

Edit: Wasn't taking into account Sales tax, it's not that bad actually

DomBlack··on DataGrip 1.0 (formerly 0xDBE): A New IDE for DBs and SQL
I tried the beta briefly, but to be honest it came no where close to http://www.sequelpro.com for ease of use.
DomBlack··on Dropbox closing Carousel and Mailbox
I've been looking to move to FastMail for a while, but Mailbox was holding me back (the whole zero-inbox with the remind me this weekend stuff).

Does anybody know of a good zero-inbox client for FastMail?

DomBlack··on My bank has an API so I built online banking
How far down the FCA application process are they? As far as I know only 2 companies have been granted permissions in the UK so far this year. One is a law firm, the other a stock broker.

Their site says they are still applying, thus how can they be accepting people's money already?

DomBlack··on Astronomers may have found giant alien 'megastructures' orbiting star
Link to the paper http://arxiv.org/pdf/1509.03622v1.pdf
DomBlack··on Scala.js no longer experimental
Don't forget the Google Closure compiler in advance mode.
DomBlack··on Russian Gang Said to Amass More Than a Billion Stolen Internet Credentials
I had never heard of this product until now. Who uses it? Why would a company outsource it's authentication to an unknown body?
DomBlack··on We'd lose our security certificate if we allowed pasting
It always concerns me when big companies like this do weird things when it comes to passwords. Why do banks for instance have stupid password requirements; max lengths, disallowing certain characters, etc.

Surely if they are hashing the passwords in any form then it doesn't matter how long the password is or what characters it contains.

I understand perhaps the view is some people are not good at remembering passwords and so would forget a complicated password - but they are unlikely to use a long password or special characters if that's the case.

Or am I just missing something major here?

DomBlack··on Apache Wave
I used Wave quite a lot, it was great to arranging meet ups of groups of people as you could all have an active conversation and use the "Poll" widget to say if you where coming or not.

I also used it for other things, but organising groups of people was the main use. Once it was discontinued I tried to run the open source version, but it was never really that stable and in the end we swapped back to emails.

It's a great shame to see this dead

DomBlack··on [INFRA-7524] migrate Apache Subversion project over to the git repo
This is an April Fools joke.
DomBlack··on Today is World Backup Day – a friendly reminder to backup and check restores
I'd been thinking about buying Arq for the last month or so, thank you for posting this link, it made buying Arq a no brainer.

How come it isn't advertised anywhere on their site or blog? I checked for one this morning!

DomBlack··on Mt. Gox's Bitcoins are being sold on Bitstamp?
The problem with the tagging approach, is how would you verify the tag was genuine? You would have to add some sort of central authority which every peer could implicitly trust and that would undermine the whole concept of bitcoin...
DomBlack··on Two Factor Auth List
This could do with a column for Yubikey support.
DomBlack··on Arq 4 is out – Mac backup to S3/Glacier
How does this compare to say using Tarsnap (apart from cost)?
DomBlack··on Ask HN: Who is hiring? (March 2014)
Sensatus - http://timetotrade.eu - Brighton, UK

Sensatus is a Brighton, UK based company specialising in the development of innovative web-based financial technology for financial institutions and retail investors.

The development team is being expanded to address a rapid growth in customer demand for our current and planned product set.

Scala back end developer, £25k-£35k. As a back end developer you will help design and build our next generation, distributed trading system.

JavaScript front end developer, £25k-£35k. As a front end developer you will specialise in creating a responsive front end which reacts not only to the user but to changing market information.

See http://blog.timetotrade.eu/2014/01/02/developers-required/ and/or send your CV to jobs@senatus.com if you're interested.

DomBlack··on Ask HN: Who is hiring? (January 2014)
Sensatus - http://timetotrade.eu - Brighton, UK

Sensatus is a Brighton, UK based company specialising in the development of innovative web-based financial technology for financial institutions and retail investors.

The development team is being expanded to address a rapid growth in customer demand for our current and planned product set.

Scala back end developer, £25k-£35k. As a back end developer you will help design and build our next generation, distributed trading system.

JavaScript front end developer, £25k-£35k. As a front end developer you will specialise in creating a responsive front end which reacts not only to the user but to changing market information.

See http://blog.timetotrade.eu/2014/01/02/developers-required/ and/or send your CV to jobs@senatus.com if you're interested.

DomBlack··on The Space Monkey Upgrade Scam
I remember when this first appeared on Kickstarter and I almost backed it. However I didn't because the the device is not yours; it's a subscription model where the hardware is part of that subscription and you had to pay to ship it back to them.

If you read the FAQ on their kickstarter page it states;

"What if I cancel my subscription? We'll give you a pro-rated refund on your subscription once the device is sent back."

DomBlack··on Microsoft reverses controversial game licensing policies
No it was multiple consoles from my understanding of it, you just had to link the Xbox Live accounts into one "family"
DomBlack··on Microsoft reverses controversial game licensing policies
I'm actually annoyed with these changes; they have reverted back to the Xbox 360 way of doings things;

* Disk must be in the drive to play

* Share games by lending the disk.

The previous scheme, while it would not be befinical to some due to the 24 hour requirement, did allow for some exciting new ideas (which we've got used to with Steam);

* Access my games anywhere without needing a disk

* Share the game with my family who live away from me

Page 1 of 2Next →