Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ramchip
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
361.
▲
by
ramchip
7y ago
Type information generally isn’t used when doing property testing in Elixir, and Python has a very mature library too (hypothesis). If there’s a difference in popularity, it could just be culture. The Erlang/Elixir community is rather
362.
▲
by
ramchip
7y ago
It’s the only framework with significant usage in Elixir. I don’t think one framework per language is excessive.
363.
▲
by
ramchip
7y ago
It's also worth trying on OTP-22, which is reportedly much better at optimizing binary patterns: http://blog.erlang.org/OTP-22-Highlights/
364.
▲
by
ramchip
7y ago
I'd be curious how ETS does on that problem. The Erlang efficiency guide says an ETS table takes: > Initially 768 words + the size of each element (6 words + the size of Erlang data). The table grows when necessary. This might be to
365.
▲
OTP-22 Highlights
(blog.erlang.org)
3 points
by
ramchip
7y ago
|
0 comments
366.
▲
Erlang OTP 22.0 is released
(erlang.org)
315 points
by
ramchip
7y ago
|
42 comments
367.
▲
by
ramchip
7y ago
Erlang distribution is just not meant to be used over the Internet, both for security and network reliability reasons. It’s something you would use on a restricted LAN. It’s also entirely optional. There’s an FAQ entry explaining the reason
368.
▲
by
ramchip
7y ago
What’s special about Go packages, as opposed to packages in other languages?
369.
▲
by
ramchip
7y ago
Protocols are also an important feature. `IO.inspect`, `Enum`, etc. are very nice additions.
370.
▲
by
ramchip
7y ago
I have an app like that, but I found it convenient to use Phoenix anyway as it provides test helpers, a nice router, an efficient template (EEx) compiler with escaping, etc. I just ignore the parts I don't need. Phoenix LiveView looks
371.
▲
by
ramchip
8y ago
> Children would then have to ignore the terms and lie to the date of birth screen (fraud) to gain access Out of curiosity - is that really fraud? It doesn’t sound like it hurts the company.
372.
▲
Erlang OTP 21.3 is released
(erlang.org)
4 points
by
ramchip
8y ago
|
0 comments
373.
▲
by
ramchip
8y ago
I think you’re misinterpreting the point of the article. It’s not gloating about how much they scale, or saying their particular tech beats other techs. It’s just explaining how to solve a specific scaling issue on a specific platform. As
374.
▲
by
ramchip
8y ago
I've heard various stories of people being caught shortly after crossing the border (by accident or otherwise), via cameras and so on. Granted, these might be isolated anecdotes.
375.
▲
by
ramchip
8y ago
Doesn’t that mean you have to use the same language, libraries, and DB for every service?
376.
▲
by
ramchip
8y ago
I would assume Canada has much stronger border control than Mexico.
377.
▲
by
ramchip
8y ago
I like that Mint keeps dependencies to a minimum. I wanted to use the Gun client in the past, but couldn’t because Gun and Cowboy would depend on different versions of Cowlib (this is less of a problem now that Cowboy 2 is well supported in
378.
▲
by
ramchip
8y ago
Say you have a bug in a minor feature, that most people wouldn’t care about, but triggers the crash. Now someone’s trying to use this feature once or twice per minute. If you rely on the infra for recovery, you’re going to be in serious tro
379.
▲
The Curious Case of BEAM CPU Usage
(stressgrid.com)
4 points
by
ramchip
8y ago
|
0 comments
380.
▲
by
ramchip
8y ago
This book is great! I was already familiar with the basics of property testing, but the book shows it can be used for way more than just the usual JSON parsing examples I had seen until now. In particular I liked the idea of negative testin
381.
▲
by
ramchip
8y ago
Another reading of 大君 is ookimi, which is how the Emperor was called in ancient times. In this context the kanji means lord, prince.
382.
▲
by
ramchip
8y ago
Given it was owned by a king, it sounds like a ceremonial weapon. https://en.m.wikipedia.org/wiki/Ceremonial_mace
383.
▲
by
ramchip
8y ago
Whether it’s mainstream is debatable, but I think Elixir is a really successful example of extensible language, and indeed it managed to do this without s-expressions. Various libraries extend the language for HTTP routing, parsing, DB quer
384.
▲
by
ramchip
8y ago
Ripgrep is heavily covered in a previous article: https://boyter.org/posts/sloc-cloc-code/
385.
▲
by
ramchip
8y ago
The samples are hilarious and thought-provoking. I’ll have to brush up my German to read this. Thanks for the recommendation!
386.
▲
by
ramchip
8y ago
It’s mentioned in the article: > Netflix has recently announced it has stopped development of the Hystrix library in favor of the less well-known Resilience4J project. > Even if the client code might be a bit different, the approach b
387.
▲
by
ramchip
8y ago
Erlang macros are basically text substitution. It's similar to C pre-processor directives. Elixir macros are a completely different beast, they can manipulate the AST Lisp-style. A very elegant example is Elixir's unicode module,
388.
▲
by
ramchip
8y ago
I’m sure my family and long-distance relationship partner will be glad to hear about this new development! (Typed from a train leaving Tokyo at 320 km/h, with beer and sandwich sold on board)
389.
▲
by
ramchip
8y ago
I enjoy Elixir tremendously, but usually I’m forced to use another language (Python) due to popularity, not technical merits. It’s hard to sell anything that’s not in the TIOBE top 10. To answer your comment more directly though, for many s
390.
▲
by
ramchip
8y ago
It's unlikely to change between the SSO login page and the application's login page, and it doesn't matter if it changes later on since the app can issue its own session cookie which isn't tied to an IP.
More ›