Better HN
topnewbestaskshowjobs
Log inSign up

ledneb

161 karma · joined Feb 8, 2013 (13y ago) · 34 submissions

Submissions

1.

Dapr joins CNCF as an incubating project(blog.dapr.io ↗)

3 points · by ledneb · 5y ago · discuss

comment 5y ago · link · parent

Assuming serverless is out if the question for your use case, have you tried spending a couple of days investigating a managed Kubernetes cluster with node autoscaling enabled? EKS, AKS, GKE...

Honestly it sounds like you could be at the point where K8s is worthwhile.

comment 5y ago · link · parent

Found it, I think https://go.googlesource.com/proposal/+/refs/heads/master/des...

comment 5y ago · link · parent

What syntax did Go settle on, in the end?

comment 6y ago · link · parent

How hyperbolic. I'm struggling to imagine what you may have experienced, exactly, to put discussing such issues in the UK alongside discussing Tiannamen Square in China.

comment 6y ago · link · parent

> https://engineering.indeedblog.com/blog/2019/12/unthrottled-...

This is a more detailed post on the same thing - part two indicates changes have been back-ported to a number of kernel versions:

    Linux-stable: 4.14.154+, 4.19.84+, 5.3.9+
    Ubuntu: 4.15.0-67+, 5.3.0-24+
    Redhat Enterprise Linux:
        RHEL 7: 3.10.0-1062.8.1.el7+
        RHEL 8: 4.18.0-147.2.1.el8_1+
    CoreOS: v4.19.84+

comment 6y ago · link · parent

I sometimes give feedback, but only if requested and, to be honest, only if the feedback request actually makes it through HR and to me.

What feels like a lifetime ago I went for an interview at Monzo, I think it'd recently renamed from Mondo. I thoroughly enjoyed the process - a kind yet thorough and revealing interview format. I didn't get the job - but it's not an exaggeration to say their feedback and the process changed my career. If somebody from there spots this; thanks :) (and I'm still sad I didn't get to work with you!)

comment 6y ago · link · parent

I love it when I'm in a city with Citymapper. I've used it to get around Paris, Hamburg and Berlin. It's slick, fun to use and has nailed multi-modal transport - especially since it considers walking a thing which humans are capable of.

I still resort to instructional YouTube videos + ticket machines for tickets, though.

comment 7y ago · link · parent

So, in a monorepo world, isn't it often that you have to deploy components together, rather than "it's easy to"? How are services deployed only when there has been a change affecting said service? Presumably monorepo orgs aren't redeploying their entire infrastructure each time there's a commit? Are we taking writing scripts which trigger further pipelines if they detect change in a path or its dependencies? How about versioning - does monorepo work with semver? Does it break git tags given you have to tag everything?

So many questions, but they're all about identifying change and only deploying change...

comment 7y ago · link · parent

Looking at the "double-writing" option, this talk by Udi Dahan ("Reliable Messaging Without Distributed Transactions") could be of interest to you https://vimeo.com/showcase/3784159/video/111998645

It's still a "double write" but you may not need distributed transactions if you're happy with at-least-once writes to Kafka and deduplication on the consuming side.

comment 7y ago · link · parent

Microsoft have been pushing this kind of thinking for a while with Service Fabric. If you buy in completely and use both the framework and the infrastructure you get structures which are in-memory and replicated for you.

A couple of the .Net guys we hired preached that stateless architecture is a little old-fashioned - over time I've come to agree. A lot of things can be shoe-horned in to a stateless world but become much easier in a stateful one.

comment 7y ago · link · parent

> Imagine sending out a command to the bus and not knowing when it'll get processed

I would love to hear how others are correlating output with commands in such architectures - especially if they can be displayed to users as a direct result of a command. Always felt like I'm missing a thing or two.

It seems the choices are:

* Manage work across domains (sagas, two phase commit, rpc)

* Losen requirements (At some point in the future, stuff might happen. It may not be related to your command. Deal with it.)

* Correlation and SLAs (correlate outcomes with commands, have clients wait a fixed period while collecting correlating outcomes)

Is that a fair summary of where we can go? Any recommended reading?

13.

Ask HN: Resources for engineers new to system design

180 points · by ledneb · 7y ago · 19 comments

comment 7y ago · link · parent

I discovered Chocolatey during a Windows stint at work ~3 years back and found their package quality to be very poor. I'd go as far as saying packages had a 50% chance of leaving you with a usable installation of software.

We ended up changing provisioning scripts to download .msi installers directly and run them with appropriate switches.

