Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chucke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
chucke
4y ago
Maradona was left-wing friendly, same as Sócrates, which is somehow seen more positively by the crowds. And while Sócrates gets credit for participating at rallies and protests and actually walking the walk, I've never seen Maradona ra
92.
▲
by
chucke
4y ago
Small nitpick: Maxime Chevalier-Boisvert is the creator of YJIT and the BBV optimization technique that underpins it. Shopify is the company which employs her and funds its further improvement.
93.
▲
by
chucke
4y ago
Microsoft didn't start pouring bucks into improving ruby yet. Their focus has recently been on JS, C# and python.
94.
▲
by
chucke
4y ago
Python improvements are on par with ruby, and ruby has a JIT, which means that upside fir real world improvement is much higher. Python has no static typing. It has type annotations, which a few 3rd party static analysers such as mypy use.
95.
▲
by
chucke
4y ago
Rubygems supports precompiled binaries, so as long as those exists, it's unnecessary.
96.
▲
by
chucke
4y ago
Benchmarks will eventually come out. However, put this into perspective. Ruby has a JIT. Python doesn't. Until it does, its performance is fundamentally capped by it. Ruby has two viable alternative runtimes, one that sees a lot of pro
97.
▲
by
chucke
4y ago
They would. Some of the constraints were senseless. You used to not be able to use class variables, even if they were already initialized and frozen. However, using static variables, and worse, changing them, was fine. Ruby uses a lot of pu
98.
▲
by
chucke
4y ago
Celluloid was an actor library which worked well with most ruby code. This is not the case for ractor. For starters, the ruby standard library is itself incompatible with ractor. Go ahead and try using logger inside one. Beyond that, a lot
99.
▲
by
chucke
4y ago
ractors, due to its "no shared or immutable only memory" constraints, is fundamentally incompatible with 99% of ruby code in the wild. I don't see it getting much adoption until some of those constraints are relaxed.
100.
▲
Rodauth-OAuth – OpenID certified toolkit for building OAuth and OpenID providers
(honeyryderchuck.gitlab.io)
1 points
by
chucke
4y ago
|
1 comments
101.
▲
by
chucke
4y ago
1.0.0 has been released.
102.
▲
by
chucke
4y ago
Switch to ruby and have all of the prototyping capabilities, way more fun, less surprising behaviour, and none of the package management shenanigans.
103.
▲
by
chucke
4y ago
But kafka isn't a standard message queue, and therefore won't make onboarding easier except for the ones who already know it, which is not a significant majority, right? Or at least we'll have to agree on the definition of st
104.
▲
by
chucke
4y ago
I've worked for a while now in the field and I never worked with kafka. Nor most of the peers I've worked with. And I wouldn't even call it the most used message queue or data stream solution, so I don't understand why p
105.
▲
by
chucke
4y ago
Now you have to pay for 2 services instead of one (elasticache is not cheap), and you may need to account for two differently configured redis instances (setting it as cache store requires a different configuration than setting it as a job
106.
▲
by
chucke
4y ago
Stripe also allows a header to declare the version, which is how you should upgrade (test each endpoint one by one, and when they're all migrated, upgrade the account api version). I personally find this a much saner way to declare api
107.
▲
by
chucke
4y ago
As bad as strong parameters is, it was still, at the time, a decent improvement over its predecessor, attr_accessible.
108.
▲
by
chucke
4y ago
Which? Apart from the twitter case, which was ages ago and largely overblown, there's no case that I can remember of ditching ruby for tech X because "for scale". There are lots of examples of companies using other tech rathe
109.
▲
by
chucke
4y ago
As others said, is a layering violation. What that commandment means in practice? Essentially, you can't just udp your way around the protocol, and do frame comparison to test robustness of the protocol, you have to care how it looks l
110.
▲
by
chucke
4y ago
Not following what you mean. This server is from a shopify employer (major enough?). This server makes quite impressive improvements in terms of memory usage. Moreover, shopify is contributing a production grade JIT to the CRuby runtime.
111.
▲
by
chucke
4y ago
Both downsides are fixed by using http/2, right? Heartbeat seems trivial to implement using HTTP/2 PING frame. And you already mentioned the stream sharing, which IMO is much better than the state of each tab on the same website
112.
▲
by
chucke
4y ago
It definitely correlates. Ruby is not the culprit though. It uses and abuses memory as fairly as other similarly GC backed dynamic languages. The issue may be rails and the monolithic pattern, which favours rapid feature development and pos
113.
▲
by
chucke
4y ago
> If one thing can be gotten from that incident is forcing GitHub to create finer OAuth scopes and per repository. Just noting that gitlab has supported per repo tokens for ages. Yes, it's really useful, as this incident can attest.
114.
▲
by
chucke
5y ago
When is RBS support coming?
115.
▲
by
chucke
5y ago
Browser install wizards already configure the default chosen language to the OS language, which should already be the preferred language, so I'd be very surprised if that was the reason they never bothered to fix this behaviour. My the
116.
▲
by
chucke
5y ago
Why not just use numo, Ruby's own numpy?
117.
▲
by
chucke
5y ago
I don't read the script, script reads me.
118.
▲
by
chucke
5y ago
operationally, makes sense. but the inevitable moment (if you survive) you need to migrate to smth else depending on a different queue system, it'll be a pain to retrofit the code relying on db-level transactions and locks.
119.
▲
by
chucke
5y ago
I believe you're downplaying the potential here (and I'm overplaying it). A particular blockchain you could immediately verify home ownership online via some sort of signature with the public key from a seller seems like providing
120.
▲
by
chucke
5y ago
Blockhains can be as simple as an API. See the 7 layer stack in the Nexus blockchain (you definitely don't need to go smart contract all the time). I think the author exaggerates a bit the tone. Sure, 10 years is a lot of Internet time
More ›