Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hderms
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
hderms
6y ago
Most services of some kind have some form of resource contention at play. Even the simplest CRUD app likely has a DB connection pool to deal with. Imagine some external service isnt responding for some non-tricial amount of time and your re
122.
▲
by
hderms
6y ago
In the AWS builders library they suggest setting the timeout to be at the p99 for the expected latency of the operation (or choose a different percentile if you want to be more or less tolerant of false positives). That methodology seems pr
123.
▲
by
hderms
6y ago
Imo the value of unit tests is partially a record for others to see "hey look, this thing has a lot of it's bases covered". Especially if you're building a component that is intended to be reused all over the place, woul
124.
▲
by
hderms
6y ago
Yeah it's very tricky given that being able to identify genetic causes could make it easier to identify and help people who may have a higher probability of suffering from some specific issue, such as opt-in screening for Tay-Sachs for
125.
▲
by
hderms
6y ago
Yeah imo law of demeter shouldn't apply for namespace organization of static, globally relevant functionality. The amount of dots in that case is irrelevant to me because it doesn't really imply changing context in the same way. m
126.
▲
by
hderms
6y ago
I have no hard data to give you, only anecdote. But ever since I've consciously tried to reduce the quantity and frequency of my meals, I feel like my 'stomach has shrunk'. It's most likely something like what you'r
127.
▲
by
hderms
6y ago
There's a certain size threshold for applications where a statically typed language becomes extremely valuable. Static proofs that things are "connected" properly become very valuable, even if, as you say, the benefits aren&#
128.
▲
by
hderms
6y ago
They have to pay back the investments in R+D first though, no?
129.
▲
by
hderms
6y ago
The situation with Japan is likely a bit different given the extremely high population densities and the sheer number of convenience stores (and consequently, the high turnover they likely experience). Additionally, they have consumers who
130.
▲
by
hderms
6y ago
Maybe leaving a series of repeaters in a vertical line downwards would allow the information to make it to the surface where we could achieve LoS with an Earth satellite. I'm guessing taking 16 miles of some kind of cable is less reali
131.
▲
by
hderms
6y ago
I'm not an expert on this subjectrobably the best thing the JVM has going for it is two things: many world class extremely tunable garbage collectors and acres of software written for it already. V8 has tons of software written for it
132.
▲
by
hderms
6y ago
Not the OP but perhaps if only accounting cared about it you could assign these IDs separately as some asynchronous single threaded process. This would only work if insert rates were low enough or the assignment of the gapless sequence only
133.
▲
by
hderms
7y ago
Not familiar enough with rust to say, but this is an interesting comment given I've taken Scala for granted, in a sense
134.
▲
by
hderms
7y ago
How large of a team is it? How do you estimate the complexity of work?
135.
▲
by
hderms
7y ago
I don't really agree with the article to any extreme, but imo, its a really useful pedagogical tool to "follow the types". The book "functional programming in Scala" uses it a lot, and it really is easy to do in som
136.
▲
by
hderms
7y ago
would you want an insurance company to be able to price your policy on socially discriminatory characteristics without regulation to stop it? or possibly worse, without anyone even knowing?
137.
▲
by
hderms
7y ago
It's possible that we could be replaced but it's hard to envision it would happen without a general AI. Developments that are sophisticated, but fall short from truly replacing engineers, wouldn't have the predicted effect. L
138.
▲
by
hderms
7y ago
Retrying and stuff like that could either be handled with inversion-of-control which requires building a set of interfaces that provide stuff like 'login()' which is made available to some kind of orchestrator that handles retryin
139.
▲
by
hderms
7y ago
In my experience interviewing people for small companies, I learn towards problems that aren't particularly hard but that demonstrate basic engineering fundamentals. I do value questions that give some insight into the interviewee'
140.
▲
by
hderms
7y ago
Obligatory mention that services are mostly an enabler for organizational scaling and, in my opinion, shouldn't generally be something considered for only technical reasons. Having hundreds of engineers working on a monolith is at leas
141.
▲
by
hderms
7y ago
it's a mystery, especially to anyone who has ever seen JSON handling code in Go, that they would think generics are a crutch for bad design.
142.
▲
by
hderms
7y ago
Imo you have to allocate something else if you are going with an immutable paradigm. You can do clever sharing of data structures, but ultimately if you're modifying the whole thing, you're modifying the whole thing and sharing
143.
▲
by
hderms
7y ago
This is why I personally prefer Scala to Haskell
144.
▲
by
hderms
7y ago
I agree as the biggest test of new language features that involve syntax changes is not the superficial situations it makes easier, but how that feature works with other features that currently exist.
145.
▲
by
hderms
7y ago
Yes lactose intolerance rates in northern Europe are extremely low and they increase as you go further south or east. Looking at a map of the rates is quite telling. I guess it figures that it's thought to be a mutation that conferred
146.
▲
by
hderms
7y ago
I'm not sure about that in the case of git. I used the terminal UI exclusively for a long time but it's so bizarrely designed that I've been interested in using a GUI for a while. There are a lot of reasons a dev should learn
147.
▲
by
hderms
7y ago
can you go into more detail on this? it sounds interesting. What's an example of somethings value that varies non-linearly with the purchase price? Is a "non-linear transfer function" a stand-in for "quadratic payments&q
148.
▲
by
hderms
7y ago
it seems like in the event that quadratic payments are applied to a situation where multiple parties are competing for a single good that it reduces to something similar to an auction. Imo it's clear that auctions, corresponding with w
149.
▲
by
hderms
7y ago
Would anyone care about discussing some 'rule' with barely greater explanatory power than flipping a coin? People aren't going to adjust their thought patterns, in practice, for such an improvement.
150.
▲
by
hderms
7y ago
How do you explain the "party line" dynamic with the Republicans if Democrats are similarly politically cynical. Regardless of media slant it's clear that Republican policy marches in lockstep, with very clear talking points.
More ›