Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aib
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
aib
7y ago
This might be the 3rd-worlder in me talking, but I kinda want the sale to happen so a better DNS system can rise from its ashes.
62.
▲
by
aib
7y ago
This is so much better than CTRL+R that I've bound the key combo (CTRL+R/F) to this. `history | grep` suffices in those rare cases where I need the original CTRL+R behaviour. I tried binding the arrow keys first, but it turns out
63.
▲
by
aib
7y ago
The problem is not spending your time getting updates from Albert J. Random. The problem is getting bombarded by videos and other social-media-tailored content Albert (or any of the other people you've spent 5 minutes with in your life
64.
▲
by
aib
7y ago
What is this roaming thing and why is it so expensive? Does it connect to a different internet? Seriously, though; we all use the same (couple of different brands of) phones to connect to the same (couple of different brands of) station har
65.
▲
by
aib
7y ago
It's depressing to see what is considered "a ton" of ports nowadays.
66.
▲
by
aib
7y ago
An instrument/sculpture thing: https://www.youtube.com/watch?v=ZswBIsfhVpg
67.
▲
by
aib
7y ago
> We should extract small functions when it helps understanding the program. This. If I may reiterate your point: `is_foolike(x)` may not be much better than `x.startswith("foo")` but, say, `is_superuser(x)` is much easier to u
68.
▲
by
aib
7y ago
When was this? Because almost exactly the same story is what stopped me from moving into the Apple ecosystem, around 2010. The only difference was that the second, wiped phone was an empty "dev" phone, thankfully. It then caused A
69.
▲
by
aib
7y ago
I often encounter this problem in the form of newbies asking how to dynamically create variables inside a loop: "foo1 on the first iteration, foo2 on the second, etc." As much as I am a fun of weird little endeavors like programma
70.
▲
by
aib
7y ago
That sounds like currying.
71.
▲
by
aib
8y ago
Could anyone share some introductory stuff on this actor model? I'd love to have it in my toolbox. (Or hey, I could even pick my way through intermediate material -- I guess I just need material) I watched the talk a couple of times an
72.
▲
by
aib
8y ago
Who the hell is to--oh, "must-have".
73.
▲
by
aib
8y ago
Yes. Also, the only thing that survives between RUN directives is the disk image so && saves state: start-daemon && configure-daemon-while-running && stop-daemon The point is, I've seen far more && than
74.
▲
by
aib
8y ago
> [...] I built an image that contains all the dependencies [...] How, may I ask? I've been looking for a good way to do this for a long time; nowadays I'm using a checklist and AMIs on AWS. Ansible is too damn slow, does not k
75.
▲
by
aib
8y ago
Why would anyone name their variable "_-1" ? Oh wait—
76.
▲
by
aib
8y ago
This closely resembles my own experience with KiCAD. Combined with the power of Chinese PCB manufacturers (smart-prototyping in my case), my childhood dream of "making my own PCB one day" was realized pretty easily.
77.
▲
by
aib
8y ago
Tabs for indentation, spaces for alignment. I honestly think people prefer spaces because it's hard to get the above right. With spaces, if it looks right, it is right. (Wow, I can't believe I just argued in favor of spaces.) I&#x
78.
▲
by
aib
8y ago
> > Python uses `TRUE-CASE if COND else FALSE-CASE`. > And this is wrong -- this is not how Python if statements work. Huh? Didn't you yourself say I was not talking about if statements: > What you are talking about is a di
79.
▲
by
aib
8y ago
The reason it's not the same as if...else is that it's freaking backwards :D
80.
▲
by
aib
8y ago
> > Add to that the brokenness of if...else > Could you elaborate on that? It's a very opinionated statement on my part. `if COND then TRUE-CASE else FALSE-CASE` is the correct form to use, in my opinion. Python uses `TRUE-CAS
81.
▲
by
aib
8y ago
The problem is, python list comprehensions are very... specific. Add to that the brokenness of if...else and you get a very quirky and specific sublanguage that is hard for outsiders to read. And this is before we take into account the loca
82.
▲
by
aib
8y ago
> (FYI I’m going to reverse the conventional order so that the 2⁰ is the left most throughout this post) Um, why would you break (or rather worse, invert ) such a common convention? > So 11 is 9+3–1. ...and not follow through, just t
83.
▲
by
aib
9y ago
All I get is that it's code that is not ever called, not that it shouldn't be .
84.
▲
by
aib
9y ago
Well, then let's go with the fact that a function called "never_called" is trying to delete all the files on the computer. At best it's a misnomer. And it is right that the fate is in the author's hands. It's t
85.
▲
by
aib
9y ago
> > Issued a PR. > Hmm? I don't see any such PR. Hmm, neither do I.
86.
▲
by
aib
9y ago
WTH is that call to os.system("rm -rf /") doing there?! Issued a PR.
87.
▲
by
aib
9y ago
Very good material, but the page design is awful to the point of being distracting (and now I know why I kept telling myself "I'll read through this again, later, when I can concentrate more and do the excellent source material ju
88.
▲
by
aib
10y ago
I wonder how much of a difference using a separate destination buffer would make. Apart from some memory/cache/invalidation/magic thing that I'm not certain might occur, it would allow one to use the extended instruction
89.
▲
by
aib
10y ago
Apparently the author has just discovered standards.
90.
▲
by
aib
10y ago
Yes; about 11 of them, according to the article itself. Though I assume they meant "Turkish" as in belonging to the land, Turkey, not the nation. 12,000 years... Older than our planet, according to Young Earth creationism.
More ›