Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hderms
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
181.
▲
by
hderms
8y ago
Had a similar experience lately where we had a team fresh off a rails project get up to speed on Scala and complete essentially double the work we thought they'd get done. That being said it was much more complex than basic CRUD
182.
▲
by
hderms
8y ago
Have you ever honestly worked on a system that logged the results of every query run?
183.
▲
by
hderms
8y ago
Not to be a naysayer but it might be a better effort to prevent having to do a bunch of work before returning a response. Have you considered polling for all the jobs to be completed instead?
184.
▲
by
hderms
8y ago
It's clearly worked for you because you are using what I would consider very idiomatic phrases. Good job, this is obviously not easy to do.
185.
▲
by
hderms
8y ago
I think it's pretty common complaint to say Chinese doesn't translate simply to English. Like Chinese poems are said to contain wordplay based on alternate pronunciations or homophonic information which simply can't be transl
186.
▲
by
hderms
8y ago
Agreed except product types aren't the same as sum types, product types are records or what have you
187.
▲
by
hderms
8y ago
I think there are compelling business reasons to use Scala and hope Scala 3 simplifies the language like it promised. I don't personally think modern Scala isnt super hard to understand but there are some unpleasant edges to the langua
188.
▲
by
hderms
8y ago
I think implicits are fine as long as they're used primarily for the typeclass pattern. The extension methods and conversions aspect of implicits should be confined to library DSLs
189.
▲
by
hderms
8y ago
The handler being a typeclass in Haskell vs the enumerated cases being pattern matching?
190.
▲
by
hderms
8y ago
How do you reconcile the fact you say type systems aren't useful but also that data schemas are useful. SQL is a typed language and it would probably be insane if it wasn't
191.
▲
by
hderms
8y ago
I mean if their goal is to get Elixir developers interested then I think that it satisfies.
192.
▲
by
hderms
8y ago
Maybe is perhaps suitable for things that can go wrong in only one specific way, but how many of those are there? Agreed that Either is preferable
193.
▲
by
hderms
8y ago
What's convoluted about it? Exceptions jumping up multiple stacks and being rescued or reraised or what have you is convoluted. If you mean errors as return values then I agree, monads are more complicated than returning a simple error
194.
▲
by
hderms
8y ago
am I understanding that you are suggesting code that explicitly avoids 'do' notation in Haskell can be more imperative than code using 'do' notation? I don't get it
195.
▲
by
hderms
8y ago
I am leaving the ruby ecosystem primarily because dynamic typing doesn't jive with me and the ruby import system is lackluster.
196.
▲
by
hderms
8y ago
What alternatives are there to what Scala provides? What newer language would a 'sane' person advocate?
197.
▲
by
hderms
8y ago
How many problems out there are really apropriately solved by runtime metaprogramming?
198.
▲
by
hderms
8y ago
In practice the difference in guarantees between a static type checking system and a runtime one are so vast that I think they're mostly incomparable. Runtime checking is like doing most of the work of modelling a program with static t
199.
▲
by
hderms
8y ago
Yeah, that is important to recognize, but floating point numbers could obviously sample continuous measurements with less loss than integers.
200.
▲
by
hderms
8y ago
Yeah but I think it's important to consider whether any microservice should be able to listen to any other microservice inserts or updates. I think using the replication log as the underlying mechanism is a good idea, but you should re
201.
▲
by
hderms
8y ago
That was the conclusion I came to as well. If you just want to push data to a data warehouse by listening to the WAL or NOTIFY and then batch a bunch of updates together that's one thing. If you intend it to be application level events
202.
▲
by
hderms
9y ago
It's a reasonable point but perhaps a bit outdated? Containers more or less allow interpreted languages to be "statically linked". In the past you had to care more about whether system X had library Y installed but that seems
203.
▲
by
hderms
9y ago
Yeah, my girlfriend and I agree. Hogfather had the best translation of the three Sky productions. The cast was great and it managed to hit the right tone the entire time.
204.
▲
by
hderms
9y ago
I personally feel like there's still room to build something that's more terse, yet equally as powerful as SQL. get name, age -> (foos.id X bars.foo_id) |> get first(name) |> head as opposed to select name from (select fo
205.
▲
by
hderms
9y ago
Very thoughtful and educated response. I couldn't have envisioned a better answer when I decided to ask that question.
206.
▲
by
hderms
9y ago
What exactly would be an alternative to call/return? I've seen that term thrown around before but I don't know how to Google for it effectively. Is it an alternative to other execution models like fork-join or something?
207.
▲
by
hderms
9y ago
I agree in the sense that your system will be the most flexible provided you use composeable and easy to understand code as much as possible. Overengineering is overengineering because it trades complexity for "flexibility" but th
208.
▲
by
hderms
9y ago
Okasaki really is brilliant
209.
▲
by
hderms
9y ago
Fantastic article. This is the kind of stuff I go to Hacker News to read. Had never even heard of half of these conceptual leaps.
210.
▲
by
hderms
9y ago
Compile time might be the only thing I truly dislike about scala.
More ›