Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
anko
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
anko
9y ago
Yep, I think there should be some included Config behaviour module which handles the serialising / deserialising of a config file, and genservers can register themselves against it, and when the config changes the registered genservers
92.
▲
by
anko
9y ago
This is really great. Maybe it's been working for me recently and I didn't realise.
93.
▲
by
anko
9y ago
pro tip, thanks
94.
▲
by
anko
9y ago
José, thanks for taking the time to respond to my somewhat rambling comment. To be honest, if I had a clear idea on how to solve some of these things I would have done it - but i'm still a novice at the otp ecosystem in general. Maybe
95.
▲
by
anko
9y ago
This is brilliant, I can't believe I missed it! Thank you
96.
▲
by
anko
9y ago
I don't think it's easy to learn either. The basics are easy, and the syntax is easy, and writing some code that does what you want in the repl is easy. But then you try to make a real application and you have more questions tha
97.
▲
by
anko
9y ago
That is like saying queues are basically the same as lists! size, scheduling and the lack of shared state add up to vast differences. Also the message parsing primitives are way more lightweight than the thread based equivalents.
98.
▲
by
anko
9y ago
I appreciate the response, at any rate. I will read more libraries; hopefully I can find some which use flow. I have used distillery but I find myself going down a pretty big rabbit hole just to release something which in most languages is
99.
▲
by
anko
9y ago
I really am in awe of Elixir. I think it's an amazing language, and it introduced me to Erlang and OTP. I've come from using scala actors, and I can do more in way less time, less memory, and similar performance if I use Elixir.
100.
▲
by
anko
9y ago
Tesla had a battery swap system that was faster than filling a normal car - but it turns out the demand wasn't there. Granted, there is still a disadvantage to doing long distance runs on battery, but it accounts for a relatively smal
101.
▲
by
anko
9y ago
thanks for the tip!
102.
▲
by
anko
9y ago
elixir is awesome, and it's the language i use on my personal projects. But it's still pretty immature and if you're writing a web application, rails will get you further, quicker. With rails when i'm writing some new c
103.
▲
by
anko
9y ago
There is this common misunderstanding that technical people have when it comes to design. I think it's because a list of features makes it seem easy to "compare" two things fairly. It works especially well in the enterprise
104.
▲
by
anko
9y ago
I am a scala dev but for scripts I use ruby. With pry, I have a great REPL, and ruby has no problem with those filter chains. [1] pry(main)> `ls` => "README.md\n" + "_build\n" + "config\n" + "
105.
▲
by
anko
9y ago
Holy hell, you just described my daily problem more than I previously knew.
106.
▲
by
anko
9y ago
I had a simple rabbitmq -> elasticsearch logger I wrote in scala, which had to handle peaks of about 8000 messages/s on a single t2.large instance (with elasticsearch on the same box). It took about a week and a half to write, and w
107.
▲
by
anko
9y ago
Thunderf00t always comes up in these discussions - here's a counter video. https://www.youtube.com/watch?v=kx52A-v65Q8
108.
▲
by
anko
9y ago
does anyone have any detail on this?
109.
▲
by
anko
9y ago
thanks for the link - i've never seen that before :)
110.
▲
by
anko
9y ago
total side point, but did you know in visual studio code you can enable "editor.codelens" and it will show class references in javascript above the declaration - no typescript required.
111.
▲
by
anko
9y ago
Then you're maintaining two definitions - typescript ones and json schema ones. But thanks for the idea :)
112.
▲
by
anko
9y ago
one thing I wish typescript had was an ability mark typechecks as runtime. Commonly I'll have a nodejs express app which serves an api and i've love a easy way to validate an interface against the payload passed in. Maybe it woul
113.
▲
by
anko
10y ago
> Cost: We're not there yet, but not paying registration/insurance/repayments/garage space will make this economical in time - at first at least for second car owners > Liability: Insurance - I think automation wil
114.
▲
by
anko
10y ago
To add to this point as well; agile methodologies work best when everyone is a generalist and the business is onboard with being involved in the development process. DBAs are specialists which makes them inherently siloed.
115.
▲
by
anko
10y ago
Yep I agree that architecture plays the largest part. But I really don't think it's about a language being boring vs not! Pure functions are easier to reason about. So it makes sense that a language that encourages their use will
116.
▲
by
anko
10y ago
I like the idea behind your post because it's true for lots of people - when you're so close to it, you don't realise that you're arguing over maybe 10% efficiency in lots of cases. But i think programming is kind of uni
117.
▲
by
anko
10y ago
I love Postgres, but the one thing I think sucks is it's COUNT() performance. I've read all sorts of hacks but I would love for someone to solve this for me!
118.
▲
by
anko
10y ago
Cause they are competing with anyone with a car. That makes margins a fair bit lower.
119.
▲
by
anko
10y ago
https://developer-preview.clarifai.com/guide/train#add-image... Try this - Clarifai is run my Matthew Zeiler, who's imagenet results really kickstarted the whole deep learning craze.
120.
▲
by
anko
10y ago
I think the argument is not "You can't write something maintainable in a dynamic language" - it's more like "Given the majority of projects, static typing would have helped readability". Since in SDLC maintenan
More ›