HN user

macca321

846 karma

mcintyre321 (at) gmail com

Posts30
Comments384
View on HN
github.com 6y ago

Who needs GraphQL anyway? JMESPath range headers for client controlled queries

macca321
1pts0
news.ycombinator.com 6y ago

Ask HN: Facebook Portal TV Alternative

macca321
2pts0
news.ycombinator.com 6y ago

Ask HN: Advice on printing a paper xmas jumper?

macca321
1pts0
news.ycombinator.com 7y ago

What's the MVP for “The Platform Team”

macca321
1pts1
roy.gbiv.com 7y ago

REST APIs must be hypertext-driven

macca321
1pts1
news.ycombinator.com 7y ago

Ask HN: How to commercialize machine learning based photo im

macca321
2pts0
www.youtube.com 7y ago

TDD, Where Did It All Go Wrong? (2017)

macca321
1pts0
news.ycombinator.com 7y ago

Ask HN: Ex-FAANG developers, where are you now and why?

macca321
537pts437
news.ycombinator.com 7y ago

Ask HN: What's the best way in 2018 to distribute a self-host web application?

macca321
14pts10
twitter.com 8y ago

Microsoft (Xamarin) Workbooks – .NET coding scratchpad goes open source

macca321
1pts0
www.jasonswett.net 9y ago

Why most freelancing advice doesn’t apply to programmers most of the time

macca321
2pts0
news.ycombinator.com 9y ago

Ask HN: Do you have a web app with the potential to be a SAAS product?

macca321
1pts0
github.com 9y ago

OneOf: Easy to use F#-like discriminated unions for C#

macca321
2pts0
news.ycombinator.com 9y ago

Ask HN: Extracting html templates from corpus of rendered html documents

macca321
2pts0
www.wired.com 11y ago

Twitter now allows playable games embedded in tweets

macca321
3pts0
news.ycombinator.com 11y ago

Ask HN: What are your unused domain names?

macca321
43pts119
twitter.com 11y ago

For Hipsters

macca321
1pts0
news.ycombinator.com 12y ago

Ask HN: Discussion on fixing internal enterprise communications

macca321
3pts3
github.com 13y ago

Run python code in-process with Node.js

macca321
2pts0
news.ycombinator.com 14y ago

Ask HN: What features of iGoogle do you use/will you miss?

macca321
1pts0
plus.google.com 14y ago

A killer feature for cloud storage

macca321
1pts0
news.ycombinator.com 14y ago

Ask HN: Mental block - where is "email for hipsters"?

macca321
5pts10
news.ycombinator.com 14y ago

Ask HN: Thoughts on anonymous identity provider idea

macca321
9pts3
news.ycombinator.com 14y ago

Ask HN: What to use to build an intranet/extranet - OSS CMS or DIY?

macca321
1pts0
news.ycombinator.com 15y ago

ASK HN: How to set up a network for getting secret info out of [country X]?

macca321
10pts6
news.ycombinator.com 15y ago

Location based tracking service provider

macca321
1pts0
news.ycombinator.com 15y ago

Google apps marketplace - does it work for you?

macca321
2pts0
news.ycombinator.com 15y ago

Tweetplugs.com, my Twitter annotations app platform

macca321
3pts0
news.ycombinator.com 16y ago

Ask HN: good startup ideas?

macca321
6pts7
news.ycombinator.com 16y ago

Ask HN: Rate my product idea

macca321
3pts1

About 15 years ago I implemented "cache namespacing" for memcached, where you build a final cache key for a stored item (e.g. "profile_page") by doing an initial multiget cache query for all the "namespace" version values (e.g "user_123", "team_456" might be needed for "profile_page"), which you combine together as a prefix for the final cache key.

You can then invalidate any final cache key that uses one of the namespaces by incrementing the namespace key.

I haven't come across this technique mentioned elsewhere since, but it's very useful.

See the namespaces section in the now 404ing memcached FAQ https://web.archive.org/web/20090227062915/http://code.googl...

I guess nosql, edge caching and materialised views make it less applicable than it used to be (when inelastically scaling single/replicated SQL instances were the only game in town and taking load off them was vital).

Or is this technique now a first class feature of various cache client SDKs?

It'd be very interesting to know Hashi's internal strategy around this.

- Maybe do nothing, and as long as OpenTofu doesn't attempt to extend Terraform they are in not that different a position than pre-MPL.

- Add so many features OpenTofu can't keep up?

- Add some sneaky code to latest versions of hashi providers which makes them not work with unofficial terraform binaries?

You can exfiltrate secrets that aren't in the state, but are in accessible resources during a plan using an http data source with the secret encoded into the url

In a polyglot shop, it can actually be quite handy that HCL is it's own relatively simple language.

TypeScript 4.1 6 years ago

Better to return a union of custom result types. Save exceptions for when stuff goes really wrong.

Airbnb S-1 6 years ago

What action am I meant to take in response to these stories? Put £5k aside to buy shares?

.NET 5.0 6 years ago

I don't like it either, but one advantage is that the settings can be live updated when the config files change

I reckon JMESPath should be first choice in 2020, as it's properly specified, so you can find x-language implementations that behave the same.