ovis
ovis on Hacker News
Do you consider implementing an interface to be subclassing? And if so, what's the OO alternative? Prototypes?
At least according to Amazon,
"Some may ask why we didn’t announce these role reductions with the ones we announced a couple months ago. The short answer is that not all of the teams were done with their analyses in the late fall; and rather than rush through these assessments without the appropriate diligence, we chose to share these decisions as we’ve made them so people had the information as soon as possible."
(From the announcement.)
It's not necessarily unrealistic. It only takes one terrible driver to drag down the mean and make everyone else better than average!
"This website" referred to Hacker News itself, which is written in a Lisp (Arc).
> But they don't mutate data and hence every function call creates a new data in memory taking up space.
Well, only if you mutate the data. And even then, most functional languages provide persistent data structures that allow efficient sharing of the unchanged parts of the data structure.
> Now my question is where do I learn about these nitty gritty's? Should I read about compilers more? Or systems? Or what?
I'd recommend choosing a functional language and an imperative language and learning both.
Posted by
ovis on Wednesday June 29, 2022 @09:51AM
from the cbc.ca dept.
For some reason I'm kind of sad seeing Twitter's (very cool) homegrown technologies in the "Old" diagram with the "New" architecture basically Google Cloud. I'm sure it makes sense internally, but it feels like the loss of an innovation center in the streaming space.
From the article,
> [Lisp macros] by their nature would be hard to implement properly in a language without turning it into a dialect of Lisp
Other candidates that come to mind (because I recently learned about them) are effect systems, like in Koka.
To clear up a possible misunderstanding, CPython != Cython.
What benefits does loom provide vs using something like cats-effect fibres?
Posted by
ovis on Monday July 19, 2021 @11:42AM
from the gist.github.com dept.
Do you think IDEs would have grown support for them before they were a language feature?
One advantage of Kafka is the ecosystem effect. There are many systems (Flink, Kafka Streams, Pinot, Druid, Presto, etc) that connect to Kafka. I'm not sure about the extent of Pulsar support here, although I'd love to learn more!
1. That's untrue. Partitions are limited to what a machine may handle, but topics may be scaled across many ordered partitions.
2. This is generally handled by the client library transparently. Have you ever needed to manage this state manually?
How would you structure it (in broad strokes)?
They may be using the term "dog" to refer to Caninae (or Canidae?) rather than wolf-derived pets, judging by the description of the phylogeny.
It's interesting that I could write your last sentence, but replacing "exceptions" with "monadic error handling."
Ultimately, both are equally expressive and it's reasonable to personally prefer either. The "Result" type approach maps better to the concept of a program as a series of inputs and outputs (functions).
> In the functional example, where does Person store the fName and lName variables?
With a closure? And you get state hiding too.
> If functions persist data, are they really classified as functions anymore?
Sure, since otherwise returning a function from a function wouldn't be very interesting.
Posted by
ovis on Tuesday June 16, 2020 @10:56PM
from the cbc.ca dept.
Posted by
ovis on Monday May 11, 2020 @09:09AM
from the newsinteractives.cbc.ca dept.
Posted by
ovis on Friday February 21, 2020 @08:56AM
from the cbc.ca dept.
Perhaps they know the stratigraphic relationship between the sites and can estimate that way? (If one fossil is above another and you can rule out faulting or overturning, then you know which is younger.)
We do! Sometimes. A lot of places in Nunavut use that spelling - just a historical oddity I suppose.
Doesn't the fellow who sees the camera footage and issues a ticket qualify?
Given than a numpy array could contain lots of different kinds of data, how do you tell whether you're passing something image-like? Seems like even a thin wrapper could prevent some stupid mistakes.
In some places, yes. Ontario, for example, imposes hefty fines on individuals who use the an engineering title without accreditation.
Reliable might be an open question, and something 2-3 times the price of a Corolla or Civic is affordable to a very particular demographic.