Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
klibertp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
80 ms
·
781.
▲
by
klibertp
5y ago
I have no idea why are you being downvoted. Your argumentation is sound and consistent, and your adversary argues in what looks like a bad faith. Calling it an (attempted) "insurection" or a "coup" just doesn't chec
782.
▲
by
klibertp
5y ago
It's possible that the same tool can be used either for, or against, democracy, depending on the environment. That's actually what most tools are like. Using cryptocurrency in an authoritarian state can help democratize the state,
783.
▲
by
klibertp
5y ago
Plug is actually very hard to learn, because its design is very simple, but knowing how to use this design to produce the effect you need requires a whole lot of mental gymnastics. A less generic design would account for, for example, "
784.
▲
by
klibertp
5y ago
Macros in Elixir are a code-generation facility that happens to be Turing-complete, nothing more. You should use it whenever code generation makes sense. Code generation comes with a set of well-known problems, for example the error message
785.
▲
by
klibertp
5y ago
Ok, let's chalk it up as a miscommunication for the most part, I'm sorry for calling your comment "very wrong". We can agree that it was incomplete/imprecise, right? It got explained, so let's move on :) But, I
786.
▲
by
klibertp
5y ago
That's still wrong: scheduling and synchronisation take time, especially synchronization, which has both an overhead and introduces uncertainty in when the lock will be released. As I said, multi-threading results in worse per core
787.
▲
by
klibertp
5y ago
Nginx is single-threaded. At least was when I last looked. Node.js similarly is single-threaded. Both boast pretty impressive performance. Being single-threaded is not a detriment to performance, rather, it most often results in faster so
788.
▲
by
klibertp
5y ago
> Webpages only load nearly instantly Which ones? HN does, but a large part of the other sites I frequent need around a second or more to load. With or without ad-blockers - some load faster with, some faster without, but they never ente
789.
▲
by
klibertp
5y ago
This really depends heavily on how you use your editor, on its specific features. For example, you qualify the "navigating to specific definition" with "within the file", but in my editor jumping to definition across mul
790.
▲
by
klibertp
5y ago
I don't see a difference between switching between files and switching between positions in a file which is longer than a page or two. In both cases the switching is not free - unless you do something about it (like spliting panes/
791.
▲
by
klibertp
5y ago
What? How is that a problem, why would it be something that's best avoided, and why simply displaying all three files at once in one of a million ways available is not a solution?
792.
▲
by
klibertp
5y ago
> It's because of components. Replying to you because this is the shortest expression of this sentiment, expressed in many different comments: No, it's not because of components. It's because of emulation of components
793.
▲
by
klibertp
5y ago
You can mark args as keyword only or positional only in the recent versions of Python (starting 3.7, maybe?)
794.
▲
by
klibertp
5y ago
> rather than as unbecoming and, frankly, immature . It's natural and normal for young people, I think. It's easy to be entranced by some idea when you're in your teens and early twenties. Older programmers, if they stay
795.
▲
by
klibertp
5y ago
No, I was just surprised - I don't know anything about NetBSD (nor pkgsrc for that matter), but I worked with FreeBSD some 15 years ago and there were plans to move to SVN even back then. A quick search told me that the switch was comp
796.
▲
by
klibertp
5y ago
From pkgsrc homepage: > You can checkout pkgsrc HEAD with CVS: ...really? Not even Subversion, but CVS?
797.
▲
by
klibertp
5y ago
> nonstandard notation with no context or definition. Which is exactly how the notation is used in many papers. You're supposed to have the context (from reading books and other papers in the area) and infer the definitions ("
798.
▲
by
klibertp
5y ago
> As a programmer, you know first hand that repeating oneself is bad practice Yes, but we're talking about the syntax/notation here, not the underlying concepts. I see it like this: imagine a function which has a single argumen
799.
▲
by
klibertp
5y ago
It's a great explanation, thank you. Yes, as a casual user I'm concerned with "one-time costs", ie. the barrier to entry. I'm glad that I'm not the only one who noticed that these costs are real and make "
800.
▲
by
klibertp
5y ago
> Mathematics has always operated this way, going back to + and -. Wikipedia says[1] the earliest use of characters resembling + and - was in 14th century. From what I remember, math books were light on special notation until (at least
801.
▲
by
klibertp
5y ago
I see using this word was a bad choice, I edited the post. What I meant was "to stay within the character set the reader already knows how to read".
802.
▲
by
klibertp
5y ago
No, that's jargon - and I explicitly said it's ok. You can read the word just fine, and you can also easily search for its meaning. Compare with this: > ...that much harder to stay ∋⌞0x21,0x7D⌝ It may be just me, but I think
803.
▲
by
klibertp
5y ago
Look at APL, K, and J. The notation based on keywords is not a problem; the problematic notations are the ones which abuse strange characters or ideograms, because they require you to re-learn the process of reading.
804.
▲
by
klibertp
5y ago
My main question here is: why is conciseness a good thing? Precision is a must, no argument here, but conciseness, to me, seems like a premature, and harmful, optimization. Is it really that much harder to stay within standard ASCII(EDIT:
805.
▲
by
klibertp
5y ago
> you can't design real-world systems that way in OOP languages In most OOP languages. Out of many different languages which implement various interpretations of how OO should work, I found Io to be the purest, and for some odd re
806.
▲
by
klibertp
5y ago
I wish I was a mod! I could easily check just how many downvotes this whole thread gave you. Now the only thing I can do is to soothe my eyes by looking at all the wonderful shades of grey here.
807.
▲
by
klibertp
5y ago
> There's empirical evidence, loads of it, that this simply isn't true. Source? > unlike every other modern language, it allows identifier shadowing 1. All dynamically typed languages allow this, all/most REPLs even f
808.
▲
by
klibertp
5y ago
> Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith. > Please don't post shallow dismissals, especially of other people's work.
809.
▲
by
klibertp
5y ago
Where did you get the idea that I expect you to care?! Honestly, I was hoping you wouldn't.
810.
▲
by
klibertp
5y ago
I just can't understand how even experienced programmers can fixate on syntax. In my - repeated tens of times by this point - experience the syntax is important for a few months (tops!) at the beginning of using a language, and then st
More ›