Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ioquatix
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
ioquatix
8y ago
Hi, I'm the author of the article, and it was a while since I measured that number. Let me check it and fix it if it's wrong. Update: I wrote an addendum https://www.codeotaku.com/journal/2018-11/fibers-a
92.
▲
by
ioquatix
8y ago
Thanks! That's really helpful :)
93.
▲
by
ioquatix
8y ago
If you know any visually impaired programmers, please share this with them!
94.
▲
Ask HN: Blind programmers, what can I do to make my code easier for you?
202 points
by
ioquatix
8y ago
|
43 comments
95.
▲
by
ioquatix
8y ago
It's this one: https://www.youtube.com/watch?v=DZCm2QQZVYk And it's a great lecture, everyone should watch it.
96.
▲
by
ioquatix
8y ago
Oh wow. I was working with Glenn on GitHub and I didn't know. https://github.com/glennrp/libpng/pull/177 was my last interaction with him. He seemed to really care about libpng and making it better.
97.
▲
by
ioquatix
8y ago
Oh, I'm pretty sure we will trash Mars too given enough time.
98.
▲
by
ioquatix
8y ago
The tech empower benchmarks for Ruby are a bit foobar, I tried to fix it but ran out of time. I wouldn't trust it completely. I'm not saying it's wrong, I just don't think it's the complete picture.
99.
▲
by
ioquatix
8y ago
Feel free to come and discuss your requirements in https://gitter.im/socketry/falcon
100.
▲
by
ioquatix
8y ago
I don't know that but it would make sense.
101.
▲
by
ioquatix
8y ago
This is controllable, but by default it makes one process per core. Regarding the pool size, I'd suggest that it should correspond more to how many simultaneous connections you think you'd have per process, so maybe just choose so
102.
▲
by
ioquatix
8y ago
I've been doing my best to try and support JRuby but in actual fact, JRuby simply isn't that compatible with MRI where it matters. I hope we can fix this but honestly I can only do so much. I tend to focus my efforts on MRI since
103.
▲
by
ioquatix
8y ago
It's nice to directly/natively serve HTTP/2 web apps, because it simplifies development and production environments. Sometimes best practice for HTTP/1 becomes anti-pattern for HTTP/2. Some of these issues are discu
104.
▲
by
ioquatix
8y ago
I will email you, but I've also created a chat room specifically for discussing falcon. https://gitter.im/socketry/falcon
105.
▲
by
ioquatix
8y ago
I really think it depends on your use-case. The surface area of HTTP is huge. I'd like to think it's production ready, but I'm only just beginning to dog-food Falcon in production on my end. Pragmatically speaking, it will be
106.
▲
by
ioquatix
8y ago
This is unfortunate, but at the time I only checked RubyGems.org and didn't think to check another language or package repository. So, I apologies, but there was no bad intentions, perhaps just a little bit of bad luck and ignorance. T
107.
▲
by
ioquatix
8y ago
Can you explain the reference?
108.
▲
by
ioquatix
8y ago
There is a rake task in the source which performs benchmarks. Feel free to try it out and propose more benchmarks.
109.
▲
by
ioquatix
8y ago
This is a long way from native bi-directional HTTP/2.
110.
▲
by
ioquatix
8y ago
It will be soon.
111.
▲
by
ioquatix
8y ago
I’m really interested in these use cases so let me know if I can help in any way.
112.
▲
by
ioquatix
8y ago
Thanks //de I love your enthusiasm and kind words so, so much.
113.
▲
by
ioquatix
8y ago
From my POV: > TLS requires ALPN. Supported by recent versions of Ruby pretty well, but as you say, older versions, not so well. > Setting up more advanced TLS is highly undocumented. It was slightly tricky with Ruby but it provides t
114.
▲
by
ioquatix
8y ago
So, I implemented https://github.com/socketry/falcon - a HTTP/1, HTTP/2 web server, including client. HTTP/2 in my opinion is simply a better protocol. It's more robust, and it has a binary framing
115.
▲
by
ioquatix
8y ago
You are right, but it's also more nuanced. The remote end can cancel the push if it already has the resource.
116.
▲
by
ioquatix
8y ago
What are we actually looking for here? A private key?
117.
▲
by
ioquatix
8y ago
As a recent example, the cost to travel by train into Tokyo from Narita cost me about ¥800, but the tolls from driving cost about ¥2000. So, if you travel with 3+ people in a car, it's cheaper to drive, provided you already own a car.
118.
▲
by
ioquatix
8y ago
I walked past one of these in Japan and it even had a really nice kids play area, a cot/baby sleeping area, a TV area with consoles, etc!
119.
▲
by
ioquatix
8y ago
Can you point to some examples with the properties you suggest make Ruby unreadable?
120.
▲
by
ioquatix
8y ago
It's funny how people seem to do the same thing at the same time. I recently made https://github.com/socketry/localhost however `mkcert` has lots of good ideas I'm going to "borrow" :)
More ›