Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chucke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
chucke
3y ago
Do you mean this one: https://node-postgres.com/features/native ? I don't know much about the node ecosystem to judge how many use this instead of libpq bindings, but judging by the number of features mentioned in
62.
▲
by
chucke
3y ago
Probably, but you'd have to reimplement a lot of things you get for free out of libpq (prepared statements, pooler support, other things I'm forgetting about). But fwiw, there's already this: https://github.com
63.
▲
by
chucke
3y ago
That's true, but I think that it is due to a few factors: JNI is considered a big penalty in the java, and treated as a "last resort" (libvips is an example); go community has been advocating against C bindings since the runt
64.
▲
by
chucke
3y ago
This article outlines well the paradox that JITs require to be truly more efficient: if more of the target language is available to optimize, it'll get waaay more optimized, compared to dropping down to the layer below and try to hand-
65.
▲
by
chucke
3y ago
So, no support for plugins. What's the upside then, considering that building static jekyll pages is a solved problem, even if it takes 500ms instead of 90ms?
66.
▲
by
chucke
3y ago
Thea answer to your prayers already exists: http://sequel.jeremyevans.net/ . By far the best database toolkit (ORM, query builder, migration engine) I have seen for any programming language.
67.
▲
by
chucke
3y ago
Let's meet again in 20 years, when developers discover dynamic languages again.
68.
▲
by
chucke
3y ago
Ruby sequel ( http://sequel.jeremyevans.net/ ) is the only library where you can combine classic ORM Model bases usage, with a more raw query builder "just get me all the data into plain objects". You'll never
69.
▲
by
chucke
3y ago
I don't understand what's the point of this. So there is an answer that doesn't answer the question in SO, and we glorify because it... is confirmation that yes, it's bad? OpenID is a specific layer on top of OAuth2. It
70.
▲
by
chucke
3y ago
I was mentioning mostly debugging XP. And even if my comment applies to other facets of elixir, it does not describe it as a whole. That being said, I don't find it easier to debug than ruby, IME.
71.
▲
by
chucke
3y ago
Elixir's most popular debugger tool is called pry.
72.
▲
by
chucke
3y ago
Side effects free is a good thing? Sure. Easier to debug? Cmon, elixir MO is based on, if not copied from, ruby. If anything, elixir is as easy to debug as ruby, if you can claim such a thing (I don't have substantial XP)
73.
▲
by
chucke
3y ago
If you want a db tool which can be an ORM for your app, and drop down to a lower level dsl, while targeting specific features of the databases it supports, + having a "composable superset for building queries", there's [ruby
74.
▲
by
chucke
3y ago
Thx for the FUD salt. Rails never left, and neither did sinatra. In fact, other frameworks came to play, like roda. Ruby is ok. Sure, jekyll is no longer the new hotness, but I don't see a market shift towards a single tool. There'
75.
▲
by
chucke
3y ago
It's actually funny to see mentioned again, just like recently in a linus torvalds interview about git, how the "ruby people" contributed yet again to the massive popularity surge of an otherwise unrelated piece of software.
76.
▲
by
chucke
3y ago
Workflow engines are neither simple, nor they are widely available for all programming languages.
77.
▲
by
chucke
4y ago
On the topic, I created this ruby gem called tobox, essentially a transactional outbox framework: https://gitlab.com/os85/tobox It actually circumvents most of the limitations mentioned in the article. Been successfull
78.
▲
by
chucke
4y ago
Ruby was actually the precursor to the solutions seen nowadays. It was thre first mainstream case of a packaging tool using lockfiles, and one of the persons behind it was also involved in the development of yarn (which brought lockfiles t
79.
▲
by
chucke
4y ago
What example is C# exactly? Never struck me as anything reaching wide adoption outside of the enterprise MS market, and you can certainly change anything if your customers already sunk the licensing cost. I certainly never and will never to
80.
▲
by
chucke
4y ago
Tell that to perl, or php.
81.
▲
by
chucke
4y ago
https://ruby.social/@eregon/109280839376585363 Tl;Dr it runs rails for a while already, it even runs mastodon.
82.
▲
by
chucke
4y ago
The core team is split across oracle and shopify. They are still actively interested in it, even for research purposes.
83.
▲
by
chucke
4y ago
> You don't have to use all of the features Rails provides. You kind of do. First, you have to opt-out, not opt-in. And the opt-out path is less battle-tested, so there's a lot of skeletons to be found there. Use it at your own
84.
▲
by
chucke
4y ago
Roda is not a full blown framework. The footprint of rodauth overall is quite low, when compared. Couple that with the fact that you get 2 factors, sms, otp, webauthn, json mode, argon2, along with json mode + an array of security and usabi
85.
▲
by
chucke
4y ago
Devise has not aged well. It's quite complex for the functionality it offers. Does not support json api mode. Only supports email/password. It's account creation flow is too simplistic for what most apps require OOTB.
86.
▲
by
chucke
4y ago
Roda is as lightweight as it gets, when it comes to ruby web routers. If you're worried about heavy dependencies, you should probably look into rails first.
87.
▲
by
chucke
4y ago
If you want to use an authentication solution which will not make you want to roll your own and highly configurable, use rodauth: http://rodauth.jeremyevans.net/
88.
▲
by
chucke
4y ago
I think you're spot on. Ruby actually gained wider appeal only when it gained visibility in the US (via rails). Being present in the markets which drive adoption matters more than being consistent, which python isn't ("one wa
89.
▲
by
chucke
4y ago
Definitely not performance, QUERY is an improvement/hackfix. Browsers have a cap on size of the request headline path (used to be very small for IE7), and server software also tend to cap the size of it, as a security mitigation (smth
90.
▲
by
chucke
4y ago
That statement does not make justice to the time Pelé played in. Pelé came of age at a time where the best brazilian players played in Brazil. Some of those legends he played alongside in the selecção, from Garrincha, Amarildo, Vavá, Djalma
More ›