HNHacker News
TopNewBestAskShowJobs

macca321

846 karma · joined May 15, 2010

mcintyre321 (at) gmail com
submissionscomments
macca321··on Ask HN: What is the current driver of tech layoffs?
Yes, real developers know the quirks of ie6 Vs Firefox 3
macca321··on Fine-grained caching strategies of dynamic queries
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?

macca321··on OpenTF is now OpenTofu
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?

macca321··on HashiCorp did it backwards
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
macca321··on OpenTerraform – an MPL fork of Terraform after HashiCorp's license change
I wonder if a non commercial Terraform Cloud "offering" like https://github.com/leg100/otf is "competing" with Hashicorp...
macca321··on Computer tool spots deepfakes via tiny reflections in the eyes
In the long run, I wonder if all video will be signed via blockchain-or-other-trusted-3rd-party. You'd need everything from the camera to the the editing software to support it though.
macca321··on Kanban board in one HTML using localstorage
I would really like a client-side js library that lets you sync localstorage to consumer cloud storage (onedrive/gdrive etc)
macca321··on Show HN: Haven – Run a private website to share with only the people you choose
The thing people like about Facebook is looking at other peoples photos, safe in the knowledge that they don't know you are looking at their photos.
macca321··on The Culture War: Iain M. Banks’s Billionaire Fans
It would be a lot harder in the Culture to get someone to be your human footstool.
macca321··on WhatsApp loses millions of users after terms update
I use it because my mum, who has Parkinsons, can work her Facebook Portal.
macca321··on How to Stop Endless Discussions
I think a process like this works well for enabling the success of the kind of people who like the sound of a process like this.
macca321··on A Month of Terraform
In a polyglot shop, it can actually be quite handy that HCL is it's own relatively simple language.
macca321··on TypeScript 4.1
Better to return a union of custom result types. Save exceptions for when stuff goes really wrong.
macca321··on Airbnb S-1
What action am I meant to take in response to these stories? Put £5k aside to buy shares?
macca321··on .NET 5.0
Carter
macca321··on .NET 5.0
I don't like it either, but one advantage is that the settings can be live updated when the config files change
macca321··on Pointers from Portugal on Addiction and the Drug War
Teeth are a luxury.
macca321··on How can we, as web professionals, help to make the web more energy efficient?
Lobby government for green energy
macca321··on The Fed now owns nearly 1/3 of all U.S. mortgages
Mortgage repayments are much cheaper than renting, at least where I am in London
macca321··on REST APIs must be hypertext-driven (2008)
This is an article from 2008 by the person who invented REST.
macca321··on I sold my side-project for $30k
Probably for the API access to Zendaya's Insta and Twitter accounts
macca321··on ReMarkable 2.0 – A digital notebook that feels like paper
You should see the crazy Psion devices my dad used to spend £500 on in the 90s. There's a market
macca321··on Architecture decision record (ADR) examples for software planning, IT leadership
Or, "how to stifle innovation with bureaucracy".
macca321··on Parallel Seam Carving
This is a SAAS product if ever there was one
macca321··on Dividing front end from back end is an antipattern
The title is correct, but the article misses the most important thing. The reason you should not divide them is that delivery of a non trivial feature requires change at each layer of the stack.

Conway's Law etc etc

macca321··on Ask HN: Is all of FAANG like this?
Are they happy with 8hr a day? I keep worrying that I'd have to put in 12 hr shifts to keep up with the graduate hires.
macca321··on Mastering Jq: Part 1
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.
macca321··on Roy Fielding's Misappropriated REST Dissertation
I though we could call it UnREST

FIOH from the article is better ŧhough

macca321··on Roy Fielding's Misappropriated REST Dissertation
Worth reading "The Hypermedia Maturity Model" afterwards

https://8thlight.com/blog/jason-desrosiers/2018/05/30/the-hy...

macca321··on Dungeon Scrawl: Old school maps in minutes
I haven't really done role-playing about 20-years but aren't dungeon crawls a bit simplistic compared to freeform adventure story telling?
Page 1 of 13Next →