Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dilap
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
124 ms
·
961.
▲
by
dilap
7y ago
Another reason besides those mentioned is it lets you deliver new content w/o having to deliver a new binary. This is especially important if you're targeting iOS, since there's no good way to force users to update (the best
962.
▲
by
dilap
7y ago
Right after Linux on the Desktop finally hits it big.
963.
▲
by
dilap
7y ago
It's natural that you'll get publicity and curious onlookers when doing new releases -- might be worth considering that natural audience, too, when writing the NEWS file.
964.
▲
by
dilap
7y ago
This isn't about adjusting content filters, it's actually banning tweets. Users are forced to remove them. (And fwiw, I use the unfiltered timeline view, combined w/ lists. I hate algorithmic timelines.)
965.
▲
by
dilap
7y ago
Implicit in this is that we should trust Twitter's judgement to be better than our own. Let me see all opinions and make up my own mind. This should not be a radical idea in a free society.
966.
▲
by
dilap
7y ago
I remember back in the day when Twitter were free speech absolutists. And then they made exceptions just for direct threats, and just for hate speech, and just for nazis, and... And how here we are straight-up banning speech that is contra
967.
▲
by
dilap
7y ago
I remember reading this when it was first published, in the newspapers. It was an eye-opening experience -- previous reports had all described the manifesto as rambling, incoherent, crazy, etc. It turned out to not be like that at all. It w
968.
▲
by
dilap
7y ago
> Certainly it is! There are many users who have used Emacs for decades who have only a handful of lines in their init files and no third-party packages. ... > Yes, I think you should say that instead; that would be more fair and accu
969.
▲
by
dilap
7y ago
It's way nicer than self-checkout in my opinion. A big one is there's never any line -- you just get your stuff and walk-out. Here in SF, lots of store frequently have long lines. I can't wait until full supermarkets have t
970.
▲
by
dilap
7y ago
On the one hand, you're absolutely correct that most of my problems are in 3rd party packages, my own customizations (perhaps), and their interactions. But on the other hand, emacs w/o 3rd party packages and personal customization
971.
▲
by
dilap
7y ago
Thanks, I do appreciate the tips. Like I mentioned, these are just a couple problems from a longer list. Occasionally, I pick one and (try) to solve it. If I tried to solve them all, I wouldn't have much time left for anything else. :-
972.
▲
by
dilap
7y ago
Exactly, it's hard to miss what you haven't had! In emacs, I mostly navigate around by searching, or sometimes by outlining (hide all lines that aren't a definition, move to definition, unhide). But I do remember before I bec
973.
▲
by
dilap
7y ago
No argument that emacs is getting better. But I'm not sure it will ever be what I would consider high-quality! I think it's just the nature of a huge system implemented (mostly) in a dynamically typed, dynamically scoped (!) (thou
974.
▲
by
dilap
7y ago
Even just basic text rendering in emacs is slow! Three examples: I use the windowed Mac version most of the time, and touchpad scrolling is so slow that it's basically not a reasonable way to get around a file. Compare to Sublime, wher
975.
▲
by
dilap
7y ago
As a devoted emacs addict, I can attest that plan old emacs is also pretty slow and clunky, though I could easily believe spacemacs is even worse! My dream editor would combine the flexibility of emacs w/ the speed and quality of subli
976.
▲
by
dilap
7y ago
No one knows for sure yet. The most convincing theory I've heard is that it actually is fat... But fat is an umbrella term. Saturated fat is (almost certainly) benign; eat as much (or as little) as you want. Omega-6 and omega-3 polyu
977.
▲
by
dilap
7y ago
I totally agree when designing man-made, synthetic systems. But it is interesting to consider that the most reliable, self-healing systems that exist -- animals! -- are incredibly complicated...
978.
▲
by
dilap
7y ago
Holdover from another era. Pre-internet, we had more time to spend w/ books, and it was harder to gain context to make things make sense -- a little hand-holding and digression was more appropriate then.
979.
▲
by
dilap
7y ago
If you have a struct of type T and an instance of that struct t, you can create a new instance using the syntax T { ..t } which means "a new T with all the fields set to their values in t". Inside the trait "Self"
980.
▲
by
dilap
7y ago
I think our understandings are too far apart to converge in a HN thread. Nevertheless, it has been a pleasure!
981.
▲
by
dilap
7y ago
Run my examples, they work! Python absolutely has real closures...
982.
▲
by
dilap
7y ago
> The IIFE/outer closure here is equivalent to the capture happening in rust. So this is more equivalent to the rust examples than your python example. Wait, I don't follow. Rewriting your example to only use one lambda for cla
983.
▲
by
dilap
7y ago
I still think you're correct, actually! Cf. https://news.ycombinator.com/item?id=22448289
984.
▲
by
dilap
7y ago
This is fantastic! Using it, I was finally able to write my favorite toy-problem in Rust (scoring a boggle board). Rust solution came out 25% faster than my (I thought) highly-optimized C++ solution, wow...
985.
▲
by
dilap
7y ago
You lost me, boss! Why do you think mystery_c is closer to mystery_py than mystery_b?
986.
▲
by
dilap
7y ago
Python's scope & mutability rules are idiosyncratic, but that's a distraction from what's going on here. Let's go back to steveklabnik's ancestor comment: "That's not an identical translation, the iden
987.
▲
by
dilap
7y ago
Setting aside any terminology for a second, consider this rust program: fn main() { let x = 1; let capture = || x; let x = 2; println!("{}", capture()); println!("{}", x) } This will print 1 and t
988.
▲
by
dilap
7y ago
No, the name is definitely mutable. Consider: x = 1 capture = lambda: x x = 'foo' print capture() If python were just shadowing, this would print 1. But it prints foo.
989.
▲
by
dilap
7y ago
(I have never personally used context, so I'm not so sure what the expectations are with that.) Looking at the http docs, I don't see any reason to believe setting a context for a request would control timeouts. If the complaint i
990.
▲
by
dilap
7y ago
If you imagine a spectrum of languages from sloppy-but-"easy" to precise-but-"hard", with something like Python or Ruby way off on the left and something like Rust way off on the right, Go is sitting somewhere in the mid
More ›