HackerTrans
TopNewTrendsCommentsPastAskShowJobs

glenjamin

no profile record

Submissions

My heuristics are wrong. What now?

brooker.co.za
1 points·by glenjamin·قبل 4 أشهر·0 comments

DoS Vulnerability in Node.js for React, Next.js, and APM Users

nodejs.org
4 points·by glenjamin·قبل 6 أشهر·0 comments

comments

glenjamin
·قبل 11 يومًا·discuss
Upthread the implication seems to be that smolmachines would be in some way a replacement for orbstack to run docker containers

But it seems more like a completely different way to run isolated workloads?
glenjamin
·قبل 3 أشهر·discuss
on the rare occasions where I need to loudly indicate my presence to a motor vehicle I wouldn't really want to be moving my hands - if I have time to move a hand to a horn I probably have time to brake/manouvre instead.

Generally in those situations I shout really loudly at the driver, and in general they seem to hear me
glenjamin
·قبل 3 أشهر·discuss
The way AWS keep their pricing section completely separate from their system and architecture docs, despite architecture being the primary driver of cost, is a major contributor to this
glenjamin
·قبل 6 أشهر·discuss
A bitmap index scan allows the database to narrow down which pages could include the data, but then still has to recheck the condition on the contents of those pages - so will still not be as performant as an proper index scan
glenjamin
·قبل 6 أشهر·discuss
This pitch seems ok to people using simple log aggregation tools or metric tools that have to be wary of tag cardinality

But how does it compare to an actual modern observability stack built on a columnar datastore like Honeycomb?
glenjamin
·قبل 6 أشهر·discuss
Any advice on how to learn modern Swift?

When I tried to do learn some to put together a little app, every search result for my questions was for a quick blog seemingly aimed at iOS devs who didn’t want to learn and just wanted to copy-paste the answer - usually in the form of an extension method
glenjamin
·قبل 7 أشهر·discuss
A failure mode of ULIDs and similar is that they're too random to be easily compared or recognized by eye.

This is especially useful when you're using them for customer or user IDs - being able to easily spot your important or troublesome customers in logs is very helpful

Personally I'd go with a ULID-like scheme similar to the one in the OP - but I'd aim to use the smallest number of bits I could get away with, and pick a compact encoding scheme
glenjamin
·قبل 7 أشهر·discuss
I invite you to look into feature flagging.

It is entirely viable to never have more than 1 or 2 open pull requests on any particular code repository, and to use continuous delivery practices to keep deploying small changes to production 1 at a time.

That's exactly how I've worked for the past decade or so.
glenjamin
·قبل 7 أشهر·discuss
I’m amazed that this comment is so low down

Stacked diffs seems like a solution to managing high WIP - but the best solution to high WIP is always to lower WIP

Absolutely everything gets easier when you lower your work in progress.
glenjamin
·قبل 7 أشهر·discuss
Does pglite in memory outperform “normal” postgres?

If so then supporting the network protocol so it could be run in CI for non-JS languages could be really cool
glenjamin
·قبل 7 أشهر·discuss
There's a couple of passing mentions of Download Monitor, but also the timeline strongly implies that a specific source was simply guessing the URL of the PDF long before it was uploaded

I'm not clear from the doc which of these scenarios is what they're calling the "leak"
glenjamin
·قبل 8 أشهر·discuss
that looks neat - how but do you handle failover/restarts?
glenjamin
·قبل 8 أشهر·discuss
Other than motherduck, is anyone aware of any good models for running multi-user cloud-based duckdb?

ie. Running it like a normal database, and getting to take advantage of all of its goodies
glenjamin
·قبل 9 أشهر·discuss
This reminded me of a slide from a Dan North talk - perhaps this one https://dannorth.net/talks/#software-faster? One of those anyway.

The key quote was something like "You want your software to be like surgery - as little of it as possible to fix your problem".

Anyway, it doesn't seem like this blog post is following that vibe.
glenjamin
·قبل 11 شهرًا·discuss
This doesn't seem accurate to me - Gambling sites legally operating in the UK already have strict KYC requirements applied to them via the Gamling regulator.

Visiting a gambling site isn't restricted, but signing up and gambling is.
glenjamin
·قبل 12 شهرًا·discuss
The only mention I can see in this document of compression is

> Significantly smaller than JSON without complex compression

Although compression of JSON could be considered complex, it's also extremely simple in that it's widely used and usually performed in a distinct step - often transparently to a user. Gzip, and increasingly zstd are widely used.

I'd be interested to see a comparison between compressed JSON and CBOR, I'm quite surprised that this hasn't been included.
glenjamin
·السنة الماضية·discuss
It’s worth noting that if you DisallowUnknownFields it makes it much harder to handle forward/backward compatible API changes - which is a very common and usually desirable pattern
glenjamin
·السنة الماضية·discuss
oh, I can't edit now but that was supposed to say "nudge"
glenjamin
·السنة الماضية·discuss
I think in some cases (like WhatsApp) the better model exists and is available, but isn’t used by the app - possibly as a judge to get you to give it more permissions

On iOS Strava’s app is able to access a photo picker, and the app only gets the photos I actually pick

Meanwhile WhatsApp insists on using the model where it tries to access all photos, and I limit it to specific ones via the OS
glenjamin
·السنة الماضية·discuss
It would be cool if someone could come up with a way for the runtime system to automatically wrap errors with the calling context.

That way you’d be able to trace the stack of functions that were involved in passing an error back up to the place where it’s actually handled.