Readit News logoReadit News
djmetzle commented on Use one big server   specbranch.com/posts/one-... · Posted by u/pclmulqdq
djmetzle · 3 years ago
>Generally, the burstier your workload is, the more cloudy your architecture should be.

Well, crap dude, that's the web!

djmetzle commented on Case against OOP is understated, not overstated (2020)   boxbase.org/entries/2020/... · Posted by u/tejohnso
djmetzle · 4 years ago
Meh. Is this a hot debate still?

No mention of Ruby or smalltalk in this post, which i think of as "true" OO languages, down to the runtime. The ruby object model has its merits! Sandi Metz's POODR is a fantastic intro into OO _and_ a compositional approach to design.

FP vs OO is always a false dichotomy for sure. Actors and messaging appear in FP languages. Inheritance surely has nothing to do with OO. Inheritance means nothing for data, and it's almost a bug to extend Record types.

In short, this post seems to rage against inheritance and blind use of design patterns, not the spirit of OO. But the post also qualifies that "that is what an OO advocate would say".

Consider Typescript. The same program can be written with `class`es, or as a module of "loose" types and functions. Really, lets pick a mix that best represents the problem we're solving? I think OO can be a _useful complement_ to FP and other paradigms.

djmetzle commented on Can I have a smaller Prometheus   wejick.wordpress.com/2022... · Posted by u/wejick
djmetzle · 4 years ago
Outstanding!
djmetzle commented on Ruby vs. Python comes down to the for loop   softwaredoug.com/blog/202... · Posted by u/softwaredoug
sgc · 4 years ago
I would expect it to print "me too", because I would expect the assignment in the function to change the global variable when it is called, not create another variable.
djmetzle · 4 years ago
Oh no. oh no no. Do you have examples of languages without the usual local scope binding semantics?

I think the example here is misleading and causing confusion.

djmetzle commented on Memory leaks are crippling my M1 MacBook Pro   macworld.com/article/5497... · Posted by u/miles
BiteCode_dev · 4 years ago
That's what I find amazing with Apple users.

They sell you a very expensive machine that doesn't work.

Your reaction?

Buy a more expensive one from the same provider!

djmetzle · 4 years ago
Have you tried not buying their shit?
djmetzle commented on Containers are tents   increment.com/containers/... · Posted by u/vmarsy
tptacek · 5 years ago
That's a valid way to look at it, but there are other ways. Containers are also a simple, practical way to bundle applications and their dependencies in a relatively standardized way, so they can be run on different compute fabrics.

That sense of the term isn't loaded with any specific notion of how attack surfaces should work. I think modern "Docker"'s security properties are underrated†. But you still can't run multitenant workloads from arbitrary untrusted tenants on shared-kernel isolation. It turns out to be pretty damned useful to be able to ship application components as containers, but have them run as VMs.

https://fly.io/blog/sandboxing-and-workload-isolation/

djmetzle · 5 years ago
> I think modern "Docker"'s security properties are underrated†

100% agree.

The docker/CRI-de-jour (by default) strips off many "dangerous" system capabilities. By default a pid on linux gets something like over one hundred system capabilities, and most container runtimes strip that down to around 50. Those number are not exact.

Stripping down the system level capabilities of your workload is assuredly a security improvement over running that workload "bare metal" on the system.

Ref: https://www.redhat.com/en/blog/secure-your-containers-one-we...

djmetzle commented on Embrace the Grind   jacobian.org/2021/apr/7/e... · Posted by u/karl42
jldugger · 5 years ago
> For example, I once joined a team maintaining a system that was drowning in bugs. There were something like two thousand open bug reports. Nothing was tagged, categorized, or prioritized. The team couldn’t agree on which issues to tackle > I spent almost three weeks in that room, and emerged with every bug report reviewed, tagged, categorized, and prioritized.

Honestly, this is one of those traps a team can fall into, where nobody feels empowered to ignore the rest of the business for 3 weeks to put the bell on the cat. The only person without deliverables and due dates is the new hire. And it takes a special kind of new hire to have the expertise to parachute in, recognize that work needs to be done, and then do it with little supervision.

But he's right in general, that you can get some surprising things done by just putting in the time and focus. Which is why it's so utterly toxic that corporate America runs on an interrupt driven system, with meetings sprinkled carelessly across engineer calendars.

djmetzle · 5 years ago
Truth! Deep work and focus is difficult, expensive with continuous meetings and notifications. So the OP is extra right! Cutting through the noise looks like magic now.
djmetzle commented on Slack is down   status.slack.com/2021-01/... · Posted by u/gpmcadam
djmetzle · 5 years ago
Should be an interesting post-mortem...
djmetzle commented on How bad is your Spotify?   pudding.cool/2020/12/judg... · Posted by u/feross
djmetzle · 5 years ago
That's great!

u/djmetzle

KarmaCake day74February 25, 2014View Original