I also remember their website having a lot of "maintainers required" notices - I got the impression that the situation was a little desperate.

Has package quality improved? Is Chocolatey a genuinely reliable way to install software, now?

comment 8y ago · link · parent

You wrote a great response! Assuming you genuinely want feedback on it; your writing style does detract a bit from what you're saying - the emphasis and braces don't read like native English. My advice is try not to use quotes, italics and braces at all - go cold turkey! Then you'll probably find yourself using them when you actually _need_ them. :)

comment 9y ago · link · parent

I was wondering what this means for existing HipChat users. My highlights from the [FAQ](https://confluence.atlassian.com/stride-documentation/upgrad...):

> We'll send your admin an email when we're ready for you. > All of your rooms, teammates, files, custom emoticons and message history from HipChat Cloud will be in Stride. > In the future, all HipChat Cloud teams will be encouraged to move to Stride. > Starting soon, we will begin to upgrade all HipChat Cloud teams to Stride. > HipChat Cloud will remain in 'read-only' mode.

comment 9y ago · link · parent

> except for clients that paid for an extended support deal

It does have a fix for this, though

comment 10y ago · link · parent

We use Minikube during development and have dropped compose files entirely :)

comment 11y ago · link · parent

not everybody has the luxury to change stack - besides, seeing concepts implemented in a familiar language lowers the bar required to understand them

comment 11y ago · link · parent

For a little bit I was using a Nexus 10 as a secondary display - I used Google Chrome's remote desktop to view a separate X session, with Synergy for sharing my input devices between them (which is now paid for?!). Worked great, except you couldn't see the mouse cursor on the Nexus... :( Ultimately it was more annoying than helpful. (Edit: just realised that's broadcasting in the opposite direction to what you're asking for)

comment 12y ago · link · parent

Nabbed from the comments of the post, this is how you disable the "feature" without being rooted:

http://vinhboy.com/blog/2013/12/27/how-to-tether-the-nexus-5...

... still though, I'm interested: what actually is this second device which things get routed through? How can the carrier tell which device your phone is using? Even then, how do they tell which one is the 'normal data' vs the 'tethered data' device?

comment 12y ago · link · parent

I'm under no delusion. Admittedly this is the wrong place to be debating anything PHP, but I wouldn't suggest that the average skill level of "everybody who writes PHP" is anything better than incompetent. The people I'm sitting next to now and have worked with in the past are as real as I am - the 1% you recognise are the serious and modern PHP developers. We exist and we're the pool you hire from.

Of course, right tool for the right job. PHP has specific use cases but that's another discussion entirely.

comment 12y ago · link · parent

No serious, modern PHP developer writes code like this. If it were a code sample for any respectable PHP job, it would be a massive "do not hire" flag.

comment 12y ago · link · parent

Nice. Would be great if it could "anti-alias" the lines you draw! Using other ASCII characters, I mean.

I remember nfo files sometimes having quite impressive & inventive use of various characters :)

comment 12y ago · link · parent

I think the real sentiment is "sometimes you just have to get things done" (which I agree with) but I have a few issues. I tried to bake them in to something which wasn't a bullet-point list, but perhaps this is just how my brain works...

1) Over-engineering is a separate discussion to elegance, let's not mix them. 2) You can be both on-time and elegant - it's not one or the other, like the title implies. 3) Often, if that fails, the deadline can be moved without any real consequence. 4) Consistent failure to be elegant "because deadlines" is probably going to make later deadlines harder to meet - it seems like a bad cycle to start.

comment 12y ago · link · parent

I'm pretty sure the error is when they later take the input and eval it, and the author's managed to dodge their filtering rather than execute arbitrary code in the context of an array-to-string cast (which I was lead to believe when reading that post, at least). Otherwise it implies that some permutation of:

$a = '{${phpinfo()}}'; $b = [$a]; $c = "$b";

Will execute phpinfo()... which it won't.

comment 13y ago · link · parent

Great stuff. It would be super useful if a mathematical definition of the easing was provided though (unless I'm missing something on my mobile browser).

comment 13y ago · link · parent

We need support for it in something like Monodevelop / Netbeans / Eclipse. A lot of the benefit I experience from strict(er) typing comes from the real-time help an IDE gives me - without a Windows/VS licence, I hardly feel compelled by Typescript at all.

comment 13y ago · link · parent

I had to check out brunch.io for a description of what an "application assembler" does. Linner would benefit from some text describing it's function!
12