Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rattray
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
79 ms
·
961.
▲
by
rattray
6y ago
Not dumb, "c-" is ambiguous, but yes – it refers to the control key, so ctrl-a will get you back to the start of the line/sentence/etc.
962.
▲
by
rattray
6y ago
Ditto – I use some of these daily (mostly c-a, c-e, c-k) and didn't even know about others on your list. The shell reminder is a neat idea too; thanks for sharing that!
963.
▲
by
rattray
6y ago
That is the case with this library as well: https://github.com/luizperes/simdjson_nodejs/issues/5
964.
▲
by
rattray
6y ago
For other folks interested in using this in Node.js, the performance of `simdjson.parse()` is currently slower than `JSON.parse()` due to the way C++ objects are converted to JS objects. It seems the same problem affects a Python implementa
965.
▲
by
rattray
6y ago
Yeah, totally – I love that 90% of the time, I have a teenager-free TikTok experience, and most of what I see is interesting to me. But if I want to see what's hip with the kids or whatever, I can always just open up TikTok in a logged
966.
▲
by
rattray
6y ago
Yeah, that makes sense. Would be way too hard to solve something like that with subscriptions. Maybe one day, concepts like Brave Rewards or Google Contributor[0] will actually work... No idea what it'd take for those to reach critical
967.
▲
by
rattray
6y ago
Out of curiosity, do you mind sharing what sorts of websites you use that you feel this loyalty towards? News, community, educational, etc? Is it a small group of sites, or a wide variety?
968.
▲
by
rattray
6y ago
> Young people want to use the newest social app that old people haven’t yet infiltrated. There are actually plenty of people over 30 on TikTok FWIW. I definitely agree that TikTok's no-login-wall NUX was wonderful. You can even wat
969.
▲
by
rattray
6y ago
Maybe a 2-in-1 windows competitor? (eg; Surface, Yoga, etc). Their new iPad Pro took a big step in that direction with the keyboard, but it still doesn't have macos and mac apps. Not sure whether they'd position it more as a "
970.
▲
by
rattray
6y ago
Looks like it means "Cheap" - it costs $350, and is the same size as the Pixel 4, which is $800. Here's the product page: https://store.google.com/product/pixel_4a
971.
▲
by
rattray
6y ago
What does the "A" in 4A mean? Large? Small? Cheap? Fancy? The answer didn't appear in a skim of the first several paragraphs, and like many here I don't care enough to RTWFA
972.
▲
by
rattray
6y ago
Thanks for sharing, I wouldn't have thought of that.
973.
▲
by
rattray
6y ago
Given that flagship phones are $800-$1000, yes, that's the high end of budget or the low end of mid-range.
974.
▲
by
rattray
6y ago
The post mentions `aspect-ratio`, which isn't available in most browsers yet – will that work for you once it's ready?
975.
▲
by
rattray
6y ago
> A pure dividend, all monies repaid to everyone. You mean... UBI?
976.
▲
by
rattray
6y ago
Those comments were downvoted, but comments elsewhere on the thread (pretty far down) which provided anecdata supporting his point were not. I think the bigger question we should be asking ourselves is why people who had counter claims were
977.
▲
by
rattray
6y ago
Actually, elsewhere on the thread, a few other folks note that this behavior did not occur for them, even though the terms allow it. Unclear whether it happened in this case.
978.
▲
by
rattray
6y ago
Calling people idiots without citing sources is really unproductive. If you're right, cite sources, so folks can be educated. Trusting a random hn user who doesn't back up their claims is something even @hn_check would scoff at.
979.
▲
by
rattray
6y ago
Yeah, the gem would depend on sorbet-runtime, and the library author could configure sorbet to not run any checks in production if desired (or to have any errors log instead of throw). You can configure things like this globally and/or
980.
▲
by
rattray
6y ago
cc @dang
981.
▲
by
rattray
6y ago
See this comment elsewhere on the thread: https://news.ycombinator.com/item?id=23992485 If you charge $10, you get paid $7, and if the customer refunds, Apple removes $10 from your account – you'll be $3 worse off than
982.
▲
by
rattray
6y ago
> why not just modify the ruby syntax The Ruby syntax is too complicated to allow for changes like this to be backwards-compatible. For example, `attr_reader token: String` is valid ruby today – that's the same as `attr_reader(:toke
983.
▲
by
rattray
6y ago
https://github.com/AaronC81/sord is one attempt at this
984.
▲
by
rattray
6y ago
> you all Just to clarify, I left Stripe several months ago (and did not work on ruby infra), so we both get to cheer from the sidelines!
985.
▲
by
rattray
6y ago
Difficult questions like that are exactly why matz refused to integrate this into .rb file syntax!
986.
▲
by
rattray
6y ago
The type checker implementations (eg; Steep, Sorbet) should throw an error at `return 42`. If `some_function_that_might_not_be_declared_in_an_rbs_file` is not known, the behavior may be configurable – it could be assumed to be something lik
987.
▲
by
rattray
6y ago
I don't think Ruby 3 itself will provide a typechecker, just a standard for type definition file formats. You have to use a third-party tool, like Steep or Sorbet, to do the type-checking – and Sorbet at least does support inline type
988.
▲
by
rattray
6y ago
I wonder what percentage of TypeScript users write their types inline, and what percentage of users choose to write separate .d.ts files for each of their source files. My guess is the latter is vanishingly small – that it's pretty muc
989.
▲
by
rattray
6y ago
Thanks for clarifying! It's great that Square is funding work like this.
990.
▲
by
rattray
6y ago
I mentioned elsewhere that Sorbet (an implementation) allows inline type definitions. Its syntax for local variables is this: def foo username = T.let("heavenlyblue", String) end It's a little clunky but ge
More ›