HNHacker News
TopNewBestAskShowJobs

ledneb

161 karma · joined February 8, 2013

submissionscomments
ledneb··on Nomad vs. Kubernetes
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.

ledneb··on Generics enabled by default in Go tip
Found it, I think https://go.googlesource.com/proposal/+/refs/heads/master/des...
ledneb··on Generics enabled by default in Go tip
What syntax did Go settle on, in the end?
ledneb··on YouTube bans coronavirus vaccine misinformation
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.
ledneb··on Kubernetes: Make your services faster by removing CPU limits
> 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+
ledneb··on No engineer has ever sued because of constructive post-interview feedback
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!)

ledneb··on Citymapper
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.

ledneb··on Monorepo or Multirepo? Role-Based Repositories
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...

ledneb··on Streaming Cassandra at WePay
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.

ledneb··on Fast key-value stores: An idea whose time has come and gone
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.

ledneb··on To Message Bus or Not: Distributed Systems Design (2017)
> 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?

ledneb··on A command-line installer for Windows
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?

ledneb··on Ask HN: Cheap places to live with a good intellectual atmosphere?
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. :)
ledneb··on Introducing Stride
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.

ledneb··on Cyberattacks in 12 Nations Said to Use Leaked N.S.A. Hacking Tool
> except for clients that paid for an extended support deal

It does have a fix for this, though

ledneb··on Run Kubernetes on a Mac with Kube Solo
We use Minikube during development and have dropped compose files entirely :)
ledneb··on Show HN: Functors, Applicative Functors and Monads in PHP
not everybody has the luxury to change stack - besides, seeing concepts implemented in a familiar language lowers the bar required to understand them
ledneb··on Use your iDevice as an extra display for your Mac
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)
ledneb··on Android betrays tethering data
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?

ledneb··on 4chan source code leaked (2010)
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.

ledneb··on 4chan source code leaked (2010)
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.
ledneb··on AsciiFlow Infinity: Powerful In-Browser ASCII Art Editor
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 :)

ledneb··on Your code may be elegant, but mine works
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.

ledneb··on eBay remote code execution
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.

ledneb··on Easing Functions Cheat Sheet
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).
ledneb··on Announcing TypeScript 0.9.1
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.
ledneb··on Linner, a full-featured HTML5 application assembler
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!
ledneb··on PHP Commandments
Since you can't autoload functions who aren't members of a class, you must include/require the file on every request, or otherwise include the file whenever you use those methods. PHP projects have, generally, abstracted the thinking about "what file does this thing come from?" by now - via the autoloader - which, as I said, doesn't work with functions. So functions, annoyingly, create a leak in the abstraction that otherwise allows us to forget about exactly what files our code lives in.

As an aside, to me, it also raises questions regarding the design of your code (how do I inject mock methods?). But that's hard to know without seeing it (if the methods are simple enough, perhaps there's just no need to mock them in your tests).

I encapsulate "helper" or "utility" logic in objects, e.g. RandomGenerator with a getRandom, which can be amazing when it comes to testing, and lets me forget about include/require'ing files.

ledneb··on Pirates playing a game dev simulator complain about piracy
I do find myself wondering about audience, here. The product was given pretty good exposure to a "market" of non-paying users. If it were pushed it to markets which give you similar exposure in front of paying users, perhaps you would have a different result? Not to say getting that exposure is easy, but is this also a case of remembering who your customers are?

I'm a paying gamer - I don't think I've seen this game for sale until now. I'll check out the demo over lunch :)

ledneb··on How is Github dealing with spam?
^ sorry to post a "+1" comment but, yeah. This.

Edit: As a matter of fact, assuming something on that post could link off to something substantial regarding it's subject, should that link even be allowed to stay here?

Page 1 of 2Next →