Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jez
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
211.
▲
by
jez
5y ago
I have some concrete ideas for how to fix shape types to make them not incremental. Just a matter of finding the time to push the prototype over the line, and do a migration on Stripe's codebase to fix or silence the ensuing errors. It
212.
▲
by
jez
5y ago
Hey! I wrote this article. If you have any questions about Sorbet or Stripe, please don’t hesitate to ask!
213.
▲
by
jez
5y ago
The file has diagrams that are meant to be viewed on a screen with enough space to leave long lines unbroken. If you attempt to get things to fit onto a single line by turning the phone sideways, it just zooms the text, instead of reflowin
214.
▲
by
jez
5y ago
I imagine this isn’t the first time you’ve realized you wanted this so I’m curious: what’s stopping this today? CPU designers being lethargic? Technical complexity? Something else? It seems like the kind of feature that competition among CP
215.
▲
Kadabra Hasn't Appeared on a Pokémon Trading Card in Almost 20 Years (2020)
(screenrant.com)
4 points
by
jez
5y ago
|
2 comments
216.
▲
by
jez
5y ago
> I scarcely believe that I was the first to use them, being so common in literature, but incorporation in computer sets is a different thing. This begs the question: where did curly braces come from originally? Parentheses are common in
217.
▲
by
jez
5y ago
Do you have a link to one you recommend?
218.
▲
Dutch-Japanese Relations
(netherlandsandyou.nl)
61 points
by
jez
5y ago
|
18 comments
219.
▲
by
jez
5y ago
This is yet another reason why I’m glad to have switched away from using Google search. Not even for privacy/advertising/tracking considerations, just general quality of life things like being able to click the whole search result
220.
▲
by
jez
5y ago
We open sourced it by merging it into the Sorbet repo, under which all code is Apache 2.0 licensed: https://github.com/sorbet/sorbet/blob/master/LICENSE
221.
▲
by
jez
5y ago
I haven't heard anything from GitHub one way or another about whether they use Sorbet. I'd be extremely surprised if Basecamp was using it, as DHH has always been particularly opposed to types, but again, I haven't heard anyt
222.
▲
by
jez
5y ago
1. I don’t know much about using Sorbet with Rails, but I do know that almost every major user of Sorbet that isn’t Stripe is using Sorbet with Rails! You might want to reach out in the #rails channel on our Sorbet Slack[1] for more? 2. Our
223.
▲
by
jez
5y ago
We don't have anything custom on our end, but Sorbet implements the Language Server Protocol which it looks like Sublime Text 3 supports: https://lsp.sublimetext.io/language_servers/#sorbet These docs seem to even
224.
▲
by
jez
5y ago
Thanks!
225.
▲
by
jez
5y ago
This article might help clear some things up: https://sorbet.org/blog/2020/07/30/ruby-3-rbs-sorbet tl;dr: - RBS files are what Ruby 3 uses to describe types in separate files - RBI files are what Sorbet
226.
▲
by
jez
5y ago
I don't see why it wouldn't be supported! If the APIs are the same as VS Code's APIs, you should be able to build the VS Code extension from source and load it into VSCodium at your convenience.
227.
▲
by
jez
5y ago
Here's an example PR from a few days ago where someone contributed an improvement to the type definitions Sorbet maintains for the standard library: https://github.com/sorbet/sorbet/pull/5024 By adding t
228.
▲
by
jez
5y ago
Not sure what you mean by "bootstrap" in this context! Stripe uses Ruby extensively.
229.
▲
by
jez
5y ago
If Sorbet knows the type of the receiver of the method call, it will suggest completion results, regardless of whether any of the suggestions themselves have sigs, or whether you're inside a method with a signature. But without any sig
230.
▲
by
jez
5y ago
Our goal with new Sorbet versions is to break things where it makes sense (fix bugs, improve types for the standard library) which sometimes introduces new type errors in projects using Sorbet. But wherever possible, we try to build autocor
231.
▲
by
jez
5y ago
Happy to answer any questions about Sorbet, the VS Code extension, or anything else you're curious about!
232.
▲
by
jez
5y ago
I switched to DuckDuckGo gradually a few years ago, starting on iOS. I was fed up with Amp pages in Google search results—using DDG made them go away. As some other commenters have mentioned, for some queries it’s painfully obvious how bad
233.
▲
by
jez
5y ago
If anyone has any questions about Sorbet or the Sorbet Compiler, I'm happy to answer them!
234.
▲
by
jez
5y ago
And when someone teaches you a sequence of commands that are ~always run together, consider writing a script. Check the script into the repo. Now you have executable documentation. (Obviously within reason: maybe `npm install && npm
235.
▲
by
jez
5y ago
This is only glancingly related to the topic of multicore but I figure I’ll venture the question anyways: There were three big reasons pushing me towards other languages (C++, Rust) for a certain class of throughput-focused workflows: 1. La
236.
▲
by
jez
5y ago
Just want to echo the above sentiment—mouse-based acceleration curves are in need of just as much love as touch pads, and I'd love to see both!
237.
▲
by
jez
5y ago
This is super cool--I've wanted something notebook-like for blog posts in the past, and I had no clue it was possible in org-mode! I can also empathize with the desire for a single-column calendar output, but my first instinct wasn
238.
▲
by
jez
5y ago
That is already how it's defined in the `base` package right now though: class Eq a where (==), (/=) :: a -> a -> Bool x /= y = not (x == y) x == y =
239.
▲
by
jez
5y ago
Using fzf to power ^R (reverse history search) is such a huge productivity win. Also it has the side effect of showing you the last 10 commands without any other config or setup.
240.
▲
by
jez
5y ago
Happy to, here are some screenshots of what I’m seeing. https://github.com/excalidraw/excalidraw/issues/4205 If there’s any other way I can help please lmk.
More ›